Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 2.76 KB

CHANGELOG.md

File metadata and controls

59 lines (45 loc) · 2.76 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.1.0 - 2021-01-24

Changed

  • JsonPointer.add() now can replace the value at root location with given array/object, regardless of the original type. This is a requirement from the TCK.

Fixed

  • JsonObject.getBoolean() and JsonObject.isNull() now correctly throws NPE if there exists no property for the specified key. (PR #12, #13 both are authored by @Thihup)
  • JsonParserFactory.createParser(InputStream) now correctly throws JsonException if character encoding cannot be determined automatically. (Issue #10 reported by @Thihup)
  • Fixed a bug that was causing JSON Patch move operation on nonexistent value not to throw JsonException, if the source path is the same as the target path. (Issue #11 reported by @Thihup)

2.0.0 - 2020-10-29

Changed

  • Updated the Jakarta API to 2.0.0.

2.0.0-RC2 - 2020-04-26

Added

  • Added a new JSON-P provider joy-yaml which can parse YAML documents with the help of snakeyaml-engine. This artifact can be used as a substitute for the basic provider joy-classic. JsonParser and JsonReader provided by the new provider can process YAML documents.

Changed

  • The artifact ID of the original Joy is now changed to joy-classic.
  • Improved JsonNumber.numberValue() which now may return an instance of Integer or Long if applicable.

Fixed

  • Fixed the error message emitted when an array in the JSON document is not closed correctly.

2.0.0-RC1 - 2020-04-05

Changed

  • The API package was renamed from javax.json to jakarta.json.
  • Update the version of Jakarta JSON Processing API to 2.0.0-RC2.

1.3.0 - 2020-02-01

Changed

  • Collections and maps passed to JsonBuilderFactory now can contain instances of JsonArrayBuilder or JsonObjectBuilder as their values. (PR #3 contributed by @toddobryan)

1.2.0 - 2019-09-29

Changed

  • Update the JSON Processing API to version 1.1.6.

Fixed

  • A bug which was causing JsonParser.skipArray() and JsonParser.skipObject() to throw an IllegalStateException wrongly when the current state is not the start of the array/object.

1.1.0 - 2019-08-04

Added

  • New configuration properties INDENTATION_SIZE and TAB_INDENTATION were added to the extended interface JsonGenerator. (Issue #1 originally proposed by @hohwille)

1.0.1 - 2019-07-28

Fixed

  • getConfigInUse() methods now return only properties recognized by the factory.

1.0.0 - 2019-07-23

Added

  • First release to the Maven Central Repository.