Releases: cognitedata/neat
Releases · cognitedata/neat
Release list
1.1.0
Added
neat.physical_data_model.create()to create a solution data model
from existing CDF views.neat.cdfto 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=Trueonneat.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 inneat.issues.data_model_fileonneat.physical_data_model.read.yaml()to choose
which data model YAML to load when a directory contains more than one
(toolkitformat).- Support for governed spaces: Neat reads
governedSpacesfrom 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
addingrequiresconstraints to improve query performance.NEAT-DMS-PERFORMANCE-002(SuboptimalRequiresConstraint) —
recommends removingrequiresconstraints that are not optimal.NEAT-DMS-PERFORMANCE-003(UnresolvableQueryPerformance) — flags
views whose query performance cannot be fixed by adding or removing
requiresconstraints.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 containerrequiresconstraints (these are rejected by CDF).NEAT-DMS-VIEW-003(CyclicImplements) — detects cycles in view
implements(these cannot be deployed).
1.0.68
Fixed
- Fix spurious
ArbitraryTypeWarningprinted to the console when Neat
is used with Cognite Toolkit
1.0.67
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
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
Fixed
- Fix import of data model YAML views that only use
implementsand
omit thepropertieskey
1.0.64
1.0.63
1.0.62
Improved
- Export of views only data model to Excel
1.0.61
Changed
- Neat now requires
cognite-sdk>v8. Note Neat only uses the
cognite-sdk for authentication.
1.0.60
Fixed
- Neat now correctly classifies changing
autoIncrementin a container
property as a breaking change (before it was a warning).