Releases: yousty/pg_eventstore
Releases · yousty/pg_eventstore
v2.0.0
- Breaking change:
pg_eventstorenow requires pg_cron extension; - Breaking change:
pg_eventstorenow requires PostgreSQL v16+; - Greatly decreased the number of connections, used by
pg_eventstoresubscriptions; - Breaking change: drop support of Ruby v3.0 and v3.1. The gem now requires Ruby v3.2+;
- Breaking change:
PgEventstore::Extensions::OptionsExtension::Optionsclass is no longer a child ofSetclass - it has independent implementation now; - Add support of Ruby v4.0;
Client#multiplemethod now acceptsread_onlykeyword argument. When it is set to true - transaction is run in read-only mode;- Breaking change: rework links implementation. This change boosts performance, but affects the database structure, so your previous database dumps become incompatible with this change.
PgEventstore::Event#link_idwas replaced byPgEventstore::Event#link_global_position;
Changes above require you to run migrations - bundle exec rake pg_eventstore:migrate. One of the migrations also migrates existing data using several concurrent workers(threads). You can adjust the number of workers using CONCURRENCY environment variable. Default number of concurrent workers is 10. Migrations require a downtime - no reads/writes should be performed during the time of the migrations, so plan your maintenance downtime accordingly.
v1.13.4
- Fix subscriptions potentially skipping events when multiple events are appended in concurrent transactions
v1.13.3
v1.13.2
v1.13.1
v1.13.0
- Introduce automatic subscriptions recovery from connection errors. This way if a subscription process loses the connection to the database - it will be trying to reconnect until the connection is restored.
- Resolve an ambiguity in usage of
PgEventstore.configmethod. It now returns the frozen object.
v1.12.0
v1.11.0
- Add a global position that caused an error to the subscription's error JSON info. This will help you understand what event caused your subscription to fail.
- Improve long payloads in JSON preview in admin web UI in the way it does not moves content out of the visible area.
- Admin UI: adjust events filtering and displaying of stream context, stream name, stream id and event type when values of them contain empty strings or non-displayable characters
v1.10.0
- Admin UI: Adjust
SubscriptionSet"Stop"/"Delete" buttons appearance. Now ifSubscriptionsSetis not alive anymore(the related process is dead or does not exist anymore) - "Delete" button is shown. IfSubscriptionSetis alive - "Stop" button is shown - Admin UI: fixed several potential XSS vulnerabilities
- Admin UI: Add "Copy to clipboard" button near stream id that copies ruby stream definition
- Admin UI: allow deletion of streams with empty attribute values