Skip to content

Commit

Permalink
release: 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
santhosh-tekuri committed May 30, 2024
1 parent 249a3fd commit af8f950
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 19 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## [0.6.0] - 2024-05-30

### Braking Changes
- loader: Allow to replace entirely

### Bug Fixes
- seperate doc loading from root creation
- validator: if contentEncoding fails, skip contentMediaType
- loader: should load latest from metaschemas dir
- fix: hash for json numbers with zero fractions
- fix: resources/anchors in non-std schema loc not supported

### Changes
- boon binary artificats under github release
- boon binary `--cacert` option
- boon binary `--insecure` flag

## [0.5.3] - 2024-01-27

### Changes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "boon"
version = "0.5.3"
version = "0.6.0"
edition = "2021"
description = "JSONSchema (draft 2020-12, draft 2019-09, draft-7, draft-6, draft-4) Validation"
readme = "README.md"
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@

## CLI

to install: `cargo install --example boon boon`
to install: `cargo install boon-cli`

or download it from [releases](https://github.com/santhosh-tekuri/boon/releases)

```
Usage: boon [OPTIONS] SCHEMA [INSTANCE...]
Expand All @@ -72,6 +74,9 @@ Options:
Enable format assertions with draft >= 2019
-c, --assert-content
Enable content assertions with draft >= 7
--cacert <FILE> Use the specified PEM certificate file to verify the
peer. The file may contain multiple CA certificates
-k, --insecure Use insecure TLS connection
```

This cli can validate both schema and multiple instances.
Expand Down
28 changes: 14 additions & 14 deletions cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "cli"
name = "boon-cli"
version = "0.6.0"
edition = "2021"

[dependencies]
boon = { version = "0.5", path = ".."}
boon = { version = "0.6", path = ".."}
url = "2"
getopts = "0.2"
serde = { version = "1.0", features = ["derive"] }
Expand Down

0 comments on commit af8f950

Please sign in to comment.