Skip to content

Release v4.5.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 16:27
1d9d4db

Added

  • SceneDocumentChangeValidation.Validate in Cratis.Scene.Engine checks that a changed Scene document stays within what its screen, template or layout may change: inherited content is unchanged, a screen sets only what its template exposed, collection operations and editable fields stay within what was granted, and a re-exposure never passes on more than its owner. A server can now hold a client that bypassed the editor to the same rules. See https://github.com/Cratis/Scene/blob/main/Documentation/editing/server-validation.md (Cratis/StudioIssues#464)
  • EditingScope, ExposureDeclaration, ExposedProperty, InstanceContribution, ContributedItem and CollectionOperation in Cratis.Scene.Model, mirroring @cratis/scene.model (Cratis/StudioIssues#464)
  • A shared fixture corpus (document-change-fixtures.json) that the TypeScript editing engine and the .NET validator both run, so they agree on what is allowed and why (Cratis/StudioIssues#464)