Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-44758: Prepare 6.0.0 release #259

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.