Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jan 26, 2025
1 parent 66a8527 commit 265bbfd
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
39 changes: 36 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,42 @@
### Upcoming


#### Enhancements
- Improved chart colors in the UI
- The OD reading CLI has a new option, `--snapshot`, that will start the job, take a single reading, and exit.
- A new CLI for pumps: `pio run pumps`. Add pumps as options:
```
pio run pumps --media 1 --waste 2
```
will add 1ml of media, and remove 2ml. The order is important! You can specify the same pump many times:
```
pio run pumps --waste 2 --media 1 --waste 2
```
- support for ??


#### Web API changes

- GET `/unit_api/jobs/running/<job>` introduced

#### Breaking changes
- plugins should migrate from `click_some_name` to autodiscover plugins, to importing `run`. Example:
```
import click
from pioreactor.cli.run import run
...
@run.command("my_name")
@click.option("--my_option")
def my_name(my_option):
...
```


#### Bug fixes
- fixed ui not showing 3p calibrations
- experiment profiles start now use the unit_api directly. I think this mitigates the huey workers stampeding on each other when try to start many jobs.
- improved chart colors in the UI
- /jobs/running/<job>
- od_reading snapshot

### 25.1.21

Expand Down
4 changes: 3 additions & 1 deletion pioreactor/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ def run() -> None:
run.add_command(click_od_blank)
run.add_command(click_self_test)

# TODO: this only adds to `pio run` - what if users want to add a high level command? Examples?
for plugin in plugin_management.get_plugins().values():
for possible_entry_point in dir(plugin.module):
if possible_entry_point.startswith("click_"):
print(
"The `click` API is deprecated and will stop working in the future. You should update your plugins."
)
run.add_command(getattr(plugin.module, possible_entry_point))

if am_I_leader():
Expand Down

0 comments on commit 265bbfd

Please sign in to comment.