Skip to content

Latest commit

 

History

History
128 lines (70 loc) · 3.7 KB

CHANGELOG.md

File metadata and controls

128 lines (70 loc) · 3.7 KB

Changelog

0.11.1 - 2024-08-06

Added

  • xml2json: accept V2 annotations label and quickinfo on properties, entity types, and parameters, and turn them into Core.Description, quickinfo wins if both are present on a property

0.10.1 - 2024-07-04

Fixed

  • xml2json: ignore V2 annotation display-format="Date" and preserve original type

0.10.0 - 2024-03-01

Added

  • xml2json: support <![CDATA[...]]> in "free-text" elements, for example <edm:String>

0.9.2 - 2024-01-24

Added

  • xml2json: detect name collisions of schemas, schema children, type children, and entity container children

0.9.0 - 2024-01-24

Added

  • xml2json: option messages to collect all error messages in non-strict mode

0.8.3 - 2023-08-16

Fixed

  • xml2json: OData V2 EntitySet element may contain Documentation element

0.8.2 - 2023-06-15

Fixed

  • xml2json: Annotation targets for overloads with collection-typed parameters are now correctly normalized

0.8.1 - 2023-03-06

Added

  • xml2json: OData V2: accept Documentation element nested in FunctionImport and Parameter elements

0.8.0 - 2023-02-27

Added

0.7.0 - 2022-10-20

Added

0.6.0 - 2022-08-31

Changed

  • xml2json: expects an options object as second parameter, replacing the current second and third parameters which have become properties of the options object:
    • lineNumbers (Boolean, default false): add XML source line numbers to JSON output
    • annotations (Boolean, default false): include XML annotation attributes in JSON output
    • strict (Boolean, default false): strict validation of XML source (some validations cannot be turned off)

0.5.1 - 2022-08-30

Changed

  • xml2json: strip illegal whitespace from annotation targets in XML source
  • xml2json: correctly process annotation targets for action/function overloads with collection-valued parameters

0.5.0 - 2022-08-11

  • edm.xsd: correct patterns for TSimpleIdentifier, TQualifiedName, and TTypeName

0.4.4 - 2022-03-29

Added

  • xml2json: detect unexpected text content in source XML
  • xml2json: improved checks for ReturnType element

0.4.3 - 2022-01-10

Added

  • Allow V4 annotations as foreign markup in V2

0.4.2 - 2022-01-07

Added

  • Property and Term with Type="Collection(...)" must specify Nullable in 4.01.
  • ReturnType Type="Collection(Edm.EntityType)" must not specify Nullable.

0.4.1 - 2021-12-13

Added

  • Unit tests for csdl.schema.json

Changed

  • csdl.schema.json: patterns for SimpleIdentifier and QualifiedName

0.4.0 - 2021-12-06

Added

  • xml2json now minimally validates the input XML
    • unexpected elements
    • incorrect nesting of elements
    • incorrect occurrence of child elements
    • missing required attributes
    • unexpected local attributes

0.3.0 - 2021-09-24

Added

  • xml2json now imports annotation attributes from OData V2 and OData V3 CSDL XML documents if its new third (and optional) parameter is set to true, default is false