Skip to content

Latest commit

 

History

History
150 lines (93 loc) · 4.7 KB

CHANGELOG.md

File metadata and controls

150 lines (93 loc) · 4.7 KB

Changelog

The format: Keep a Changelog

2.17.0 - 2019-05-29

2.16.0 - 2018-04-27

  • Revert upgrade to base lib

2.15.1 - 2018-04-26

  • Fix bug related to dupes picking up empty objects '{}'

2.15.0 - 2018-04-26

  • Bump underlying conversion lib

2.14.1 - 2018-04-26

  • Bump

2.14.0 - 2018-04-24

  • Change package name to typescript-schema-tools

2.13.0 - 2018-03-27

  • Added optional when defining ITypeMap, meaning some types wont error out the build process.

2.12.0 - 2017-12-28

  • Misc fixes

2.11.0 - 2017-11-14

  • Added emitErrors config option to TypeSchemaBuilder
    • Will emit errors to console.error on compilation if true (default)

2.10.0 - 2017-11-02

  • set aliasRef in the compiler options to true by default

2.9.0 - 2017-10-31

  • Fixes

2.8.0 - 2017-10-31

  • .addType on the TypeSchemaBuilder now accepts a save and compile optional additional configuration

2.7.0 - 2017-10-16

Added

  • createSchemaModuleMap creates a map resembling [schema.id]: modulePath
  • renderSchemaModuleMapToTs renders a moduleMap to typeScript
  • Wired the above into TypeSchemaBuilder by use of the new .saveSchemaModuleMap()

2.6.1 - 2017-10-05

  • Remove console logs

2.6.0 - 2017-10-05

  • $ref can now be globally and automatically replaced when using TypeSchemaBuilder

2.5.0 - 2017-10-05

  • Change the compile interface, rename refs to overrideRefs
  • Add replaceRefs option, to use id when defining types to blanket-replace with a $ref in generated schemas

2.4.0 - 2017-10-05

  • Fix publish

2.3.0 - 2017-10-05

  • Now supports refs inside a compile block
    • This allows one to override any type to resolve to { $ref: id }

2.3.0 - 2017-10-03

  • Update .addType to support id

2.2.0 - 2017-10-02

  • Added #addType to TypeSchemaBuilder
  • TypeSchemaBuilder now re-uses the ts Program for performance

2.1.2 - 2017-09-28

  • Tweaks

2.1.1 - 2017-09-28

  • Fix interfaces

2.1.0 - 2017-09-28

  • Fixes to interfaces conserning compile types input
  • Readme updates

2.0.0 - 2017-09-28

  • Modified typeToSchema interface
  • Added TypeSchemaBuilder

1.1.0 - 2017-09-26

  • Misc changes

1.0.0 - 2017-09-26

Changed

  • Rename typeToSchema to typesToSchema
  • Fix dependency for typescript-json-schema being a --dev