PackageTrack

Go modules · #1768

github.com/ohler55/ojg

v1.28.5ohler55/ojg

Release timeline

188 releases since 2020
202120222023202420252026

Releases

  1. v1.20.2-0.20231028001458-58e3d62db31728 Oct 2023pre-release

    Nothing published for this version

  2. v1.20.124 Oct 2023
    Release notes2 sources agree

    Fixed

    • Calling jp.Set on a map or struct with a nil value no longer panics if nil is a valid value for the element being set.
    Open source →
  3. v1.20.1-0.20231024163328-17aefca3a77724 Oct 2023pre-release

    Nothing published for this version

  4. v1.20.018 Oct 2023
    Release notes2 sources agree

    Added

    • Added ojg.Options.FloatFormat to allow float output format to be specified.

    Fixed

    • A single quote character can now be escaped in strings when using SEN for parsing.
    • Descent on a struct for get and first fixed.
    Open source →
  5. v1.19.5-0.20231018004831-baa5e44c9ad918 Oct 2023pre-release

    Nothing published for this version

  6. v1.19.5-0.20231007190159-f010b727b0f87 Oct 2023pre-release

    Nothing published for this version

  7. v1.19.43 Oct 2023
    Release notes2 sources agree

    Added

    • Updated cmd/oj version and updated notes to reference the brew formula.

    Fixed

    Open source →
  8. v1.19.4-0.20231003230309-e4b7aeb0536b3 Oct 2023pre-release

    Nothing published for this version

  9. v1.19.311 Sept 2023
    Release notes2 sources agree

    Fixed

    • asm cond condition is now evaluated correctly.
    Open source →
  10. v1.19.3-0.20230911211601-1a94a52d422d11 Sept 2023pre-release

    Nothing published for this version

  11. v1.19.28 Aug 2023
    Release notes2 sources agree

    Fixed

    • The test tool (tt) package Panic() function should return the recovered panic and now does.
    Open source →
  12. v1.19.2-0.20230808001047-51d80321b99f8 Aug 2023pre-release

    Nothing published for this version

  13. v1.19.15 Jul 2023
    Release notes2 sources agree

    Fixed

    • Pooled parsers now reset the number conversion method.
    Open source →
  14. v1.19.1-0.20230705201727-f7e649b964885 Jul 2023pre-release

    Nothing published for this version

  15. v1.19.05 Jul 2023
    Release notes2 sources agree

    Added

    • Added NumConvMethod to convert json.Number to either float64 or a string on parse and recompose.
    Open source →
  16. v1.18.72 Jun 2023
    Release notes2 sources agree

    Fixed

    • Fixed alt.Diff to not skip non-matching map entries.
    Open source →
  17. v1.18.7-0.20230602212818-5201347ea6c62 Jun 2023pre-release

    Nothing published for this version

  18. v1.18.624 May 2023
    Release notes2 sources agree

    Added

    • Thanks to @thiagodpf allowing JSONPath get on structs to use JSON annotation.
    Open source →
  19. v1.18.520 Apr 2023
    Release notes2 sources agree

    Fixed

    • alt.Diff now handles slice indexes correctly.
    Open source →
  20. v1.18.44 Apr 2023
    Release notes2 sources agree

    Fixed

    • JSONPath with a child selector containing ' is not escaped properly.
    Open source →
  21. v1.18.31 Apr 2023
    Release notes2 sources agree

    Fixed

    • A comma after a number at the top level now errors out as expected.
    Open source →
  22. v1.18.3-0.20230401213345-3665244499ef1 Apr 2023pre-release

    Nothing published for this version

  23. v1.18.3-0.20230331005823-baa0cd299a2331 Mar 2023pre-release

    Nothing published for this version

  24. v1.18.229 Mar 2023
    Release notes2 sources agree

    Fixed

    • Strings in bracketed JSONPaths with escaped characters are now handled correctly.

    Added

    • Added support for the Keyed and Indexed interface in the JSONPath (jp) evaluations.
    Open source →
  25. v1.18.2-0.20230328010723-1fde5c946e2e28 Mar 2023pre-release

    Nothing published for this version

  26. v1.18.2-0.20230311212814-0ad9bf87e8aa11 Mar 2023pre-release

    Nothing published for this version

  27. v1.18.111 Mar 2023
    Release notes2 sources agree

    Fixed

    • Fixed "has" and "exists" issue where comparisons were broken with the introduction of Nothing.
    Open source →
  28. v1.18.1-0.20230311000934-ef9a2188b67411 Mar 2023pre-release

    Nothing published for this version

  29. v1.18.08 Mar 2023
    Release notes2 sources agree

    Added

    • Added support for root fragments in filters such as $.data[?(@.id == $.key)].
    • "exists" is now an alias for the "has" filter operation.
    • Added length, count, match, and search functions.
    • Added Nothing as a value for comparison to return values where nothing is found.
    • Added support no parenthesis around a filter so [[email protected] == 3] is now valid.
    • alt.String() now converts []byte.

    Fixed

    • Fix order of union with when final elements are not an []any.
    Open source →
  30. v1.17.6-0.20230220003536-657cff365f3620 Feb 2023pre-release

    Nothing published for this version

  31. v1.17.519 Feb 2023
    Release notes2 sources agree

    Added

    • Added alt.Filter, a variation on alt.Match.
    • Added the OmitEmpty option to oj, sen, pretty, and alt packages.
    • Added the -o option for omit nil and empty to the oj command.
    Open source →
  32. v1.17.5-0.20230216224140-27ae672fa7c416 Feb 2023pre-release

    Nothing published for this version

  33. v1.17.43 Feb 2023
    Release notes2 sources agree

    Fixed

    • Fixed (preserve) order of JSONPath wildcard reflect elements.
    Open source →
  34. v1.17.4-0.20230202001746-92bd755b4c912 Feb 2023pre-release

    Nothing published for this version

  35. v1.17.327 Jan 2023
    Release notes2 sources agree

    Fixed

    • Fixed (preserve) order of JSONPath filtered elements.
    Open source →
  36. v1.17.3-0.20230127005211-85c32e7cb16e27 Jan 2023pre-release

    Nothing published for this version

  37. v1.17.215 Jan 2023
    Release notes2 sources agree

    Fixed

    • Fixed big number parsing.
    Open source →
  38. v1.17.19 Jan 2023
    Release notes2 sources agree

    Fixed

    • Fixed the descent fragment use in the Modify() functions of the jp package.
    Open source →
  39. v1.17.1-0.20230107005356-585d01a826627 Jan 2023pre-release

    Nothing published for this version

  40. v1.17.06 Jan 2023
    Release notes2 sources agree

    Added

    • Modify() functions added to the jp package.
    • Added the has operator to the jp package scripts.
    Open source →
  41. v1.16.03 Jan 2023
    Release notes2 sources agree

    Added

    • Remove() functions added to the jp package.
    • jp.Set() operations now allow a union as the last fragment in an expression.
    Open source →
  42. v1.15.1-0.20230102005145-ebd74d0758a82 Jan 2023pre-release

    Nothing published for this version

  43. v1.15.017 Dec 2022
    Release notes2 sources agree

    Added

    • Added jp.Script.Inspect() to be able to get the details of a script.
    • The parser callback function now allows func(any) in addition to func(any) bool.
    Open source →
  44. v1.14.6-0.20221207013820-4c4d3680514a7 Dec 2022pre-release

    Nothing published for this version

  45. v1.14.511 Oct 2022
    Release notes2 sources agree

    Fixed

    • alt.Builder Pop fixed for nested objects.
    Open source →
  46. v1.14.410 Aug 2022
    Release notes2 sources agree

    Fixed

    • Private members that match a JSON element no longer cause a panic.
    Open source →
  47. v1.14.312 Jun 2022
    Release notes2 sources agree

    Fixed

    • Returned []byte from oj.Marshal and pretty.Marshal now copy the internal buffer instead of just returing it.
    Open source →
  48. v1.14.24 Jun 2022
    Release notes2 sources agree

    Added

    • Added SameType test tool.
    Open source →
  49. v1.14.11 Jun 2022
    Release notes2 sources agree

    Fixed

    • Removed dependency on external packages.
    Open source →
  50. v1.14.09 Apr 2022
    Release notes2 sources agree

    Added

    • Added the JSONPath filter operation in.
    • Added the JSONPath filter operation empty.
    • Added the JSONPath filter operation =~ for regex.
    Open source →
  51. v1.13.2-0.20220320010723-403fc5b7a83320 Mar 2022pre-release

    Nothing published for this version

  52. v1.13.120 Mar 2022
    Release notes2 sources agree

    Fixed

    • Fixed a case where a un-terminated JSON did not return an error.
    Open source →
  53. v1.13.1-0.20220310232250-726c161b300910 Mar 2022pre-release

    Nothing published for this version

  54. v1.13.1-0.20220310020556-4ee6f967f46710 Mar 2022pre-release

    Nothing published for this version

  55. v1.13.1-0.20220310013345-30dc7d142c8210 Mar 2022pre-release

    Nothing published for this version

  56. v1.13.06 Mar 2022
    Release notes2 sources agree

    Added

    • Added jp.Expr.Has() function.
    • Added jp.Walk to walk data and provide a the path and value for each element.
    Open source →
  57. v1.12.141 Mar 2022
    Release notes2 sources agree

    Fixed

    • []byte are encoded according to the ojg.Options.
    Open source →
  58. v1.12.1323 Feb 2022
    Release notes2 sources agree

    Fixed

    • For JSONPath (jp) reflection Get returns has value correctly for zero field values.
    Open source →
  59. v1.12.13-0.20220218230628-d43f67b5348718 Feb 2022pre-release

    Nothing published for this version

  60. v1.12.1227 Dec 2021
    Release notes2 sources agree

    Fixed

    • JSONPath scripts (jp.Script or [?(@.foo == 123)]) is now thread safe.
    Open source →