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

Bump utils to 94.0.1 #866

Merged
merged 4 commits into from
Jan 28, 2025
Merged

Bump utils to 94.0.1 #866

merged 4 commits into from
Jan 28, 2025

Conversation

quis
Copy link
Member

@quis quis commented Jan 24, 2025

94.0.1

  • Add ruff.toml to MANIFEST.in

94.0.0

  • version_tools.copy_config will now copy ruff.toml instead of pyproject.toml. Apps should maintain their own pyproject.toml, if required
  • Replaces black formatter with ruff format
  • Upgrades ruff to version 0.9.2

93.2.1

  • Replaces symlink at ./pyproject.toml with a duplicate file

93.2.0

  • logging: add verbose eventlet context to app.request logs if request_time is over a threshold

93.1.0

  • Introduce NOTIFY_LOG_LEVEL_HANDLERS config variable for separate control of handler log level

93.0.0

  • BREAKING CHANGE: logging: all contents of logging/__init__.py have been moved to logging/flask.py because they all assume a flask(-like) environment and this way we don't implicitly import all of flask etc. every time anything under logging is imported.
  • Adds request_cpu_time to app.request logs when available.
  • Adds ability to track eventlet's switching of greenlets and annotate app.request logs with useful metrics when the flask config parameter NOTIFY_EVENTLET_STATS is set and the newly provided function account_greenlet_times is installed as a greenlet trace hook.

Complete changes: alphagov/notifications-utils@92.1.1...94.0.1

quis added 4 commits January 24, 2025 12:38
 ## 94.0.1

* Add `ruff.toml` to `MANIFEST.in`

 ## 94.0.0

* `version_tools.copy_config` will now copy `ruff.toml` instead of `pyproject.toml`. Apps should maintain their own `pyproject.toml`, if required
* Replaces `black` formatter with `ruff format`
* Upgrades `ruff` to version 0.9.2

 ## 93.2.1

* Replaces symlink at `./pyproject.toml` with a duplicate file

 ## 93.2.0

* logging: add verbose eventlet context to app.request logs if request_time is over a threshold

 ## 93.1.0

* Introduce `NOTIFY_LOG_LEVEL_HANDLERS` config variable for separate control of handler log level

 ## 93.0.0

* BREAKING CHANGE: logging: all contents of `logging/__init__.py` have been moved to `logging/flask.py` because they all assume a flask(-like) environment and this way we don't implicitly import all of flask etc. every time anything under `logging` is imported.
* Adds `request_cpu_time` to `app.request` logs when available.
* Adds ability to track eventlet's switching of greenlets and annotate `app.request` logs with useful metrics when the flask config parameter `NOTIFY_EVENTLET_STATS` is set and the newly provided function `account_greenlet_times` is installed as a greenlet trace hook.

***

Complete changes: alphagov/notifications-utils@92.1.1...94.0.1
@quis quis force-pushed the bump-utils-94.0.1 branch from f7574be to ebe9519 Compare January 24, 2025 12:38
@quis quis merged commit d4e9684 into main Jan 28, 2025
3 checks passed
@quis quis deleted the bump-utils-94.0.1 branch January 28, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants