Skip to content

Commit

Permalink
Merge pull request #259 from lsst-sqre/tickets/DM-44758
Browse files Browse the repository at this point in the history
DM-44758: Prepare 6.0.0 release
  • Loading branch information
rra authored Jun 10, 2024
2 parents e62bcaa + 6c42058 commit e462eea
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 21 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,25 @@ Changes for the upcoming release can be found in [changelog.d](https://github.co

<!-- scriv-insert-here -->

<a id='changelog-6.0.0'></a>
## 6.0.0 (2024-06-10)

### Backwards-incompatible changes

- Drop `safir.database.create_sync_session`. This was only used by services that used Dramatiq for task management, since Dramatiq is sync-only. Services based on Safir should switch to arq and use only async database connections.
- Drop `DatabaseSessionDependency.override_engine`. This was used for Gafaelfawr to share a database engine across all tests for speed, but this technique breaks with current versions of pytest-asyncio and is no longer used or safe to use.

### New features

- Allow the database password to be passed to `create_database_engine`, `create_sync_session`, and `DatabaseSessionDependency.initialize` as a Pydantic `SecretStr`.
- Add new function `safir.datetime.parse_timedelta`, which parses a human-friendly syntax for specifying time durations into a Python `datetime.timedelta`.
- Add support for `gs` URLs to `safir.gcs.SignedURLService`.
- Support pickling of `SlackException` so that subclasses of it can be thrown by arq workers and unpickled correctly when retrieving results.

### Bug fixes

- Correctly honor the `default_queue_name` argument to `RedisArqQueue.initialize`.

<a id='changelog-5.2.2'></a>
## 5.2.2 (2024-03-15)

Expand Down
3 changes: 0 additions & 3 deletions changelog.d/20240520_163147_rra_DM_44444.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240521_152707_rra_DM_44444.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240530_173040_rra_DM_44606.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240605_152335_rra_DM_44606_queue.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240605_173149_rra_DM_44606_queue.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240607_112935_rra_DM_44720.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240610_113548_rra_DM_44758.md

This file was deleted.

0 comments on commit e462eea

Please sign in to comment.