v0.38.0
github-actions
released this
08 Jun 14:48
·
134 commits
to develop
since this release
- Table + Ontology integration => way more consistent data modelling UX
- Drag & drop items in the sidebar + resource arrays
- Improved multi-resource handling in tables
- Various fixes, API updates and improvements
Atomic Browser
- #845 Add option to create instances and tables from the ontology view.
- #845 Add default Ontology option to drives.
- #841 Add better inputs for
Timestamp
andDate
datatypes. - #842 Add media picker for properties with classtype file.
- #850 Add drag & drop sorting to ResourceArray inputs.
- #757 Add drag & drop sorting to sidebar.
- #873 Add option to allow multiple resources in relation columns (Tables).
@tomic/lib
- #840 Added
store.search()
. - Deprecated
resource.getSubject()
in favor ofresource.subject
. - Deprecated
store.getResouceAsync()
in favor ofstore.getResource()
. - Deprecated
resource.pushPropval()
in favor ofresource.push()
. - Deprecated
resource.removePropval()
in favor ofresource.remove()
. - Added
resource.matchClass()
method. - Added
resource.setVersion()
method. - Added
collection.getMembersOnPage()
method. - Added
collection.totalPages
. - BREAKING CHANGE: Renamed
resource.getCommitsCollection
toresource.getCommitsCollectionSubject
. - BREAKING CHANGE:
resource.getChildrenCollection()
now returns aPromise<Collection>
instead of a subject. - BREAKING CHANGE:
resource.createSubject()
no longer accepts a class name as an argument and defaults to a fully random subject. - BREAKING CHANGE: Resource now keeps a reference to store internally, therefore all methods that required you to pass a store have been changed to not require a store.
These methods are:resource.canWrite()
resource.getHistory()
resource.getRights()
resource.destroy()
resource.save()
resource.set()
resource.removeClasses()
resource.addClasses()
@tomic/react
- Added
useCollectionPage
hook. - Fix bug where
useCollection
would fetch the collection twice on mount. useServerURL
no longer stores the server url in localstorage.
@tomic/cli
- #837 Fix timestamp is mapped to string instead of number.
- #831 Give clear error when trying to generate types from a non ontology resource
- #830 Create output folder if it doesn't exist
- Use type import in generated files.