Skip to content

Releases: datafoodconsortium/connector-codegen

v1.3.0

Choose a tag to compare

@lecoqlibre lecoqlibre released this 15 Jun 16:03

To generate Ruby and TypeScript version based on the UML model version 3.5.0.

v1.2.0

Choose a tag to compare

@lecoqlibre lecoqlibre released this 10 Jun 14:14
6b69526

To generate Ruby and TypeScript version based on the UML model version 3.4.0.

Added

  • Queries for auto-importing (getImportedClasses, getImportedInterfaces, getImportedClassifiers, getImportedClassifiersWithoutPrimitives and getImportedTypesOfOperations).
  • Queries for operations to be implemented or declared by a class:
    • getAllImplementedInterfacesWithoutParents.
    • getOperationsToImplementOrDeclareFromInterfacesWithoutParents.
    • getOperationsToImplementOrDeclare.

Changed

TypeScript:

  • Ensure the entry point, src/index.ts, is always regenerated on fresh builds.

Fixed

TypeScript:

  • Fix setters for array properties so that all items are replaced.

v1.1.0

Choose a tag to compare

@lecoqlibre lecoqlibre released this 22 Oct 11:39

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

Choose a tag to compare

@lecoqlibre lecoqlibre released this 06 Nov 17:24

1.0.1 - 2023-11-06

Fixed

Ruby:

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

v1.0.0

Choose a tag to compare

@lecoqlibre lecoqlibre released this 06 Nov 15:01

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.