From 5a41fd8c18956cbe92983cbf53d72dc34d0246bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= Date: Tue, 19 Sep 2023 12:35:00 +0200 Subject: [PATCH] docs: Update changelog for release --- .pre-commit-config.yaml | 46 ----------------------------------------- CHANGELOG.md | 10 +++++++++ 2 files changed, 10 insertions(+), 46 deletions(-) delete mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index f39da3b..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,46 +0,0 @@ -fail_fast: true -repos: - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.270 - hooks: - - id: ruff - args: - - --fix - - - repo: https://github.com/psf/black - rev: 23.3.0 - hooks: - - id: black - - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.9-for-vscode - hooks: - - id: prettier - - - repo: https://github.com/markdownlint/markdownlint - rev: v0.12.0 - hooks: - - id: markdownlint - args: - - "--rules" - - "~MD002,~MD007,~MD013,~MD024,~MD026,~MD029,~MD033,~MD036" - - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 - hooks: - - id: check-added-large-files - - id: check-yaml - - id: debug-statements - - id: end-of-file-fixer - - id: mixed-line-ending - args: ["--fix=lf"] - - id: trailing-whitespace - - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 - hooks: - - id: mypy - additional_dependencies: - - anyio == 3.6.2 - - pytest == 7.2.0 - - types-paho-mqtt == 1.6.0.6 diff --git a/CHANGELOG.md b/CHANGELOG.md index 19285f1..23fa8d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [1.2.1] - 2023-09-19 + +### Changed + +- Deprecate `connect` and `disconnect` in favor of direct calls to `__aenter__` and `__aexit__`. (@empicano in #247) + +### Fixed + +- Release lock in `__aexit__` only if acquired (@spacemanspiff2007 in #249) + ## [1.2.0] - 2023-09-03 ### Changed