Releases: datafoodconsortium/connector-typescript
Releases · datafoodconsortium/connector-typescript
v1.0.0-alpha.9
Changed
- Update
rdf-ext
to version 2.5.1. - Update
@types/rdf-ext
to version 2.5.0. - Update
@virtual-assembly/semantizer
to version alpha.3 (use GitHub repository). - Generate the code from the code generator.
- Generated from the next branch of UML data model edac402.
Added
Address
:- latitute
- longitude
- region
Agent
:- logo
PlannedConsumptionFlow
:- quantity
- consumes
PlannedProductionFlow
:- quantity
- produces
PlannedTransformation
:- hasIncome
- hasOutcome
- hasTransformationType
DefinedProduct
:- image
Order
:- date
- hasFulfilmentStatus
- hasOrderStatus
- hasPaymentStatus
- orderNumber
See the SUPPORTED.md file comparison from main to next.
v1.0.0-alpha.8 - NOT SYNC WITH CODEGEN
Added
- Add
DefinedProduct
support for images url.
v1.0.0-alpha.7 - NOT SYNC WITH CODEGEN
Fixed
- Compile sources.
v1.0.0-alpha.6 - NOT SYNC WITH CODEGEN
Fixed
- Allow to create SKOSConcept in the factory.
v1.0.0-alpha.5
1.0.0-alpha.5 - 2024-01-13
Fixed
- Support loading taxonomies with unknown parsed type (ex: owl:Class).
Changed
- Use latest taxonomy files in tests.
Added
- Add vocabulary taxonomy in tests (for later).
v1.0.0-alpha.4
Fixed
- The dfc-b prefix points to the business ontology, not the full model.
v1.0.0-alpha.3
Fixed
- The importer is able to import only one blank node.
Changed
- Use the new DFC semantic resources:
- https://github.com/datafoodconsortium/ontology/releases/latest/download/DFC_FullModel.owl
- https://github.com/datafoodconsortium/taxonomies/releases/latest/download/productTypes.rdf
- https://github.com/datafoodconsortium/taxonomies/releases/latest/download/measures.rdf
- https://github.com/datafoodconsortium/taxonomies/releases/latest/download/facets.rdf
- Update thesaurus with the new resources (test directory).
- Update context to https://www.datafoodconsortium.org (was previously static.datafoodconsortium.org).
- Update jest to version >= 29.5.0.
- Expect exceptions in tests for not implemented features.
- Increase the timeout for all the tests (10sec instead of 5sec).
v1.0.0-alpha.2
Changed
- index does not export Semanticable anymore.
- update @types/rdf-ext to version 2.2.0.
- git ignore .code-workspace files.
v1.0.0-alpha.1
Added
- Add optional parameters in constructors.
- Add the import functions:
- We use the node fetch API by default, be sure to have node >= v17.15 installed.
- Add the
importOne
andimportOneTyped
methods to get only one result.
- Add a store:
IConnectorStore
ConnectorStoreMap
: basic store implemented using a Map.
- Add a factory:
IConnectorFactory
ConnectorFactory
- Support
Catalog
,SaleSession
,Order
andOrderLine
. - Add copy constructor.
- Test all classes.
- Add create functions in the
Connector
class. - Export interfaces and
Semanticable
. - Add interfaces for options:
IConnectorExporterOptions
IConnectorExportOptions
IConnectorImporterOptions
IConnectorImportOptions
IGetterOptions
Fixed
- The getters for number do return a number and not a string.
- Make the test/thesaurus to be valid JSON-LD compliant files.
Changed
- Connector is not a singleton anymore.
- The interfaces of the concreate classes directly inherit from
Semanticable
. - We now use RDFJS parser and serializer.
- Use
@virtual_assembly/semantizer v1.0.0-alpha.1
(RDFJS). - License to MIT.
README.md
andCHANGELOG.md
files.
v1.0.0-alpha
Initial release.