Skip to content

Releases: mozilla/jsonschema-transpiler

v2.0.0

08 Feb 10:17
Compare
Choose a tag to compare

The first release in years!
We now support JSON columns

What's Changed

  • Update all dependencies by @badboy in #106
  • Bug 1839640 - BigQuery: Convert json atoms to a JSON column type by @badboy in #107
  • Dependency updates

New Contributors

Full Changelog: v1.10.0...v2.0.0

v1.10.0: Use pure rust libraries for regex and snakecasing (#101)

13 Sep 22:50
69c411f
Compare
Choose a tag to compare
* Add formatted cargo toml

* Make oniguruma an optional feature that can be enabled

* Use rust 2018 macro import for lazy_static

* Update documentation for building with features

* Bump version to 1.10

* Add tests for alternative feature flags

Limit description length in BigQuery schemas

30 Mar 21:58
Compare
Choose a tag to compare

Propagate "description" from json schema to BigQuery schema

13 Jan 21:01
Compare
Choose a tag to compare

Adds #93 to include title and description fields from JSON Schemas.

Try it out:

echo '{
  "description": "test description",
  "title": "test title",
  "type": "integer"
}' | jsonschema-transpiler --type bigquery

Add support for valueless maps

18 Nov 22:42
a62c454
Compare
Choose a tag to compare

This includes #92 an option to create maps without values using the BigQuery type.

Try it out locally:

echo '{
    "type": "object",
    "additionalProperties": {"type": "object"}
}' | jsonschema-transpiler --type avro --allow-maps-without-value --resolve drop

Fixes a bug related to nested lists

01 Oct 21:06
Compare
Choose a tag to compare

See #90.

echo '{
    "type": "array",
    "items": {
        "type": "array",
        "items": {
            "type": "array",
            "items": [
                {"type": "integer"}
            ],
            "additionalItems": false
        }
    }
}' | jsonschema-transpiler --type bigquery --tuple-struct

Add support for tuples in the form of anonymous structs

26 Sep 00:25
3c0b33b
Compare
Choose a tag to compare

See #89

Try it out:

{
        "additionalItems": {
        "type": "integer"
        },
        "items": [
            {"type": "boolean"},
            {"type": "string"}
        ],
        "maxItems": 4,
        "type": "array"
}

Remove redundant code path

20 Aug 18:17
553a3dd
Compare
Choose a tag to compare
Merge pull request #86 from acmiyaguchi/nullable

Remove redundant code path

Add `--force-nullable` option to make all fields nullable

19 Aug 22:29
1fd744a
Compare
Choose a tag to compare
Merge pull request #85 from acmiyaguchi/nullable

Fix #84 - Add `--force-nullable` option to make all fields nullable

Add support for `bytes` format

05 Aug 21:46
e636e1c
Compare
Choose a tag to compare

This release adds supports for the bytes type, using the format keyword.

Try it out:

{"type": "string", "format": "bytes"}