Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Releases: raml-org/raml-js-parser-2

1.1.38

04 Dec 10:11
Compare
Choose a tag to compare

NPM installation: npm install [email protected]

The new JSON format is available via the new API. Old JSON format is unchanged.

This document describes the basics of usage and the differences between the new and the old format: https://github.com/raml-org/raml-js-parser-2/blob/master/documentation/TheNewApi.md

This document provides the overview of the API methods, both old and new ones: https://github.com/raml-org/raml-js-parser-2/blob/master/documentation/ApiOverview.md

Here is the Getting Started guide for the new API: https://github.com/raml-org/raml-js-parser-2/blob/master/documentation/GettingStartedNewApi.md

Here is the JSON schema for the new format: https://github.com/raml-org/raml-js-parser-2/tree/master/tckJSONSchema-newFormat

Here is the description of the exposed (non-JSON) high-level API, targeted for experienced users (IDE developers): https://github.com/raml-org/raml-js-parser-2/blob/master/documentation/RAML10Classes.html

It is now possible to expand type expressions in the new API by setting expandExpressions option to true. Here are the gist samples: https://gist.github.com/ddenisenko/b76a71701cd4fdec42de28f5003cd5bf

It is now possible to expand all types in the new API by setting expandTypes option to true. Here are the gist samples: https://gist.github.com/ddenisenko/e787a521a6dfdb616729c98a7c9f58fd

1.1.37

14 Nov 17:53
Compare
Choose a tag to compare

NPM installation: npm install [email protected]

Bug fixes:

  • Rename for traits throws an exception in certain case
  • The expressions expansion mechanism must understand trailing '?' as nilable type mark.
  • Type expansion fails to process recursion in a certain case
  • Serialization to JSON ignores rule of calculating default types

Enhancements:

  • Remote type expansion: RAML model serialization.
  • Remote type expansion: applying the type expansion mechanism.

1.1.36

31 Oct 17:42
Compare
Choose a tag to compare

NPM installation: npm install [email protected]

Bug fixes:

  • Null 'example' and 'default' values must be serialized and validated as null (not "null") for RAML 0.8
  • Type default value is not converted to string for RAML 0.8 #643

Enhancements:

  • Export typings as NPM
  • Remote type expansion: RAML model restoration.

1.1.35

24 Oct 05:11
Compare
Choose a tag to compare

NPM installation: npm install [email protected]

Bug fixes:

  • OOM error trying to parse RAML API
  • Parser errors UNKNOWN_PROPERTY and RESTRICTIONS_CONFLICT
  • The parser throws NPE for a certain API

1.1.34

19 Oct 01:05
Compare
Choose a tag to compare

NPM installation: npm install [email protected]

Bug fixes:

Enhancements:

1.1.32

04 Oct 08:33
Compare
Choose a tag to compare

NPM installation: npm install [email protected]

Important: typescript version is updated, dependency on typings is removed across the parser modules sub-tree.

Bug fixes:

Enhancements:

  • JS-doc for errors should say that column, line number and position start from zero.
  • Update the JS parser README
  • Get rid of typings dependency
  • Upgrade typescript version

1.1.31

25 Sep 21:27
Compare
Choose a tag to compare

NPM installation: npm install [email protected]

Bug fixes:

Enhancements:

1.1.30

28 Aug 16:11
Compare
Choose a tag to compare

NPM installation: npm install [email protected]

Bug fixes:

Enhancements:

1.1.29

27 Jul 23:15
Compare
Choose a tag to compare

1.1.28