Skip to content

Trysil 2.0.0

Choose a tag to compare

@davidlastrucci davidlastrucci released this 20 Sep 15:24
· 139 commits to master since this release

Trysil 2.0.0

A major release: 22 compilation breaks and 84 breaks the compiler does not catch, all described in the changelog.

Upgrading from 1.0.0 takes an afternoon. Start with the upgrade guide, which lists them in the order you meet them, and read the ## 2.0.0 section of CHANGELOG.md end to end: several changes are observable without being source-incompatible.

Highlights

  • Audit columns that mean something: Update<T> no longer rewrites the creation and delete pairs, and no change tracking column is read from a JSON body.
  • Currency end to end, as a fixed-point decimal on all seven engines.
  • Identifiers quoted in the statements Trysil builds: table, column, join alias, sequence, filter builder, ORDER BY.
  • Start-up refuses mappings that cannot work, instead of failing at the first query.
  • Text LOBs on all seven engines.
  • Transactions: RunInTransaction, TTTransaction with RollbackOnDestroy, and a rollback that rewinds what Trysil wrote to the entities.

Built for Delphi 11 and 13; the package sets for 10.3, 10.4 and 12 are kept aligned.