diff --git a/README.md b/README.md index e213d67..ed4006a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ > footprint or high performance, this package focuses on exposing utilities for browser and node environments and > lessens the pain to build custom tools around json-schema. -> ⚠️ This documentation refers to the upcoming release version 10, which can be installed by `npm install json-schema-library@10.0.0-rc2`. For the latest release please refer to the [documentation of version 9.3.5](https://github.com/sagold/json-schema-library/tree/v9.3.5) +> ⚠️ This documentation refers to the upcoming release version 10, which can be installed by `npm install json-schema-library@10.0.0-rc3`. For the latest release please refer to the [documentation of version 9.3.5](https://github.com/sagold/json-schema-library/tree/v9.3.5)
draft methods | draft extensions | draft customization | breaking changes @@ -1009,6 +1009,13 @@ _Draft 2019-09_ requires collection of previous resolved sub-schemas. Thus, an a - `step` and resolvers work on and return a `schemaNode`, containing the requested schema +A control property `__oneOfIndex: number` is added to resolved oneOf-schema to retrieve the source of the original schema. If this unwanted behaviour you can disabled this behaviour by: + +```ts +import { settings } from "json-schema-library"; +settings.EXPOSE_ONE_OF_INDEX = false; +``` + ### v9.0.0 **breaking changes**: