Skip to content

Releases: cognitedata/neat

v0.77.4

22 May 14:15
3782fa9
Compare
Choose a tag to compare

[0.77.4] - 22-05-24

Improves

  • Information rules are now read using InformationRulesInput data class, replicate the form of DMS rules.
  • Information rules are now serialized using dedicated serializer class
  • Information rules are now validated using dedicated validator class
  • Defaulting to "enterprise" data model type and "partial" schema completeness set to avoid validation error on import

Fixed

  • Fixed bug in ExcelImporter when importing a data model with a last spreadsheet and no reference model.
    This would trigger an error RefMetadata sheet is missing or it failed even though the
    ReferenceMetadata sheet is not needed.

[0.77.3] - 14-05-24

Fixed

  • When using DMSExporter and importing a data model with a view pointing to a view not in the data model,
    it would fail to convert to an Information rules. This is now fixed.
  • In the ExcelExporter, the metadata sheet is now created correctly when you use the arguments dump_as="last",
    or dump_as="reference", combined with and without new_model_id. [Note] The order of the dump_as and
    new_model_id arguments have switched places. This is to make it more intuitive to use the ExcelExporter
    as new_model_id is only relevant if dump_as is set to last or reference.

[0.77.2] - 14-05-24

Added

  • Missing warning when RawFilter is used to warn users that the usage of this filter is not recommended.

Details

  • Neat 251 missing warning when detecting raw filter in post validation by @nikokaoja in #454
  • [NEAT-250] 🐛DMSImporter missing referenced views by @doctrino in #452
  • [NEAT-240] 🏃Setting up metadata ExcelExporter by @doctrino in #453
  • 🖇 add structure to info rules by @nikokaoja in #455
  • Neat 256 create serializer module for information rules by @nikokaoja in #456
  • [NEAT-218] 🐻‍❄️ Ensure Lifecycle Tutorials are up-to-date by @doctrino in #457
  • [NEAT-261] 🤴Data Modeling Principles by @doctrino in #458
  • 🚿Clean space by @doctrino in #461
  • [NEAT-237, NEAT-262] 🫠Adding Svein Harald Spreadsheets by @doctrino in #459
  • [NEAT-263] 🌳Document Extension/Model Validation by @doctrino in #462
  • Neat 257 create validation module for information rules by @nikokaoja in #463

Full Changelog: v0.77.1...v0.77.4

v0.77.1

14 May 14:35
28eb266
Compare
Choose a tag to compare

[0.77.1] - 14-05-24

Added

  • Support for RawFilters allow arbitrary filters to be applied to the data model.

v0.77

13 May 12:09
54fb2ec
Compare
Choose a tag to compare

Changed

  • [BREAKING] The subpackage cognite.neat.rules.models is reorganized. All imports using this subpackage must be
    updated.

Added

  • Support for exporting/importing Last spreadsheets in the ExcelExporter and ExcelImporter.
  • [BREAKING] As a result of the above, in the ExcelExporter the parameter is_reference is replaced by dump_as.
    To continue using the old behavior, set dump_as='reference'.
  • In the DMSImporter.from_data_model_id, now supports setting reference_model_id to download a solution model
    with a reference model.

Details

  • [NEAT-235] Excel Importer/Exporter Support Last 🛟 by @doctrino in #444
  • Neat 239 a has data filter can reference at most 10 views and or containers by @nikokaoja in #445
  • Remove unused parameter 🧹 by @doctrino in #447
  • [prep NEAT-236] Refactor DMS schema single model by @doctrino in #449
  • [NEAT-236] DMS Exporter Support downloading Solution with Enterprise 🧑‍🧒 by @doctrino in #448

Full Changelog: v0.76.2...v0.77

v0.76.2

07 May 12:48
28d582d
Compare
Choose a tag to compare

[0.76.2] - 06-05-24

Fixed

  • Added missing "Is Reference" parameter back to the ExcelExporterstep.

v0.76.1

06 May 15:23
3886591
Compare
Choose a tag to compare

[0.76.1] - 06-05-24

Changed

  • Updated DMS Architect Rules template to fit the new DMS Rules structure
  • Update Terminology/Rules to reflect new DMS Rules structure

v0.76.0

06 May 13:24
e5ca195
Compare
Choose a tag to compare

[0.76.0] - 06-05-24

Removed

  • [BREAKING] In DMSRules, default_view_version is no longer supported. Instead, you will now get a warning if view versions
    are not matching the data model version.

Added/Changed

  • [BREAKING] The following renaming of columns in DMSRules, properties sheet:
    • Relation -> Connection
    • ViewProperty -> View Property
    • ContainerProperty -> Container Property
    • IsList -> Is List
    • Class -> Class (linage)
    • Property -> Property (linage)
  • [BREAKING] The following renaming of columns in DMSRules, views sheet:
    • InModel -> In Model
    • Class -> Class (linage)
  • [BREAKING] The following renaming of columns in DMSRules, containers sheet:
    • Class -> Class (linage)
  • [BREAKING] Added support for listable direct relations in DMSRules. In addition, there is now a complete reimplementation
    of the connection column in the DMRRules properties sheet.
  • [BREAKING] Connection (former relation) can now be direct, reverse, or edge.
    While multiedge and reversedirectc have been removed. For more details,
    see the DMS Rules Details
    documentation.
  • In DMSRules, added support for setting containerId and nodeId in View.Filter. Earlier, only nodeType and
    hasData were supported which always used an implicit containerId and nodeId respectively. Now, the user can
    specify the node type and container id(s) by setting nodeType(my_space:my_node_type) and
    hasData(my_space:my_container_id, my_space:my_other_container_id).
  • Introduced, dataModelType in DMSRules and InformationRules to explicitly set the type of data model. This
    will be used to different types of validation and make the user aware of the type of data model they are working with.
  • In DMSExporter, created smart defaults for setting view.filters. This is now recommended that the user uses
    the default values for view.filters and only set them explicitly if they now very well what they are doing.

Improved

  • Steps are now categorized as current, legacy, and io steps
  • Workflow fails if one mix current and legacy steps in the same workflow

Fixed

  • DMSExporter now correctly exports direct relations with unknown source.

Added

  • DMSExporter now supports deletion of data model and data model components
  • DeleteDataModelFromCDF added to the step library

Changed

  • All NEAT importers does not have is_reference parameter in .to_rules() method. This has been moved
    to the ExcelExporter __init__ method. This is because this is the only place where this parameter was used.

Added

  • DMSExporter now supports skipping of export of node_types.

Fixed

  • When importing an Excel rules set with a reference model, the ExcelImporter would produce the warning
    The copy method is deprecated; use the model_copy instead. This is now fixed.

Fixed

  • Potential of having duplicated spaces are now fixed

Fixed

  • Rendering of correct metadata in UI for information architect

Added

  • Added OntologyToRules that works with V2 Rules (profiling)

Details

Full Changelog: v0.75.3...v0.76.0

v0.75.3

24 Apr 07:29
3b22e12
Compare
Choose a tag to compare

[0.75.3] - 23-05-24

Fixed

  • Names and descriptions were not considered for views and view properties

v0.75.1

23 Apr 12:50
8172ce4
Compare
Choose a tag to compare

[0.75.1] - 23-05-24

Fixed

  • Allowing that multiple View properties can map to the same Container property

v0.75.0

23 Apr 11:16
6fa0489
Compare
Choose a tag to compare

[0.75.0] - 23-05-24

Added

  • Added and moved all v1 rules related code base under legacy module

v0.74.0

23 Apr 08:19
b7f3c9b
Compare
Choose a tag to compare

[0.74.0] - 23-05-24

Added

  • added UI+api support for RulesV2. Read-only in the release , editable in the next release.