Skip to content

Latest commit

 

History

History
70 lines (58 loc) · 2.87 KB

File metadata and controls

70 lines (58 loc) · 2.87 KB

CHANGELOG

Release 3.1.1

  • Change: Lower Android minSdk from 30 to 21

Release 3.1.0

  • Add: structural equality check for NormalizedJsonPath and NormalizedJsonPathSegment

Release 3.0.1

  • Fix: Validates whether the whole string has been consumed

Release 3.0.0

  • BREAKING CHANGES:
    • Removed template type from JsonPathFunctionExtension
    • JsonPathQuery is no longer an interface
  • DEPRECATIONS
    • Moved dependency management from JsonPathDependencyManager to JsonPath.Companion
    • Renamed JsonPathFunctionExtension.evaluate to JsonPathFunctionExtension.invoke
  • Change: JsonPathQuery now exposes the compiled selectors
  • Add: JsonPathQuery.isSingularQuery
  • Add: NormalizedJsonPath.plus for simplified api
  • Add: NormalizedJsonPath.toShorthandNameSegmentNotation for shorthand representation of name segments
  • Add: NormalizedJsonPathSegment.NameSegment.toShorthandNotation for shorthand representation

Release 2.4.1

  • Introduce dedicated Android artefact targeting JDK 1.8
  • Kotlin 2.1.0

Release 2.4.0

  • ANTLR 1.0.0 Stable
  • Kotest Snapshot to get iOS tests working again
  • Rename token and expression names to avoid collisions with keywords

Release 2.3.0:

  • Kotlin 2.0.20 (binary-incompatible change, makes iOS Tests fail too)
  • Serialization 1.7.2
  • Antlr-Kotlin 1.0.0-RC5
  • add tests
  • auto-generate Kotlin sources from Antlr-files on every Gradle invocation

Release 2.2.0:

  • Rebranding to JsonPath4K
    • change Maven coordinates to at.asitplus:jsonpath4k
    • publish relocation POM for Version 2.0.0
  • Dependency Updates
    • Update to Kotlin 2.0.0
    • Update to Kotest 5.9.1
    • Update to kotlinx-serialization 1.7.1
    • Gradle 8.9
    • Antlr-Kotlin 1.0.0-RC4

Release 2.1.0:

  • Add: Serialization for NormalizedJsonPathSegment, NormalizedJsonPath and NodeListEntry

Release 2.0.0:

  • BREAKING CHANGE to JsonPathFunctionExtension: breaks specification syntax for function extensions, but provides simpler definition syntax.
    • The function extensions no longer hold a name. A name must only be provided when adding a function extension to a repository
    • The function extension classes are no longer inheritable. Instances must be created from constructors.
  • BREAKING CHANGE to JsonPathFunctionExtensionRepository:
    • Changed addExtension:
      • Takes an additional parameter for the function extension name
      • The function extension is now constructed only when necessary, which has been changed mostly because the definition syntax now feels cleaner.
  • BREAKING CHANGE to JsonPathCompiler:
    • Changed compile: Takes the function extension retriever as second argument now

Release 1.0.0:

  • Add JsonPath: JsonPath compiler and query functionality
  • Add JsonPathDependencyManager: Dependency manager for the library
  • Add JsonPathFunctionExtensionRepository: Give users a way to add custom function extensions