Skip to content

Releases: datafoodconsortium/connector-codegen

v1.1.0

22 Oct 11:39
Compare
Choose a tag to compare

Added

Ruby:

  • Add Import method reading JSON and returning objects. (PR #12).
  • Add SEMANTIC_TYPE constant to every semantic class.
  • Released versions 1.0.0-alpha.10, 1.0.0-alpha.11, 1.0.0-alpha.12, 1.0.0-alpha.13.

Php:

  • Add vocabulary thesaurus in tests.
  • Add fetch method in Connector.
  • Set default prefix value in Connector for dfc-f, dfc-m, dfc-pt and dfc-v.

Fixed

Ruby:

  • Fix random code changes of the generated code by sorting elements (e36a923).
  • Fix some tests so they can pass by changing the expected JSON (e36a923).
  • Enable loading of measures v1.0.2 (6ef17f7).
  • Improve SKOS Concept parsing (PR #10).
  • Allow output context to be configured (PR #8).
  • Replace revoked json-canonicalization version 0.3.2 with 1.0.0.

Php:

  • Fix missing $ in variable name and missing -> in generateAdderBody.

Changed

Ruby:

  • Preload context to avoid remote loading (4741acb).
  • Use nil as default value for all types.
  • Bump semantizer from 1.0.5 to 1.1.1.
  • Semantic objects can now be compared with ==.
  • Rewrite MiniTest tests as Rspec specs (PR #9).
  • Bump json-ld from 3.3.0 to 3.3.1.

v1.0.1

06 Nov 17:24
Compare
Choose a tag to compare

1.0.1 - 2023-11-06

Fixed

Ruby:

  • Update gemspec and lockfile.
  • Release alpha.9 and update changelog.

v1.0.0

06 Nov 15:01
Compare
Choose a tag to compare

1.0.0 - 2023-11-06

This release requires data-model-uml version 2.1.0.

Added

  • PHP generator.
  • Ruby generator.

Changed

  • Ruby:
    • Update dfc prefix and fix parser.
    • Update dfc prefix in skos_parser and change dfc-b:hasName.
    • Change dfc-b:hasName to dfc-b:name in tests.