Shoobx-immutable

Latest version: v1.1.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.1

------------------

- Nothing changed yet.

1.1.0

------------------

- Introduced `__im_version__` to `IRevisionedImmutable` and use it instead of
timestamps to create a chronological order of revisions. (Timestamps might be
slightly different accross servers and cause bad history.)

- Do not duplicate implementation of `__im_update__()` in
`RevisionedImmutableBase`. Use `__im_[before|after]_update__()` to do all
revision-related tasks.

- Tweak `copy()` implementation for `ImmutableList` and `ImmutableDict`.

- Properly implement `ImmutableDict.fromkeys()`.

1.0.5

------------------

- Fix `ImmutableList.copy()` to just work when locked. This allows for only
making a shallow clone, since any update will cause a deep copy and thus
immutability is guaranteed.

- Implemented `ImmutableDict.copy()`. Raise error on `ImmutableDict.fromkeys()`.

- `ImmutableContainer` also needs an updated `_pj_column_fields` list.

- Minor test fixes.

- Minor documentation fixes and code comment enhancements.

1.0.4

------------------

- Add API documentation.

1.0.3

------------------

- Moved documentation to Read the Docs.

1.0.2

------------------

- Add some readable documentation.

- Added high-level `shoobx.immutable.update(im, *args, **kw)` function.

- Implemented `__repr__()` for `ImmutableSet` to mimic behavior of
`ImmutableDict` and `ImmutableList`.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.