Skip to content

Commit

Permalink
Merge pull request #137 from networktocode/develop
Browse files Browse the repository at this point in the history
v1.1.4 Release
  • Loading branch information
PhillSimonds authored Jul 13, 2022
2 parents a4d85b9 + 80ff267 commit b11d42f
Show file tree
Hide file tree
Showing 10 changed files with 230 additions and 214 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Unless a later match takes precedence, these will be requested for
# review when someone opens a pull request. Once approved, PR creators
# are encouraged to merge their own PRs.
* @dgarros @glennmatthews @PhillSimonds
* @chadell @glennmatthews @PhillSimonds

# Order is important; the last matching pattern takes the most
# precedence.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## v1.1.4 - 2022-07-13

### Adds

- Add format_nongpl extra to jsonschema install. This ensures draft7 format checkers validate format adherence as expected while also ensuring GPL-Licenced transitive dependencies are not installed.

### Changes

- Update jsonschema schema version dependency so that versions in the 4.x train are supported.

### Removes

- Automatic support for `iri` and `iri-reference` format checkers. This was removed because these format checkers require the `rfc3987` library, which is licensed under GPL. If you require these checkers, you can manually install `rfc3987` or install this package as `jsonschema[rfc3987]`.

## v1.1.3 - 2022-05-31

### Changes
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,17 @@ bash$ cat pyproject.toml
```

> More information on available configuration settings can be found in the [configuration README](docs/configuration.md)

### Supported Formats

By default, schema enforcer installs the jsonschema `format-nongpl` extra which allows the use of formats that can be used in schema definitions (e.g. ipv4, hostname...etc). The `format-nongpl` extra only installs transitive dependencies that are not licensed under GPL. The `iri` and `iri-reference` formats are defined by the `rfc3987` transitive dependency which is licensed under GPL. As such, `iri` and `iri-reference` formats are *not* supported by `format-nongpl`. If you have a need to use `iri` and/or `iri-reference` formats, you can do so by running the following pip command (or it's poetry equivalent):

```
pip install 'jsonschema[rfc3987]'
```

See the "Validating Formats" section in the [jsonschema documentation](https://github.com/python-jsonschema/jsonschema/blob/main/docs/validate.rst) for more information.

### Where To Go Next

Detailed documentation can be found in the README.md files inside of the `docs/` directory.
Expand Down
Loading

0 comments on commit b11d42f

Please sign in to comment.