Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Releases: snowplow-archive/schema-guru

Version 0.6.2

14 May 19:20
Compare
Choose a tag to compare

Fixes some important bugs in the DDL generation functionality. See also the schema-ddl v0.3.1 release notes

Under the hood

  • Bumped schema-ddl library to 0.3.1 (#157)

Bug fixes

  • Improved help message for --enum (#152)
  • Fixed DDL regression where COMMENT ON TABLE is missing schema (#163)

Version 0.6.1

12 Apr 15:42
Compare
Choose a tag to compare

Fixes two important regressions in 0.6.0 involving missing file extensions

Bug fixes

  • Fixed regression where SQL file for _MODEL is missing .sql extension (#148)
  • Fixed regression where JSON Paths file is missing .json extension (#149)

Version 0.6.0

07 Apr 21:05
Compare
Choose a tag to compare

With long-awaited initial support for SQL migrations

New functionality

  • Fixed column ordering for Redshift tables across ADDITIONs (#135)
  • Added SQL migrations between schema ADDITIONs (#134)
  • Added --force flag (#141)

Internal changes

  • Replaced argot with scopt (#124)
  • Reimplemented --schema-by with proper Jackson converting (#125)
  • Removed AWS-related tools from up.playbooks (#146)

Version 0.5.0

12 Feb 10:10
Compare
Choose a tag to compare

New functionality

  • New --no-header flag to omit all comments in DDL file (#108)

Internal changes

  • Schema DDL bumped to 0.3.0 (#130)

Bug fixes

  • Fixed hardcoded _1 version in DDL files (#114)

Version 0.4.0

24 Dec 08:18
Compare
Choose a tag to compare

Adding an Apache Spark job and support for predefined enumerations

New functionality

  • Implemented Spark job wrapping Schema Guru (#10)
  • Added detection of known enum sets (#66)
  • Now deriving minLength and maxLength for string values (#107)
  • Schema URI comment in header of DDL replaced COMMENT ON statement (#105)

Updated CLI

  • Option --size renamed to --varchar-size (#98)
  • Disallowed conjunction of --with-json-paths and --split-product-types options (#99)

Internal changes

  • Split core, cli and subprojects (#9)
  • JsonSchema upgraded to a Monoid (#23)
  • Detection and merge algorithm refactored from transforming raw JSON to use of Schema Types (#52)

Bug fixes

  • Fixed misapplying of base64 pattern (#76)
  • Fixed incorrect schema for array structures (#81)

Version 0.3.0

29 Jul 18:47
Compare
Choose a tag to compare

Refactored CLI and new ddl subcommand using the schema-ddl project

Updated CLI

  • Moved existing functionality into derive command (#83)
  • No longer checking for .ndjson extension when --ndjson set (#74)
  • Unified CLI options (#90)
  • Optional self-desc JSON with --raw (#92)
  • Updated README to reflect new 0.3.0 (#93)

New features

  • Added ddl command which generates JSON Paths files and Redshift DDL (#84)

Bug fixes

  • Swapped all occurrences of "igluutils" with "schemaddl" to reflect renaming (#97)
  • Fixed ordering for JSONPaths file (#96)
  • Now correctly handling dir of JSONs (#91)
  • Changed default SchemaVer to 1-0-0 (#80)

Version 0.2.0

03 Jul 23:24
Compare
Choose a tag to compare

Significant new schema derivation functionality, plus a Spray-powered web UI.

Web UI

  • Created a single-page UI in plain JS (#39)
  • Added a sbt sub-project to schema-guru which embeds schema-guru in a Spray server (#53)
  • Added enum cardinality option to Web UI (#64)
    Supported dragging a JSON string (#57)
    Now outputting duplicated keys in Web UI (#61)

New derivation functionality

  • Refactored annotators to produce JNothing (#65)
  • Now detecting field contains base64 (#58)
  • Now auto-detecting enums with configurable cardinality tolerance (#36)
  • Now identifying and warning of misspelt properties (#31)

New input/output formats

  • Added configuration options for self-describing JSON Schema (#17, #19)
  • Added support of newline-delimited JSONs (#56)
  • Now getting SchemaVer name from JSON Path (#67)
  • Added ability to segment JSON instances based on a JSON property (#48)

Bug fixes

  • Now gracefully printing error message and exit app if invalid path given (#51)
  • Fixed incorrectly reduced integer and number (#60)

Build and test

  • Wrote tests for 0.2.0 milestone (#62)
  • Updated vagrant push to also build and publish webui artifact (#72)
  • Added NS and CORE settings to Vagrantfile to improve performance (#79)
  • Added Elastic Beanstalk deployment using Docker (#70)
  • Removed bin/jarx-stub.sh from project (#71)

Version 0.1.0

03 Jun 08:32
Compare
Choose a tag to compare

Initial release