Skip to content

Releases: disintegrate-es/disintegrate

v4.0.0

02 Feb 17:41
9b2d8be

Choose a tag to compare

What's Changed

If you are upgrading from Disintegrate v3 to v4, you must migrate the database schema before starting the new version.

Use the provided Migrator utility:

use disintegrate_postgres::Migrator;
let migrator = Migrator::new(event_store.clone());
migrator.migrate_v3_x_x_to_v4_0_0().await?;

This updates the database to the schema required by v4.
⚠️ The migrator intentionally does not remove database objects that are no longer used by the library.
After verifying that the migration completed successfully and your application runs correctly, you can manually remove the obsolete objects:
Functions:

  • event_store_begin_epoch
  • event_store_current_epoch
    Table:
  • event_sequence

Full Changelog: v3.0.0...v4.0.0

v3.0.0

23 Dec 17:31
3aaea1a

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: V2.1.0...v3.0.0

V2.1.0

05 Jul 08:21
a6e3696

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: V2.0.0...V2.1.0

V2.0.0

22 Feb 20:00
3092950

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...V2.0.0

v1.0.0

04 Dec 14:31
b3cd871

Choose a tag to compare

What's Changed

  • PgListener: Added PgListener to enable real-time event handling by invoking the PgEventListener whenever an event occurs.
  • Generic Event ID: Added a generic type for event IDs, allowing the backend to use a custom ID type instead of the default i64.
  • Sparse Hash Index for Identifiers: We replaced the B-tree index with a sparse hash index for domain identifiers, improving memory efficiency and query performance. The old schema continues to work as expected, but to use the new index, drop the current index on the domain identifier columns.
  • State Store API refactor: The StateStore API now directly accepts a StreamQuery
  • Stream Query simplification: now the StreamQuery is a list of StreamFilters combined with "OR" logic. Each StreamFilter defines both the queried events and the domain identifiers:
    • Domain identifiers are combined with "AND".
    • Events that do not have the specified domain identifiers defined in the query are returned.
    • If an event contains a subset of the specified domain identifiers, only those identifiers must match.

Full Changelog: v0.8.0...v1.0.0

v0.8.0

20 Apr 09:48
9aacb1e

Choose a tag to compare

What's Changed

Full Changelog: v0.7.3...v0.8.0

v0.7.3

09 Mar 10:49
9fe1bf5

Choose a tag to compare

What's Changed

Full Changelog: v0.7.2...v0.7.3

v0.7.2

28 Jan 18:00
58a84ea

Choose a tag to compare

What's Changed

Full Changelog: v0.7.1...v0.7.2

v0.7.1

04 Jan 12:56
a11fb06

Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.7.1

v0.7.0

04 Jan 11:13
a6e17b1

Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.7.0