Releases: fastify/fluent-json-schema
Releases · fastify/fluent-json-schema
v1.0.1
08 May 19:24
Compare
Sorry, something went wrong.
No results found
Bugs
Added types for FORMATS #66 @dfee
Fix doc reference links and other doc improvements #68 @satazor
v1.0.0
25 Apr 12:44
Compare
Sorry, something went wrong.
No results found
Features
Moved the lib to 1.0.0
Added FluentError (#64 )
Bugs
Fix prop type checking (#64 )
fixes typings for typescript usage (both CommonJS and ES6 modules) (#63 )
v0.10.0
25 Apr 12:35
Compare
Sorry, something went wrong.
No results found
Features
Add S.raw (#56 )
Improve docs (#58 )
v0.9.0
02 Dec 11:33
Compare
Sorry, something went wrong.
No results found
Bugs
Drop S.extend #46 in favour of S.object().extend(baseSchema) #54
v0.8.0
22 Nov 10:39
Compare
Sorry, something went wrong.
No results found
Features
Add S.extend #46 to extend an existing schema. This allows using additionalProperties(false)
v0.7.7
15 Nov 16:28
Compare
Sorry, something went wrong.
No results found
Features
Bug fixes
Allow concatenating a prop after ifThen or ifThenElse #52
v0.7.5
26 Aug 15:53
Compare
Sorry, something went wrong.
No results found
Release Notes
AdditionalProperties accepts true as value #43
Export isFluentSchema property in Typescript definitions #44
v0.7.4
08 Aug 22:48
Compare
Sorry, something went wrong.
No results found
Features
Added a property isFluentSchema in every FluentSchema object.
const S = require ( 'fluent-schema' )
const schema = S . object ( )
. prop ( 'foo' , S . string ( ) )
. prop ( 'bar' , S . number ( ) )
console . log ( schema . isFliuentSchema ) // true
The previous method based on Symbol.for('fluent-schema-object') has been deprecated but it still available
v0.7.3
22 Jun 08:47
Compare
Sorry, something went wrong.
No results found
Features
Added symbol to identify fluent schema objects
const S = require('fluent-schema')
const schema = S.object()
.prop('foo', S.string())
.prop('bar', S.number())
console.log(schema[Symbol.for('fluent-schema-object')]) // true
v0.7.2
28 May 21:36
Compare
Sorry, something went wrong.
No results found
Add readOnly and writeOnly property
S.object()
.prop('foo', S.string().readOnly())
.prop('bar', S.string().writeOnly(true))