Skip to content

v0.2.1

Choose a tag to compare

@ofriw ofriw released this 24 Mar 11:59
· 370 commits to main since this release

Added

  • FieldDef.validate enables custom field level validation
  • Before/After hooks for integrating with external build steps via
    LiveReloadOptions.beforeBuild and LiveReloadOptions.afterBuild. Use to
    easily integrate external build steps
  • CoreTypes are now exported by the top level mod.ts
  • It's now possible to set a custom user schema via SchemaManager.userSchema.
    GoatDB will use the passed schema when auto creating and interacting with user
    items.
  • Attempting to commit an item with an invalid data now throws with a detailed
    message when running in debug mode

Fixed

  • Live reload in debug server is now working again
  • Set types being deserialized incorrectly
  • Crash in useItem react hook when first passing undefined then a
    ManagedItem instance.