# New Pioreactor release: 25.1.21

**URL:** <https://forum.pioreactor.com/t/new-pioreactor-release-25-1-21/634>\
**Category:** Software\
**Tags:** release\
**Created:** [January 22, 2025, 1:56am UTC](https://forum.pioreactor.com/t/new-pioreactor-release-25-1-21/634 "2025-01-22T01:56:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CamDavidsonPilon](https://forum.pioreactor.com/user_avatar/forum.pioreactor.com/camdavidsonpilon/32/3_2.png) [@CamDavidsonPilon](https://forum.pioreactor.com/u/CamDavidsonPilon)\
**Post date:** [January 22, 2025, 1:56am UTC](https://forum.pioreactor.com/t/new-pioreactor-release-25-1-21/634/1 "2025-01-22T01:56:39Z")

</div>

Happy new year! This is a big one!

> We recommend being on version 24.12.x before updating!

[Download the release update here.](https://github.com/Pioreactor/pioreactor/releases/download/25.1.21/pioreactorui_25.1.21.tar.gz)

### 25.1.21

#### Highlights

- New UI updates:

- New calibrations API. A calibration now creates a YAML file as an artifact, stored in `~/.pioreactor/calibrations`. This makes editing, creating, sharing, and transferring calibrations much easier.

- There’s also a new CLI for calibrations:

- For now, the actual calibrations are the same protocol as before, but in the near future, we’ll be updating them with new features. Adding this unified CLI and YAML format was the first step.

#### Web API changes

- New API to retrieve and set clocks on Pioreactors
  - GET `/api/units/<pioreactor_unit>/system/utc_clock`
  - GET `/unit_api/system/utc_clock`
  - POST `/api/system/utc_clock`
  - POST `/unit_api/system/utc_clock`

- New log APIs
  - GET `/api/experiments/<experiment>/recent_logs`
  - GET `/api/experiments/<experiment>/logs`
  - GET `/api/logs`
  - GET `/api/workers/<pioreactor_unit>/experiments/<experiment>/recent_logs`
  - GET `/api/workers/<pioreactor_unit>/experiments/<experiment>/logs`
  - GET `/api/units/<pioreactor_unit>/logs`
  - POST `/workers/<pioreactor_unit>/experiments/<experiment>/logs`

- New calibrations APIs
  - GET `/api/workers/<pioreactor_unit>/calibrations`
  - GET `/unit_api/calibrations`
  - GET `/unit_api/active_calibrations`
  - GET `/api/workers/<pioreactor_unit>/calibrations/<device>`
  - GET `/unit_api/calibrations/<device>`
  - PATCH `/api/workers/<pioreactor_unit>/active_calibrations/<device>/<cal_name>`
  - PATCH `/unit_api/active_calibrations/<device>/<cal_name>`
  - DELETE `/api/workers/<pioreactor_unit>/active_calibrations/<device>/<cal_name>`
  - DELETE `/api/workers/<pioreactor_unit>/calibrations/<device>/<cal_name>`
  - DELETE `/unit_api/active_calibrations/<device>/<cal_name>`
  - DELETE `/unit_api/calibrations/<device>/<cal_name>`
  - POST `/unit_api/calibrations/<device>`

- New API for plugins
  - GET `/api/units/<pioreactor_unit>/plugins/installed`
  - PATCH `/api/units/<pioreactor_unit>/plugins/install`
  - PATCH `/api/units/<pioreactor_unit>/plugins/uninstall`

- Changed the `settings` API (see docs).
- New `/api/units` that returns a list of units (this is workers & leader). If leader is also a worker, then it’s identical to `/api/workers`
- New `/api/experiments/<experiment>/historical_worker_assignments` that stores historical assignments to experiments
- New Path API for getting the dir structure of `~/.pioreactor`:
  - `/unit_api/system/path/<path>`

### Enhancements

- new SQL table for `historical_experiment_assignments` that stores historical assignments to experiments.
- UI performance improvements
- Better terminal plots
- Customs charts in the UI are now downsampled like the other charts.
- More logging in experiment profiles

### Breaking changes

- `use_calibration` under `od_reading.config` is deprecated. Use the calibrations “active” state instead.

- **Note** : by default, all calibrations are not active, even if they were “current” before. You must set them to be active.

- removed Python library `diskcache`.

- any stirring calibrations needs to be redone. On the command line, run `pio calibration run --device stirring` to start the calibration assistant.

- fixed typo `utils.local_persistant_storage` to `utils.local_persistent_storage`.

- Kalman Filter database table is no longer populated. There is a way to re-add it, lmk.

- moved intermittent cache location to `/tmp/pioreactor_cache/local_intermittent_pioreactor_metadata.sqlite`. This also determined by your configuration, see `[storage]`.

- removed `pioreactor.utils.gpio_helpers`

- removed `calibrations` export dataset. Use the export option on the /Calibrations page instead.

- persistent storage is now on single sqlite3 database in `/home/pioreactor/.pioreactor/storage/local_persistent_pioreactor_metadata.sqlite`. This is configurable in your configuration.

- When checking for calibrations in custom Dosing automations, users may have added:

### Bug fixes

- Fix PWM3 not cleaning up correctly
- Fixed Stirring not updating to best DC % when using a calibration after changing target RPM
- Fixed a bug that could cause OD calibrations to map a small voltage value to a max OD.
- Fixed bug where dataset exports were not sorted correctly.
- em-dashes are now replaced in config.ini on save.
- Fixed a bug where errors on the Experiment Profiles page weren’t properly displayed.

## How up update

> **[Updating the Pioreactor software | Pioreactor Docs](https://docs.pioreactor.com/user-guide/updating-software#method-2-update-using-a-zip-file-and-the-ui)**
>
> We publish new software occasionally that fixes bugs, adds new features, and improves performance. You can update your Pioreactor(s) to the latest software from the UI, or from the command line. We highly recommend keeping your Pioreactor software up...

## Known issues:

- 3rd party plugins can’t get calibrations to the UI. This is a known issue.
- If seeing errors like “attempt to write a readonly database”, try:

```auto
chown -R pioreactor:www-data /home/pioreactor/.pioreactor/storage
chmod -R 770 /home/pioreactor/.pioreactor/storage

```

---

<div class="post-metadata">

**Author:** ![CamDavidsonPilon](https://forum.pioreactor.com/user_avatar/forum.pioreactor.com/camdavidsonpilon/32/3_2.png) [@CamDavidsonPilon](https://forum.pioreactor.com/u/CamDavidsonPilon)\
**Post date:** [January 22, 2025, 3:26am UTC](https://forum.pioreactor.com/t/new-pioreactor-release-25-1-21/634/2 "2025-01-22T03:26:27Z")

</div>

Pinned on January 22, 2025, 3:26am UTC



---

<div class="post-metadata">

**Author:** ![noahsprent](https://forum.pioreactor.com/user_avatar/forum.pioreactor.com/noahsprent/32/383_2.png) [@noahsprent](https://forum.pioreactor.com/u/noahsprent)\
**Post date:** [January 22, 2025, 1:19pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-25-1-21/634/3 "2025-01-22T13:19:16Z")

</div>

Awesome, thanks Cam! Haven’t thought that much about calibrations before. I am currently calibrating a pH probe using 3rd party software and then adding the parameters in pioreactor settings. Seems like this is something I could do within pioreactor, but there isn’t yet a way to see it in the UI?

---

<div class="post-metadata">

**Author:** ![CamDavidsonPilon](https://forum.pioreactor.com/user_avatar/forum.pioreactor.com/camdavidsonpilon/32/3_2.png) [@CamDavidsonPilon](https://forum.pioreactor.com/u/CamDavidsonPilon)\
**Post date:** [January 22, 2025, 1:25pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-25-1-21/634/4 "2025-01-22T13:25:08Z")

</div>

H, not in the UI, yet. You would have to do some [coding](https://docs.pioreactor.com/developer-guide/adding-calibration-type) currently. There’s also a bug where third-party calibrations won’t show up in the UI yet.

---

<div class="post-metadata">

**Author:** ![noahsprent](https://forum.pioreactor.com/user_avatar/forum.pioreactor.com/noahsprent/32/383_2.png) [@noahsprent](https://forum.pioreactor.com/u/noahsprent)\
**Post date:** [January 22, 2025, 1:29pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-25-1-21/634/5 "2025-01-22T13:29:31Z")

</div>

Oh thanks! Docs great as always 🫡
