PackageTrack

Go modules · #1768

github.com/ohler55/ojg

v1.28.5ohler55/ojg

Release timeline

188 releases since 2020
202120222023202420252026

Releases

  1. v1.28.521 Aug 2026
    Release notes

    What's Changed

    • sen: fix panic on malformed '+' string concatenation by @ChrisJr404 in #226

    New Contributors

    Full Changelog: v1.28.4...v1.28.5

    Open source →
    Release notes2 sources agree

    Fixed

    • Panic on malformed + string concatenation fixed thanks to @ChrisJr404.
    Open source →
  2. v1.28.48 Aug 2026
    Release notes

    Full Changelog: v1.28.3...v1.28.4

    Open source →
    Release notes2 sources agree

    Fixed

    • JSONPath slice for [::2] against an empty slice works correctly now.
    Open source →
  3. v1.28.331 Jul 2026
    Release notes

    What's Changed

    Full Changelog: v1.28.2...v1.28.3

    Open source →
    Release notes2 sources agree

    Fixed

    • JSONPath slices support negative ranges correctly now and the slice end values are exclusive to match the JSONPath specification.
    Open source →
  4. v1.28.25 Jul 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.28.1...v1.28.2

    Open source →
    Release notes2 sources agree

    Fixed

    • JSONPath parsing performance improved thanks to @trevorprater.
    Open source →
  5. v1.28.2-0.20260527132827-981bb7eb29ba27 May 2026pre-release

    Nothing published for this version

  6. v1.28.117 Mar 2026
    Release notes

    Full Changelog: v1.28.0...v1.28.1

    Open source →
    Release notes2 sources agree

    Changed

    • Removed the dependency on go1.22 caused by the alt.Checksum() implementation which now avoids time.AppendBinary().
    Open source →
  7. v1.28.016 Jan 2026
    Release notes

    What's Changed

    Full Changelog: v1.27.0...v1.28.0

    Open source →
    Release notes2 sources agree

    Added

    • Added alt.Checksum() function.
    Open source →
  8. v1.27.010 Nov 2025
    Release notes

    What's Changed

    • Added discover package.
    • Added discover option to the oj application.

    Full Changelog: v1.26.11...v1.27.0

    Open source →
    Release notes2 sources agree

    Added

    • Added discover package.
    • Added discover option to the oj application.
    Open source →
  9. v1.26.114 Nov 2025
    Release notes

    What's Changed

    Full Changelog: v1.26.10...v1.26.11

    Open source →
    Release notes2 sources agree

    Fixed

    • Fixed recomposing nested anonymous structs.
    Open source →
  10. v1.26.1030 Aug 2025
    Release notes

    What's Changed

    Full Changelog: v1.26.9...v1.26.10

    Open source →
    Release notes2 sources agree

    Fixed

    • Fixed float parsing issues.
    Open source →
  11. v1.26.918 Aug 2025
    Release notes

    What's Changed

    • fix: allow filtering on custom named types by @rdumont in #212

    New Contributors

    Full Changelog: v1.26.8...v1.26.9

    Open source →
    Release notes2 sources agree

    Fixed

    • Filtering now supports typed core type such as type Color string thans to @rdumont
    Open source →
  12. v1.26.829 Jun 2025
    Release notes2 sources agree

    Fixed

    • Fixed support for pointers to slice and pointer to value thanks to @edward-frankieone.
    Open source →
  13. v1.26.8-0.20250627001307-866247a046af27 Jun 2025pre-release

    Nothing published for this version

  14. v1.26.723 Jun 2025
    Release notes2 sources agree

    Fixed

    • Fixed the bleed over of omitempty in struct tags. Issue #205.
    • Fixed encoding anonymous interface in structs. Issue #115
    • Bare @.x style existence checks in filters not work correctly.
    Open source →
  15. v1.26.7-0.20250609221605-932117a166829 Jun 2025pre-release

    Nothing published for this version

  16. v1.26.7-0.20250609003021-bf0aa40483e89 Jun 2025pre-release

    Nothing published for this version

  17. v1.26.628 May 2025
    Release notes2 sources agree

    Fixed

    • Types derived from core type such as type Quux int now alt.Decompose correctly.
    Open source →
  18. v1.26.513 May 2025
    Release notes2 sources agree

    Fixed

    • User defined unary operations for jp scripts are now handled correctly.
    Open source →
  19. v1.26.427 Apr 2025
    Release notes2 sources agree

    Fixed

    • Identify field names that start with '_' as private.
    Open source →
  20. v1.26.36 Apr 2025
    Release notes2 sources agree

    Changed

    • Updated linter configuration file for golangci-lint v2
    • Backed off the go.mod go version to the minimum required of v1.18.
    Open source →
  21. v1.26.29 Mar 2025
    Release notes2 sources agree

    Fixed

    • Index on node get fixed.

    Changed

    • Updated to go v1.24
    Open source →
  22. v1.26.19 Jan 2025
    Release notes2 sources agree

    Fixed

    • Fixed issue #197 where nested array elements were not filled when using oj.Match().
    Open source →
  23. v1.26.031 Dec 2024
    Release notes2 sources agree

    Added

    • Support for non-selector scripts added to the jp package. See the jp.CompileScript variable along with the Proc fragment type and Procedure interface.
    Open source →
  24. v1.25.2-0.20241227020129-08c8664aa5b227 Dec 2024pre-release

    Nothing published for this version

  25. v1.25.126 Dec 2024
    Release notes2 sources agree

    Fixed

    • Fixed precision loss with some fraction parsing.
    Open source →
  26. v1.25.026 Oct 2024
    Release notes2 sources agree

    Added

    • The Expr.Walk() function was added. Similar to jp.Walk but walk expression matches.
    Open source →
  27. v1.24.2-0.20241026220240-990adf517df626 Oct 2024pre-release

    Nothing published for this version

  28. v1.24.115 Sept 2024
    Release notes2 sources agree

    Fixed

    • Fixed reflection map key matches when keys are string derivitives.
    Open source →
  29. v1.24.1-0.20240915152308-0844e7e41bf815 Sept 2024pre-release

    Nothing published for this version

  30. v1.24.1-0.20240914215454-c6f982e7e39514 Sept 2024pre-release

    Nothing published for this version

  31. v1.24.1-0.20240830170429-e422fbda314230 Aug 2024pre-release

    Nothing published for this version

  32. v1.24.010 Aug 2024
    Release notes2 sources agree

    Added

    • Added the jp.PathMatch function that compares a normalized JSONPath with a target JSONPath.
    • Added jp.MatchHandler a TokenHandler that can be used to build a path and data while processing a JSON document.
    • Added oj.Match and sen.Match functions.
    Open source →
  33. v1.23.1-0.20240810000637-19c93df13a1810 Aug 2024pre-release

    Nothing published for this version

  34. v1.23.07 Jul 2024
    Release notes2 sources agree

    Added

    • New script functions can now be added with jp.RegisterUnaryFunction() and jp.RegisterBinaryFunction().
    Open source →
  35. v1.22.2-0.20240707212426-d291cb2e8b0f7 Jul 2024pre-release

    Nothing published for this version

  36. v1.22.123 Jun 2024
    Release notes2 sources agree

    Added

    • Added the missing support of Keyed and Indexed in jp.Modify.
    Open source →
  37. v1.22.1-0.20240623163508-9dccb048ad9e23 Jun 2024pre-release

    Nothing published for this version

  38. v1.22.1-0.20240528211055-a3e5bee1a7bc28 May 2024pre-release

    Nothing published for this version

  39. v1.22.1-0.20240527212555-089c3eae55f227 May 2024pre-release

    Nothing published for this version

  40. v1.22.1-0.20240523142511-7a61575c0a2d23 May 2024pre-release

    Nothing published for this version

  41. v1.22.028 Apr 2024
    Release notes2 sources agree

    Added

    • Added support for C style comment /* */ in the SEN parser.

    Fixed

    • Comments are the start of a SEN document now parses without error.
    Open source →
  42. v1.21.6-0.20240428202721-aede9eca61ca28 Apr 2024pre-release

    Nothing published for this version

  43. v1.21.6-0.20240411211313-6a8ab9f8bc1811 Apr 2024pre-release

    Nothing published for this version

  44. v1.21.511 Apr 2024
    Release notes2 sources agree

    Added

    • Makefiles
    Open source →
  45. v1.21.429 Feb 2024
    Release notes2 sources agree

    Fixed

    • Fixed regexp parsing to allow regexp escape sequences.
    Open source →
  46. v1.21.4-0.20240229133405-0358624bf75d29 Feb 2024pre-release

    Nothing published for this version

  47. v1.21.4-0.20240228224040-05f57dae767028 Feb 2024pre-release

    Nothing published for this version

  48. v1.21.321 Feb 2024
    Release notes2 sources agree

    Fixed

    • Evaluation of a not group such as !(@.x == 2) is now correct.
    Open source →
  49. v1.21.3-0.20240221001226-a1754591ad7c21 Feb 2024pre-release

    Nothing published for this version

  50. v1.21.215 Feb 2024
    Release notes2 sources agree

    Fixed

    • Reworked the jp equation parser to eliminate some parsing issues.
    • Fixed wildcards in filters so that if any value is true a match is returned. As an example, a path of a[?(@.b[*].c == 2)].b[0] might match multiple values of c in array b. If any of the values is 2 then it is considered a match.
    Open source →
  51. v1.21.2-0.20240215012733-e193e476453115 Feb 2024pre-release

    Nothing published for this version

  52. v1.21.13 Feb 2024
    Release notes2 sources agree

    Fixed

    • Fixed script parsing when padded with spaces.
    • Fixed script parsing for negation without parenthesis.
    Open source →
  53. v1.21.1-0.20240203030641-ae29fcad16723 Feb 2024pre-release

    Nothing published for this version

  54. v1.21.018 Dec 2023
    Release notes2 sources agree

    Added

    • Added the Expr function BracketString to force the use of bracket notation to for normalized paths as described by the draft IETF JSONPath document in section 2.7.
    • Added jp.Expr.Locate() function that returns normalized paths for JSONPath expression.

    Fixed

    • Unmarshal now supports arrays such as [4]int.
    Open source →
  55. v1.20.4-0.20231218231753-f563a34bea6218 Dec 2023pre-release

    Nothing published for this version

  56. v1.20.4-0.20231214004438-3af4d72e63b714 Dec 2023pre-release

    Nothing published for this version

  57. v1.20.39 Nov 2023
    Release notes2 sources agree

    Added

    • Added an option to jp.Walk to just callback on leaves making the function more useable.
    Open source →
  58. v1.20.3-0.20231109235652-4f986733b2549 Nov 2023pre-release

    Nothing published for this version

  59. v1.20.230 Oct 2023
    Release notes2 sources agree

    Fixed

    • A script of @.x is now read correctly as @.x exists true.
    Open source →
  60. v1.20.2-0.20231030232309-7e79b01fda9430 Oct 2023pre-release

    Nothing published for this version