Skip to content

v1.2.1

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Nov 13:14
· 3 commits to main since this release

Schema as code: fixes

  • Renames of fields whose name starts with a digit (such as 2fa) no longer stop the start when the field has an index.
  • TypeScript migrations can read view collections, including in an apply that has a rename. Views also keep working when the same file changes the collections they join.
  • Removing views that read each other now works in any name order, and so does replacing a view with a new view over another new view.
  • records() in migrations reads matches in pages instead of loading them all into memory, and it accepts a collection id as well as a name.
  • schema types:
    • optional file fields accept null and "" on create, as the API does;
    • the generated tsType lines carry // prettier-ignore, so Prettier keeps them as written;
    • case-only renames (title → Title) keep working.
  • Docs:
    • docs/schema.md Limitations describe the cases that are still refused (with the database unchanged), and how to split them over two starts;
    • broken links in the design docs are fixed.

The SDK is unchanged (@iglo.tech/iglo.base 1.0.1).

linux-x64 and linux-arm64 executables, and the JSON Schema of the schema file (iglo.schema.json). Verify with: sha256sum -c SHA256SUMS.