Skip to content

Releases: cognitedata/neat

1.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 17:23
723bf57

Added

  • neat.physical_data_model.create() to create a solution data model
    from existing CDF views.
  • neat.cdf to inspect how many spaces, containers, views, and data
    models the CDF project uses versus its limits.
  • neat.cdf.analyze() to analyze the CDF project, including a check for
    empty spaces (NEAT-CDF-SPACES-001).
  • Caching of data models fetched from CDF, plus neat.refresh_cache()
    to refresh the cache before it expires.
  • fix=True on neat.physical_data_model.read.yaml(),
    neat.physical_data_model.read.json(),
    neat.physical_data_model.read.excel(), and
    neat.physical_data_model.read.cdf() to automatically apply fixes for
    fixable issues. Applied fixes are shown in neat.issues.
  • data_model_file on neat.physical_data_model.read.yaml() to choose
    which data model YAML to load when a directory contains more than one
    (toolkit format).
  • Support for governed spaces: Neat reads governedSpaces from the data
    model and treats containers and views in those spaces as part of the
    governed model (validates them locally and deploys them instead of
    skipping them).
  • External plugins for reading and writing physical data models are
    attached on the session.
  • New validators, reported in neat.issues:
  • NEAT-DMS-PERFORMANCE-001 (MissingRequiresConstraint) — recommends
    adding requires constraints to improve query performance.
  • NEAT-DMS-PERFORMANCE-002 (SuboptimalRequiresConstraint) —
    recommends removing requires constraints that are not optimal.
  • NEAT-DMS-PERFORMANCE-003 (UnresolvableQueryPerformance) — flags
    views whose query performance cannot be fixed by adding or removing
    requires constraints.
  • NEAT-DMS-PERFORMANCE-004 (MissingReverseDirectRelationTargetIndex)
    — recommends a cursorable index on direct relation properties that are
    targets of reverse direct relations.
  • NEAT-DMS-CONTAINER-005 (RequiresConstraintCycle) — detects cycles
    in container requires constraints (these are rejected by CDF).
  • NEAT-DMS-VIEW-003 (CyclicImplements) — detects cycles in view
    implements (these cannot be deployed).

1.0.68

Choose a tag to compare

@github-actions github-actions released this 26 Aug 10:10
4042d3e

Fixed

  • Fix spurious ArbitraryTypeWarning printed to the console when Neat
    is used with Cognite Toolkit

1.0.67

Choose a tag to compare

@github-actions github-actions released this 05 Aug 12:16
76d9473

Added

  • Neat will now validate and warn with a more informative warning if you
    have a reverse direct relation targeting another reverse direct
    relation.

1.0.66

Choose a tag to compare

@github-actions github-actions released this 25 Jun 15:33
41b96a1

Fixed

  • [alpha] Fix false positive NEAT-DMS-CONSISTENCY-001 warnings for views
    in governed spaces that are intentionally
    referenced by a data model in a different space.

1.0.65

Choose a tag to compare

@github-actions github-actions released this 25 Jun 15:26
d2817fc

Fixed

  • Fix import of data model YAML views that only use implements and
    omit the properties key

1.0.64

Choose a tag to compare

@github-actions github-actions released this 12 Jun 11:50
951d51a

Fixed

  • Support record in containers

1.0.63

Choose a tag to compare

@github-actions github-actions released this 02 Jun 19:32
c656c2b

Added

  • Caching of schemas

1.0.62

Choose a tag to compare

@github-actions github-actions released this 27 May 16:03
e306075

Improved

  • Export of views only data model to Excel

1.0.61

Choose a tag to compare

@github-actions github-actions released this 29 Apr 13:56
9ca60ac

Changed

  • Neat now requires cognite-sdk>v8. Note Neat only uses the
    cognite-sdk for authentication.

1.0.60

Choose a tag to compare

@github-actions github-actions released this 21 Apr 15:20
d0e914a

Fixed

  • Neat now correctly classifies changing autoIncrement in a container
    property as a breaking change (before it was a warning).