From a3c288b5a7fea1c93d74cd66d11105e19f04b9e9 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 14 Jun 2024 19:31:27 +0200 Subject: [PATCH 1/3] Fix broken links --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6669b43..2af0d54 100644 --- a/readme.md +++ b/readme.md @@ -64,7 +64,7 @@ Type: `object` [JSON Schema](https://json-schema.org) to validate your config data. -Under the hood, the JSON Schema validator [ajv](https://github.com/epoberezkin/ajv) is used to validate your config. We use [JSON Schema draft-07](https://json-schema.org/latest/json-schema-validation.html) and support all [validation keywords](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md) and [formats](https://github.com/epoberezkin/ajv#formats). +Under the hood, the JSON Schema validator [ajv](https://ajv.js.org/json-schema.html) is used to validate your config. We use [JSON Schema draft-2020-12](https://json-schema.org/draft/2020-12/release-notes) and support all validation keywords and formats. You should define your schema as an object where each key is the name of your data's property and each value is a JSON schema used to validate that property. See more [here](https://json-schema.org/understanding-json-schema/reference/object.html#properties). From 529e7623b026ca2577f73c000c81e348b8f16057 Mon Sep 17 00:00:00 2001 From: Darrel O'Pry Date: Sat, 22 Jun 2024 06:05:40 -0400 Subject: [PATCH 2/3] Fix validation being incorrectly run before schema change (#194) Co-authored-by: Sindre Sorhus --- source/index.ts | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/source/index.ts b/source/index.ts index 7b5b62c..692815a 100644 --- a/source/index.ts +++ b/source/index.ts @@ -137,6 +137,16 @@ export default class Conf = Record = Record Date: Sat, 22 Jun 2024 12:07:49 +0200 Subject: [PATCH 3/3] 13.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3f5dfd4..2153c3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "conf", - "version": "13.0.0", + "version": "13.0.1", "description": "Simple config handling for your app or module", "license": "MIT", "repository": "sindresorhus/conf",