Skip to content

v0.9.4

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 31 Dec 04:25
v0.9.4
e0bce96

[0.9.4] - 2024-12-31 ([0.4.0] for rsonpath-syntax)

Library

  • Serde support for MainEngine and JsonPathQuery in rsonpath-syntax.
    • Implemented serde::Serialize and serde::Deserialize for MainEngine in rsonpath-lib,
      and for JsonPathQuery and its consituent types in rsonpath-syntax.
      The serde dependency is guarded behind the optional serde feature.
    • The serialization format for rsonpath-lib is not stable, as the Automaton
      is expected to evolve. Thus, serialization includes a version
      and deserialization will fail if the version disagrees.
    • The format in rsonpath-syntax is expected to be stable, but no guarantees before 1.0.0.
    • Also added snapshot tests for serialization based on insta.
  • Added the MainEngine::automaton function to retrieve a reference to the compiled query.
  • Removed the arbitrary feature from rsonpath-lib as it didn't actually do anything anymore.

Dependencies

  • serde (1.0.217) is now an optional dependency for rsonpath, rsonpath-lib, and rsonpath-syntax