Skip to content

Commit

Permalink
Merge pull request #308 from corenting/feat/release-4.2.0
Browse files Browse the repository at this point in the history
feat: release 4.2.0
  • Loading branch information
corenting committed Mar 6, 2024
2 parents 4eaa80d + 715a62c commit 73b353e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 4.2.0

- Add `discard` method which return a new immutabledict without the item at the given key, if present. Thanks to [@matthiasdiener](https://github.com/matthiasdiener) for the [PR #307](https://github.com/corenting/immutabledict/pull/307)

## Version 4.1.0

- Do not store cached hash value when pickling. Thanks to [@matthiasdiener](https://github.com/matthiasdiener) for the [PR #287](https://github.com/corenting/immutabledict/pull/287)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ print(my_item["a"]) # Print "value"
- Typing
- [PEP 584 union operators](https://www.python.org/dev/peps/pep-0584/)
- Keep the same signature for `copy()` as `dict` (starting with immutabledict 3.0.0), don't accept extra keyword arguments.
- Added `set`, `delete` and `discard` methods

## Donations

If you wish to support the app, donations are possible [here](https://corenting.fr/donate).
If you wish to support this library, donations are possible [here](https://corenting.fr/donate).
2 changes: 1 addition & 1 deletion immutabledict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ValuesView,
)

__version__ = "4.1.0"
__version__ = "4.2.0"

_K = TypeVar("_K")
_V = TypeVar("_V", covariant=True)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "immutabledict"
version = "4.1.0"
version = "4.2.0"
description = "Immutable wrapper around dictionaries (a fork of frozendict)"
authors = ["Corentin Garcia <corenting@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit 73b353e

Please sign in to comment.