Releases: foundationdb-beam/ecto_foundationdb
Releases · foundationdb-beam/ecto_foundationdb
v0.5.0
What's Changed
- Improve docs by @jessestimpson in #36
- Update Ubuntu version in GH Actions by @jessestimpson in #38
- Refactor IndexInventory to generalized Metadata by @jessestimpson in #39
- Share metadata cache across open tenants of the same id by @jessestimpson in #40
- Rename field -- with DB rewrite by @jessestimpson in #41
- Use global metadataVersion key to optimize metadata cache management by @jessestimpson in #43
- Update docs by @jessestimpson in #44
- Upgrade erlfdb to 0.2.4 by @jessestimpson in #45
- Allow querying from source by @jessestimpson in #48
- Fix query between pks by @jessestimpson in #50
- Enhance support for querying without schema by @jessestimpson in #51
- Versionstamps by @jessestimpson in #52
- Fix flaky watch test: make sure we have the right ref by @jessestimpson in #53
- Use LiveView server hook to further generalize the approach by @jessestimpson in #54
- Fix bug in index creation on large objects by @jessestimpson in #55
- Fix typo constructing Metadata by @jessestimpson in #58
- Schema metadata by @jessestimpson in #59
Full Changelog: v0.4.0...v0.5.0
v0.4.0
v0.4 (2024-01-16)
Enhancements
- Large Structs: If your struct encodes to a size larger than 100,000 Bytes, it will now be split across several FDB key-values automatically.
Previously, EctoFDB did not attempt to detect this and allowed FoundationDB to throw error code 2103: "value_too_large - Value length exceeds limit".
See documentation for configuration options. EctoFoundationDB.Sandbox
now usesm:erlfdb_sandbox
. Sandbox directory name is now.erlfdb_sandbox
. Directories named.erlfdb
should be removed.
Bug fixes
- Upgrade erlfdb to v0.2.2
v0.3.1
v0.3.1 (2024-10-24)
Bug fixes
- Fixed consistency issue with index updates. Previously, the old index key was still queryable.
- Fixed write amplification issue when updating struct's non-indexed fields.
New Documentation
- Added
fdb_api_counting_text.exs
which tests and documents the:erlfdb
operations that our Layer is expected to make.
v0.3.0
Incompatibilities
Databases that have been created using a prior version of EctoFoundationDB will be broken on EctoFDB v0.3 and above. Please start a new database with EctoFDB v0.3. If you currently have a database on v0.2 or earlier, please submit an issue to discuss the upgrade path.
Enhancements
- Watches: Support for FDB Watches, which is like a database-driven PubSub on an Ecto struct.
- Directory Tenants: A new default backend for Multitenancy that is production-ready. Managed tenants have been moved to "Experimental" status.
@schema_context usetenant: true
is no longer required.- The
:open_db
option now defines a 1-arity function that accepts the Repo module.
New Documentation
v0.1.1
Requires Ecto 3.12.2 or greater
v0.1.0
Version 0.1.0 to hex.pm