Skip to content

Commit 32fc476

Browse files
committed
Release 0.11.4
1 parent c2db745 commit 32fc476

3 files changed

Lines changed: 54 additions & 4 deletions

File tree

.github/workflows/CI.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,55 @@ jobs:
4949
with:
5050
files: lcov.info
5151
token: ${{ secrets.CODECOV_TOKEN }}
52+
testoldest:
53+
name: Test Lower Compat Bounds
54+
runs-on: ubuntu-latest
55+
# Only run on release branches: this pins the *registered* ecosystem
56+
# (including QuantumPropagators) to the lowest versions allowed by the
57+
# `[compat]` bounds in Project.toml. A consistent solution generally only
58+
# exists for a released version, not while a breaking sibling version is
59+
# still under development on `master`/`dev`.
60+
if: startsWith(github.ref, 'refs/heads/release-')
61+
# Informational only: a failure here must not fail the overall workflow.
62+
continue-on-error: true
63+
steps:
64+
- uses: actions/checkout@v6
65+
- uses: julia-actions/setup-julia@v3
66+
with:
67+
# Oldest supported Julia (the `julia` compat lower bound).
68+
version: '1.9'
69+
- uses: julia-actions/cache@v3
70+
- name: "Instantiate test environment with oldest dependencies"
71+
shell: julia --color=yes --project=test {0}
72+
run: |
73+
import Pkg
74+
# The QuantumControlRegistry hosts org package versions not (yet) in General.
75+
Pkg.Registry.add(Pkg.RegistrySpec(name="General"))
76+
Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/JuliaQuantumControl/QuantumControlRegistry.git"))
77+
Pkg.Registry.update()
78+
# Dev-install the package under test from the current checkout. On
79+
# Julia < 1.11 the `[sources]` entry in test/Project.toml is ignored,
80+
# so QuantumControl would otherwise be taken from the registry.
81+
Pkg.develop(Pkg.PackageSpec(path=pwd()))
82+
# Pin the registered dependencies to the oldest versions allowed by the
83+
# `[compat]` bounds in Project.toml. Sibling org packages (GRAPE,
84+
# Krotov, ...) are left to the resolver, which selects versions
85+
# consistent with the pinned QuantumPropagators floor.
86+
Pkg.pin([
87+
Pkg.PackageSpec(name="ChainRulesCore", version="1.0.0"),
88+
Pkg.PackageSpec(name="FileIO", version="1.0.0"),
89+
Pkg.PackageSpec(name="FiniteDifferences", version="0.12.0"),
90+
Pkg.PackageSpec(name="IOCapture", version="0.2.4"),
91+
Pkg.PackageSpec(name="JLD2", version="0.4.0"),
92+
Pkg.PackageSpec(name="QuantumPropagators", version="0.8.2"),
93+
Pkg.PackageSpec(name="Zygote", version="0.6.0"),
94+
])
95+
Pkg.precompile()
96+
Pkg.status()
97+
- name: "Run tests"
98+
shell: julia --color=yes --project=test --depwarn="yes" --check-bounds="yes" {0}
99+
run: |
100+
include(joinpath(pwd(), "test", "runtests.jl"))
52101
docs:
53102
name: Documentation
54103
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SPDX-License-Identifier: MIT OR CC0-1.0
99
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1010
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1111

12-
## [Unreleased]
12+
## [v0.11.4] — 2026-06-16
1313

1414
* Added: `J_a_avg_zero`, a running cost that penalizes a non-zero average pulse value [[#109]]
1515
* Added: A derivative for `GuidedAmplitude` [[#107]]
@@ -120,7 +120,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
120120

121121
Initial public release.
122122

123-
[Unreleased]: https://github.com/JuliaQuantumControl/QuantumControl.jl/compare/v0.11.3..HEAD
123+
[Unreleased]: https://github.com/JuliaQuantumControl/QuantumControl.jl/compare/v0.11.4..HEAD
124+
[v0.11.4]: https://github.com/JuliaQuantumControl/QuantumControl.jl/releases/tag/v0.11.4
124125
[v0.11.3]: https://github.com/JuliaQuantumControl/QuantumControl.jl/releases/tag/v0.11.3
125126
[v0.11.2]: https://github.com/JuliaQuantumControl/QuantumControl.jl/releases/tag/v0.11.2
126127
[v0.11.1]: https://github.com/JuliaQuantumControl/QuantumControl.jl/releases/tag/v0.11.1

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "QuantumControl"
22
uuid = "8a270532-f23f-47a8-83a9-b33d10cad486"
33
authors = ["Michael Goerz <mail@michaelgoerz.net>"]
4-
version = "0.11.3+dev"
4+
version = "0.11.4"
55

66
[deps]
77
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
@@ -33,6 +33,6 @@ JLD2 = "0.4, 0.5, 0.6"
3333
LinearAlgebra = "1"
3434
Logging = "1"
3535
Printf = "1"
36-
QuantumPropagators = ">=0.8.2"
36+
QuantumPropagators = "0.8.2, 0.9"
3737
Zygote = "0.6, 0.7"
3838
julia = "1.9"

0 commit comments

Comments
 (0)