Skip to content

[v0.4.7] Add Front-Matter-Markdown format to serialize JSON object

Compare
Choose a tag to compare
@sosuisen sosuisen released this 10 May 04:07
· 10 commits to main since this release

Features

  • Added serialize option to DatabaseOptions: specifying front-matter will cause JSON objects to be saved in Front-Matter-Markdown format.
    • The serialize format specified at create time is stored in .gitddb/info.json.
    • Added SerializeFormatLabel.
  • Added logToTransport option to DatabaseOptions
  • Added tsLogger property to GitDocumentDB class
  • Added runBeforeLiveSync property to Sync class, which allows you to specify a function that must be executed before a sync task is queued.
  • Changed the type of a property of schema of DatabaseOptions from JsonDiffOptions to JsonDiffPatchOptions.
  • The keyOfUniqueArray property can be used to specify the key stored in the array whose elements are not allowed to be duplicated during synchronization.

Fixes

  • Enabled array synchronization.