TrailBase v0.35.0

v0.35.0
Added 1
  • File writes are now supported as part of transactions and batch operations
Changed 4
  • Reduced the number of yields during record handling, reducing congestion; batch insert throughput roughly doubled and reads are about 10% faster
  • Batch insertions return a fake "skipped" id when an insertion conflict is ignored based on the API's policy, aligning with the transaction endpoint's behavior behavior changed · inferred, marked in the notes below
  • Internal SQL executor now allows more flexible error types, reducing the need for packing and unpacking
  • Dependencies updated

1 change to check, marked in the notes below

From TrailBase

  • Fewer yields and thus less congestion during record handling.
    • Doubles the insert throughput and results in roughly 10% faster reads.
  • Enable file writes as part of transactions and batch-operations.
  • Batch insertions now return a fake "skipped" id, when an insertion conflict was ignored based on the API's policy. behavior changed · inferred
    • This is more in line with the transaction endpoint's behavior but technically a breaking change. This will only matter to you if you're using batch insertions, with an ignore policy and relying on ids of ignored insertions being stripped from the response.
    • In the future, we may want to remove batch insertions entirely in favor of the newer and more general transactions.
  • Internal: allow more flexible error types from SQL executor reducing the need for (un)packing.
  • Update dependencies.

Full Changelog: https://github.com/trailbaseio/trailbase/compare/v0.34.7...v0.35.0

View original

Upgraded? How did it go?

Discussion