This changelog covers the version history and possible upcoming changes. It follows the guidance from https://keepachangelog.com/en/1.0.0/.
- Minimum supported Node.js version lifted from
18.12.0
to22.11.0
- Fix incorrect array type in Typescript dictionary file #515
- Trigger
onWarning
callback when the input Yaml file is empty #507
- Minimum supported Node.js version lifted from
14.15.0
to18.12.0
- Typescript type dictionaries were not generated properly
- It's all ES Modules now
- Ensure calling the
onWarning
when the input Yaml is invalid
- Minimum supported Node.js version lifted from
10.13.0
to14.15.0
- Dependency update of the yaml parser used underneath, called
js-yaml
- Minimum Node.js version lifted from
8.11.1
to10.13.0
- Test code smells at Sonarcloud.io
- Internally written as ES2015 Class, instead of ES5 way which polluted
prototype
- Allows now more than just one input file via command line
- Use
npm-shrinkwrap.json
for locking the working set of 3rd party dependencies - Define
files
property inpackage.json
to minify files in the published package
- Minimum supported and tested Node.js version is now
v8.11.1
- The command line tool now exists with the number of failed files, previously always exiting with zero (0) #21
- Contents of the Yaml file were overwritten, in the case when saving to JSON and the Yaml file suffix was not
.yml
#14 - TypeScript types are available #13
- Dependencies up to 🎩
- Separated parsing method from file reading method, hence one method more available to use
- Providing a command line version
- Time to go major
- Optional keys are now possible #9
- Provide file name, error message and line number when failing #7
- Keep dependencies up to date and test against Node.js major version
8
- Minimum supported Node.js version lifted from
4.2.0
to6.9.5
- Proper unit tests #6
options.yaml.onWarning
is nowoptions.onWarning
- Define the minimum Node.js version in
package.json
, as4.2.0
- Using shared ESLint configuration #2
- Possible JSON file written now replaces extension properly
- Initial release to the World with code originating from
grunt-yaml-validator
version0.8.0