Skip to content

Releases: iTwin/saved-views

@itwin/[email protected]

24 Apr 09:50
Compare
Choose a tag to compare

Fixes

  • Bump @itwin/saved-views-client dependency version from 0.1.0 to 0.2.0

@itwin/[email protected]

08 Apr 16:10
Compare
Choose a tag to compare

Breaking changes

  • Component CSS styles are now scoped to itwin-svr CSS layer
  • Add @itwin/core-geometry as peer dependency
  • Add SavedViewsClient.uploadThumbnail method
  • Add SavedViewActions.uploadThumbnail method
  • SavedViewActions.createSavedView method now returns a promise which resolves into created Saved View id

Minor changes

  • Add view capturing functions
    • captureSavedViewData
    • captureSavedViewThumbnail
  • package.json: Define types field to help ES module users that have badly configured tsconfig.json

@itwin/[email protected]

08 Apr 16:06
Compare
Choose a tag to compare

Breaking changes

  • Remove SavedViewBase type
  • Omit savedViewData property from SavedViewListMinimalResponse type
  • Rename types
    • SavedViewWithDataMinimal -> SavedViewMinimal
    • SavedViewWithDataRepresentation -> SavedViewRepresentation
    • ViewDataItwin3d -> ViewDataITwin3d

Minor changes

  • Add new type guards to discern ViewData union members
    • isViewDataITwin3d
    • isViewDataITwinDrawing
    • isViewDataITwinSheet
  • package.json: Define types field to help ES module users that have badly configured tsconfig.json

Fixes

  • Fix DELETE operations throwing due to empty response body
  • Fix being unable to send Saved View to iTwin Saved Views service when savedViewData contains URL fields

@itwin/[email protected]

01 Mar 14:48
Compare
Choose a tag to compare

0.1.0 - 2024-02-02

Initial package release.

@itwin/[email protected]

01 Feb 13:34
Compare
Choose a tag to compare

0.1.0 - 2024-02-01

Initial package release.