Skip to content

v0.38.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Jun 14:48
· 121 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 and Date 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 of resource.subject.
  • Deprecated store.getResouceAsync() in favor of store.getResource().
  • Deprecated resource.pushPropval() in favor of resource.push().
  • Deprecated resource.removePropval() in favor of resource.remove().
  • Added resource.matchClass() method.
  • Added resource.setVersion() method.
  • Added collection.getMembersOnPage() method.
  • Added collection.totalPages.
  • BREAKING CHANGE: Renamed resource.getCommitsCollection to resource.getCommitsCollectionSubject.
  • BREAKING CHANGE: resource.getChildrenCollection() now returns a Promise<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.

Rust Cli & Lib

  • Remove process-management feature #324 #334
  • Add atomic_lib::client::search for building queries #778
  • Add atomic-cli search command #778
  • Migrate atomic_cli to use the derive API #890