Skip to content

Commit cc85f77

Browse files
authored
Merge pull request #752 from control-toolbox/build_initial_guess
Release v2.0.1
2 parents ed34dae + 4f46771 commit cc85f77

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

BREAKING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
This document describes the breaking changes when migrating from **OptimalControl.jl v1.1.6** (last stable release) to **v2.0.0**.
44

5+
!!! note "v2.0.1 Compatibility"
6+
**v2.0.1** is fully backward compatible with v2.0.0. It contains documentation improvements and an export change (`build_initial_guess` is now explicitly reexported) with no breaking changes.
7+
58
## Overview
69

710
Version 2.0.0 represents a major architectural redesign of OptimalControl.jl, introducing:

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ Versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
---
99

10+
## [2.0.1] — 2026-04-13
11+
12+
### Changed
13+
14+
- **Exports**:
15+
- `build_initial_guess` is now explicitly reexported with `@reexport import` for better visibility
16+
17+
- **Documentation improvements**:
18+
- Added anchor link to "Strategy options" section in manual-solve.md for better navigation
19+
- Updated `route_to` documentation to support multi-strategy routing with positional syntax
20+
- Changed `route_to` syntax examples from keyword arguments (`route_to(exa=12)`) to positional arguments (`route_to(:exa, 12)`)
21+
- Added documentation for routing the same option to multiple strategies with different values using alternating strategy-value pairs
22+
23+
---
24+
1025
## [2.0.0] — 2026-04-03
1126

1227
**Major version release** with complete solve architecture redesign. This release introduces breaking changes from v1.1.6 (last stable release). See [BREAKING.md](BREAKING.md) for detailed migration guide.

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "OptimalControl"
22
uuid = "5f98b655-cc9a-415a-b60e-744165666948"
3-
version = "2.0.0"
3+
version = "2.0.1"
44
authors = ["Olivier Cots <olivier.cots@toulouse-inp.fr>"]
55

66
[deps]

src/imports/ctmodels.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ using CTModels: CTModels
1010
@reexport import RecipesBase: plot, plot!
1111

1212
# Initial guess
13-
import CTModels: AbstractInitialGuess, InitialGuess, build_initial_guess
13+
import CTModels: AbstractInitialGuess, InitialGuess
14+
@reexport import CTModels: build_initial_guess
1415

1516
# Serialization
1617
@reexport import CTModels: export_ocp_solution, import_ocp_solution

test/suite/reexport/test_ctmodels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function test_ctmodels()
4646
for f in (:build_initial_guess,)
4747
Test.@testset "$f" begin
4848
Test.@test isdefined(OptimalControl, f)
49-
Test.@test !isdefined(CurrentModule, f)
49+
Test.@test isdefined(CurrentModule, f)
5050
Test.@test getfield(OptimalControl, f) isa Function
5151
end
5252
end

0 commit comments

Comments
 (0)