Skip to content

Commit 76e2eca

Browse files
authored
Prepare v0.9.0 (#204)
* Deprecate a whole bunch more * Update for v0.9.0
1 parent d573472 commit 76e2eca

22 files changed

+93
-161
lines changed

docs/source/index.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11

22
.. warning::
33

4-
**Important Notice for upcoming v1.0.0 release**
4+
**Important notice for the upcoming v1.0.0 release**
55

6-
Major changes are expected in the v1.0.0 release of Blop. We are removing the older way of using agents and performing optimization in favor of using the Ax agent backend. The legacy agent interface will be deprecated, and users are encouraged to migrate to the new `blop.ax.Agent` interface for all optimization workflows. Please refer to the :doc:`tutorials`, :doc:`how-to-guides`, and :doc:`explanation` sections for the new interface.
6+
Major changes are coming in the v1.0.0 release of Blop. We are removing the older way of using agents and performing optimization in favor of using `Ax <https://ax.dev>`_ as the backend for optimization and experiment tracking. The legacy agent interface is now deprecated, and users are encouraged to migrate to the new `blop.ax.Agent` interface for all optimization workflows. Please refer to the :doc:`tutorials`, :doc:`how-to-guides`, and :doc:`explanation` sections for the new interface.
7+
8+
Furthermore, Blop is moving to a more modular architecture. The core architecture is now protocol-based, allowing users to plug in their own optimization backends, acquisition plans, and evaluation functions.
79

8-
Ax will be the primary backend for optimization and experiment tracking. We will also be adding support for the `gest-api <https://github.com/campa-consortium/gest-api>`_ standard with integration into Ax experiment tracking.
10+
Ax will have first-class support as the default backend for optimization and experiment tracking.
911

1012

1113
What is Blop?

docs/source/reference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ API Reference
99
reference/dof-constraint.rst
1010
reference/objective.rst
1111
reference/outcome-constraint.rst
12+
reference/plans.rst
1213
reference/protocols.rst

docs/source/reference/plans.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Plans
2+
=====
3+
4+
.. autofunction:: blop.plans.optimize
5+
6+
.. autofunction:: blop.plans.optimize_step
7+
8+
.. autofunction:: blop.plans.default_acquire

docs/source/reference/protocols.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ AcquisitionPlan
1010
:show-inheritance:
1111
:inherited-members:
1212
:special-members: __call__
13-
:no-index:
1413

1514
EvaluationFunction
1615
------------------
@@ -29,7 +28,6 @@ Optimizer
2928
:undoc-members:
3029
:show-inheritance:
3130
:inherited-members:
32-
:no-index:
3331

3432
OptimizationProblem
3533
-------------------
@@ -39,4 +37,3 @@ OptimizationProblem
3937
:undoc-members:
4038
:show-inheritance:
4139
:inherited-members:
42-
:no-index:

docs/source/release-history.rst

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22
Release History
33
===============
44

5+
v0.9.0 (2025-12-08)
6+
-------------------
7+
8+
What's Changed
9+
..............
10+
* Protocols for optimization with Bluesky by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/185
11+
* Evaluation functions by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/186
12+
* Standard plans for optimization that work with protocols by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/187
13+
* Refactor Ax agent to use new protocols by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/188
14+
* Remove default evaluation options by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/189
15+
* Direct AxOptimizer protocol impelementation by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/191
16+
* Remove unused Ax helpers by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/193
17+
* Simplified DOF classes for Ax backend by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/195
18+
* Simpler Objective class, ScalarizedObjective, and OutcomeConstraints by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/196
19+
* Protocol explanation by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/192
20+
* New DOFConstraint class and Agent update by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/198
21+
* Agent composition over inheritance by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/199
22+
* Add how-to-guide for outcome constraints by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/200
23+
* Extensive updates to reference docs by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/201
24+
* Change furo theme -> pydata-sphinx-theme by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/202
25+
* Update docstrings with much more detail by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/203
26+
27+
28+
`Full Changelog <https://github.com/NSLS-II/blop/compare/v0.8.1...v0.9.0>`__
29+
530
v0.8.1 (2025-11-06)
631
-------------------
732

@@ -78,16 +103,16 @@ What's Changed
78103
* Fix documentation CI error by `@jennmald <https://github.com/jennmald>`_ in https://github.com/NSLS-II/blop/pull/84
79104
* Fix fitness and constraint plots by `@jennmald <https://github.com/jennmald>`_ in https://github.com/NSLS-II/blop/pull/80
80105
* Refactor: Make agent default compatible with Bluesky Adaptive by `@maffettone <https://github.com/maffettone>`_ in https://github.com/NSLS-II/blop/pull/86
81-
* Ruff linter support; Removal of black, flake8, and isort by `@thomashopkins32 <https://github.com/thomashopkins32>`_ in https://github.com/NSLS-II/blop/pull/95
82-
* Add type hints by `@thomashopkins32 <https://github.com/thomashopkins32>`_ in https://github.com/NSLS-II/blop/pull/87
83-
* Remove Python 3.9 support by `@thomashopkins32 <https://github.com/thomashopkins32>`_ in https://github.com/NSLS-II/blop/pull/101
106+
* Ruff linter support; Removal of black, flake8, and isort by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/95
107+
* Add type hints by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/87
108+
* Remove Python 3.9 support by `@thopkins32 <https://github.com/thopkins32>`_ in https://github.com/NSLS-II/blop/pull/101
84109
* Add XRT demo to blop tutorials by `@jennmald <https://github.com/jennmald>`_ in https://github.com/NSLS-II/blop/pull/102
85110

86111
New Contributors
87112
................
88113
* `@jennmald <https://github.com/jennmald>`_ made their first contribution in https://github.com/NSLS-II/blop/pull/84
89114
* `@maffettone <https://github.com/maffettone>`_ made their first contribution in https://github.com/NSLS-II/blop/pull/86
90-
* `@thomashopkins32 <https://github.com/thomashopkins32>`_ made their first contribution in https://github.com/NSLS-II/blop/pull/95
115+
* `@thopkins32 <https://github.com/thopkins32>`_ made their first contribution in https://github.com/NSLS-II/blop/pull/95
91116

92117
`Full Changelog <https://github.com/NSLS-II/blop/compare/v0.7.2...v0.7.3>`__
93118

examples/benchmark.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

examples/prepare_bluesky.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

examples/prepare_chx_shadow.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

examples/prepare_tes_shadow.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

examples/prepare_tes_srw.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)