Skip to content

Commit e37ea6d

Browse files
committed
Merge remote-traking branch 'origin/maelle-patch-1' into safe-serialise
2 parents 0ae2e39 + be88cef commit e37ea6d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

NEWS.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
1-
## jsonvalidate 1.3.3
1+
# jsonvalidate 1.4.0
22

33
* Support for safely serialising objects to json, guided by the schema, with new function `json_serialise`
4+
* New object `json_schema` for construction of reusable validation and serialisation functions
45

5-
## jsonvalidate 1.3.2
6+
# jsonvalidate 1.3.2
67

78
* Always uses ES5 version of Ajv, which allows use in both current and "legacy" V8 (#51)
89

9-
## jsonvalidate 1.3.0
10+
# jsonvalidate 1.3.0
1011

1112
* Upgrade to ajv version 8.5.0
1213
* Add arg `strict` to `json_validate` and `json_validator` to allow evaluating schema in strict mode for ajv only. This is off (`FALSE`) by default to use permissive behaviour detailed in JSON schema
1314

14-
## jsonvalidate 1.2.3
15+
# jsonvalidate 1.2.3
1516

1617
* Schemas can use references to other files with JSON pointers i.e. schemas can reference parts of other files e.g. `definitions.json#/definitions/hello`
1718
* JSON can be validated against a subschema (#18, #19, @AliciaSchep)
1819
* Validation with `error = TRUE` now returns `TRUE` (not `NULL)` on success
1920
* Schemas can span multiple files, being included via `"$ref": "filename.json"` - supported with the ajv engine only (#20, #21, @r-ash).
2021
* Validation can be performed against a fraction of the input data (#25)
2122

22-
## jsonvalidate 1.1.0
23+
# jsonvalidate 1.1.0
2324

2425
* Add support for JSON schema draft 06 and 07 using the [`ajv`](https://github.com/ajv-validator/ajv) node library. This must be used by passing the `engine` argument to `json_validate` and `json_validator` at present (#2, #11, #15, #16, #17, @karawoo & @ijlyttle)
2526

26-
## jsonvalidate 1.0.1
27+
# jsonvalidate 1.0.1
2728

2829
* Initial CRAN release

0 commit comments

Comments
 (0)