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 toTypeSchemaBuilder
- Will emit errors to console.error on compilation if
true
(default)
- Will emit errors to console.error on compilation if
2.10.0 - 2017-11-02
- set
aliasRef
in the compiler options totrue
by default
2.9.0 - 2017-10-31
- Fixes
2.8.0 - 2017-10-31
.addType
on theTypeSchemaBuilder
now accepts asave
andcompile
optional additional configuration
2.7.0 - 2017-10-16
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 usingTypeSchemaBuilder
2.5.0 - 2017-10-05
- Change the
compile
interface, renamerefs
tooverrideRefs
- Add
replaceRefs
option, to useid
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 acompile
block- This allows one to override any
type
to resolve to{ $ref: id }
- This allows one to override any
2.3.0 - 2017-10-03
- Update
.addType
to supportid
2.2.0 - 2017-10-02
- Added
#addType
toTypeSchemaBuilder
TypeSchemaBuilder
now re-uses the tsProgram
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
- Rename
typeToSchema
totypesToSchema
- Fix dependency for typescript-json-schema being a --dev