2.0.8

@JamesNK JamesNK released this Dec 18, 2016 · 6 commits to master since this release

  • Change - Improved JSchema load performance and memory usage
  • Fix - Fixed validating schemas with multiple references inside nested conditional scopes
  • Fix - Fixed performance issue when loading large schema with many references
  • Fix - Fixed validating 'time' format strings with milliseconds or a time zone
  • Fix - Fixed error when resolving ref path to patternProperties schema
  • Fix - Fixed error when loading schema references to another reference
  • Fix - Fixed unhelpful error when resolving bad schema IDs
  • Fix - Fixed not validating multipleOf must be greater than zero

Downloads

2.0.7

@JamesNK JamesNK released this Oct 16, 2016 · 17 commits to master since this release

  • New feature - Improved memory usage when raising validation errors
  • Change - Generated schema definition name for a generic type now includes argument type names
  • Change - Generated schema for a type with a JsonConverterAttribute has full type details if JsonConverter.CanWrite is false
  • Fix - Fixed error when JsonReaderSettings.BaseUri contained spaces
  • Fix - Fixed race condition when raising validation errors from a shared schema
  • Fix - Fixed schema load error when an external schema references itself
  • Fix - Fixed duplicate generated schemas for a type when a schema generation provider recursively calls itself

Downloads

2.0.6

@JamesNK JamesNK released this Sep 3, 2016 · 32 commits to master since this release

  • New feature - Added JSchema.SchemaVersion
  • Change - Changed members on JSchemaGenerator to virtual
  • Fix - Fixed exceeding generation limit by generating inside JSchemaGenerationProvider
  • Fix - Fixed stackoverflow with recursive generation inside JSchemaGenerationProvider
  • Fix - Fixed multipleOf producing incorrect result with certain floating point numbers
  • Fix - Fixed generating schemas for types with object members
  • Fix - Fixed AdditionalProperties not using JSchemaGenerator.DefaultRequired
  • Fix - Fixed JSchemaGenerator erroring on StringLengthAttribute in .NET 3.5

Downloads

2.0.5

@JamesNK JamesNK released this Aug 26, 2016 · 39 commits to master since this release

  • New feature - Added JSchemaWriterReferenceHandling setting when writing schemas
  • Change - Reversed order of generated definitions to avoid definitions that are just a reference
  • Fix - Fixed incorrect validation message when no schemas match against oneOf
  • Fix - Fixed certain schema reference comparisons to use correct URI comparisons
  • Fix - Fixed license validation to use abstract RSA implementation

Downloads

2.0.4

@JamesNK JamesNK released this Jul 17, 2016 · 53 commits to master since this release

  • Fix - Fixed performance issue when validating highly nested repeating schemas
  • Fix - Fixed validating integers with some small multipleOf values

Downloads

2.0.3

@JamesNK JamesNK released this Jul 5, 2016 · 59 commits to master since this release

  • New feature - Added support for .NET Core with netstandard1.3
  • New feature - Added JSchemaGenerationProvider.CanGenerateSchema
  • Fix - Fixed checking for additional content in JSchema.Parse
  • Fix - Fixed generating schemas with nullable enums
  • Fix - Fixed loading generated schemas with explicit IDs and definitions location
  • Fix - Fixed validating some small multipleOf values
  • Fix - Fixed PatternProperties.Values throwing an error

Downloads

2.0.2

@JamesNK JamesNK released this Jan 9, 2016 · 77 commits to master since this release

  • Change - Updated to Newtonsoft.Json 8.0.2

Downloads

2.0.1

@JamesNK JamesNK released this Dec 29, 2015 · 78 commits to master since this release

  • New feature - Added support for custom validation rules with JsonValidator
  • New feature - Added JSchemaLocationHandling to JSchemaGenerator
  • New feature - Added DefaultRequired to JSchemaGenerator
  • New feature - Added SchemaReferenceHandling to JSchemaGenerator
  • New feature - Added SchemaPropertyOrderHandling to JSchemaGenerator
  • New feature - Significantly improved memory usage and allocations when validating JSON
  • Change - Moved JSchemaGenerator to Newtonsoft.Json.Schema.Generation namespace
  • Change - Renamed UndefinedSchemaIdHandling to SchemaIdGenerationHandling
  • Change - Changed minimum and maximum schema properties on JSchema to Int64
  • Change - Updated to Newtonsoft.Json 8.0.1
  • Fix - JSchemaGenerator is now thread safe
  • Fix - Fixed stack overflow when loading schemas referencing circular deferred schemas
  • Fix - Fixed writing nested schema references with no ID
  • Fix - Fixed validating undefined and constructor with no type

Downloads

1.0.11

@JamesNK JamesNK released this Aug 29, 2015 · 106 commits to master since this release

  • New feature - Improved validation performance
  • Change - Changed invalid pattern properties to raise an event instead of an error
  • Change - Changed invalid id and reference errors to be wrapped in a better error message
  • Change - Changed incorrect ValidationError property setters to be private
  • Fix - Fixed schema id sometimes not being set on ValidationError
  • Fix - Fixed not raising schema errors in resolved schemas
  • Fix - Fixed not raising duplicate ids events on schemas with no referenced schemas
  • Fix - Fixed error when there are multiple duplicate ids
  • Fix - Fixed dictionaries to use Ordinal string comparison
  • Fix - Fixed many schema id resolution bugs
  • Fix - Fixed invalid ids to throw a wrapped exception

Downloads

1.0.10

@JamesNK JamesNK released this Aug 16, 2015 · 127 commits to master since this release

  • New feature - Added support for schema read warning events
  • Fix - Fixed not writing uniqueItems
  • Fix - Fixed parsing error on duplicate schema ids
  • Fix - Fixed validation error when evaluating an invalid regex pattern

Downloads