Skip to content

Releases: chanced/jsonptr

v0.4.0

31 May 17:04
c1961df
Compare
Choose a tag to compare

Added

  • Adds CHANGELOG.md which will be better upkept moving forward.
  • Adds MaybePointer to assist with deserialization which should not fail fast.

Changed

  • Pointer::new now accepts a generic list, so &["example"] can be replaced by ["example"]. For untyped, empty slices (i.e. Pointer::new(&[])), use Pointer::default().
  • std is now enabled by default.

Removed

  • Removes optional MalformedPointerError from Pointer.

v0.1.0

12 Jun 17:41
Compare
Choose a tag to compare

This (as well as 0.0.8) both fix a critical issue with regard to root pointers being incorrectly represented as "/" rather than "".

  • Fixes root pointer representation "" rather than the erroneous "/"
  • Fixes an issue where encoded tokens were not being resolved properly

v0.0.6

09 Jun 03:47
Compare
Choose a tag to compare
  • Fixes the pointer in UnresolvableError
  • Adds documentation.
  • Brings resolve and resolve_mut inline
  • Cleans up the parsing a bit
  • Adds a count (usize) field to Pointer so it does not need to be recomputed.