Ormsgpack

Latest version: v1.5.0

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

Scan your dependencies

Page 5 of 5

0.3.0

Added
- `unpackb` now accepts keyword argument `option` with argument `OPT_NON_STR_KEYS`. This option will let ormsgpack
unpack dictionaries with non-str keys.
Be aware that this option is considered unsafe and disabled by default in msgpack due to possibility of HashDoS.
- `packb` now is able to pack dictionaries with tuples as keys. `unpackb` is able to unpack such dictionaries. Both requires
`OPT_NON_STR_KEYS`.
Misc
- Grouped benchmarks in a pattern that should make more sense.
- Added pydantic docs to `README.md`
- Added graphs and benchmark results.

0.2.1

Fixed
- Depth limit is now enforced for `ormsgpack.unpackb` - function should be safe for use now.
Removed
- Removed `OPT_SERIALIZE_UUID` from ormsgpack.pyi as it doesn't exist.
Misc
- Added `scripts/test.sh` for running tests.
- Added benchmarks, modified scripts to match new layout.

0.2.0

Added
- Add support for serializing pydantic's `BaseModel` instances using `ormsgpack.OPT_SERIALIZE_PYDANTIC`.
Fixed
- `ormsgpack.packb` with `option` argument as `ormsgpack.OPT_NON_STR_KEYS` serializes bytes key into tuple of integers
instead of using bin type. This also resulted in asymmetrical packb/unpackb.
Misc
- Added `--no-index` to `pip install ormsgpack` to avoid installing from PyPI on CI.

0.1.0

First version, changed orjson to ormsgpack.

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.