Skip to content

Releases: aviramha/ormsgpack

0.3.5

05 Aug 18:12
Compare
Choose a tag to compare

0.3.5 - 5/8/2021

Fixed

  • Fixed clippy warnings for semicolon in macro.

Misc

  • Bumped serde.rs

0.3.4

27 Jul 12:07
89625b5
Compare
Choose a tag to compare

0.3.4 - 23/7/2021

Fixed

  • Fixed ormsgpack.pyi support of str as input for unpackb.

Misc

  • Fixed Windows CI/CD.

0.3.3

23 Jul 07:12
Compare
Choose a tag to compare

0.3.3 - 23/7/2021

Misc

  • Refactored adding objects to the module, creating a __all__ object similar to the way PyO3 creates. This solves an issue with upgrading to new maturin version.
  • Changed < Py3.7 implementation to use automatic range inclusion.
  • Added test to validate correct Python method flags are used on declare.
  • Changed to use PyO3 configurations instead of our own. PR #25 by @pejter.

0.3.2

13 Jul 12:10
Compare
Choose a tag to compare

0.3.2 - 13/7/2021

Fixed

  • Fix memory leak serializing datetime.datetime with tzinfo. (Copied from orjson)

Changed

  • Update dependencies, PyO3 -> 0.14.1.

Misc

  • Setup dependabot.

0.3.1

25 Jun 16:56
Compare
Choose a tag to compare

Changed

  • packb of maps and sequences is now almost 2x faster as it leverages known size. PR #18 by @ijl.

Misc

  • Added scripts/bench_target.py and scripts/profile.sh for easily benchmarking and profiling. Works only on Linux. PR #17 by @ijl.

Re-release as cargo.toml wasn't updated hence not uploaded to PyPI.

0.3.0

13 Jun 13:08
Compare
Choose a tag to compare

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

12 Jun 14:52
Compare
Choose a tag to compare

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

10 Jun 09:25
Compare
Choose a tag to compare

Added

  • Add support for serializing pydantic's BaseModel instances using ormsgpack.OPT_SERIALIZE_PYDANTIC.

Fixed

  • orjson.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 assymetrical packb/unpackb.

Misc

  • Added --no-index to pip install ormsgpack to avoid installing from PyPI on CI.

0.1.0 - Initial Release

09 Jun 15:11
f62786c
Compare
Choose a tag to compare

First release of ormsgpack. Don't use unpackb #2