Skip to content

Releases: owen2345/pub_sub_model_sync

Release 1.1.0

25 Oct 09:10
Compare
Choose a tag to compare

2021-10-25

New Features
  • change transactions_max_buffer default value to 1 to deliver notifications once they were called (831729e)
  • use after_commit instead of before_commit callback and remove the horrible AR patch for rails 4 (753b39a)

Release 1.0.1

20 Aug 12:09
Compare
Choose a tag to compare

2021-08-20

Chores
Documentation Changes
  • improve code documentation (6568126)
  • improve code documentation (867a0f8)
Refactors
  • improve service exit when running in k8s (a9ee09f)

Release 1.0

14 Jun 15:48
Compare
Choose a tag to compare

2021-06-14

Chores
Documentation Changes
  • improve code documentation (03546eb)
New Features
  • payloads backward compatibility (4d63649)
  • improve error message when no values for identifiers (e67499c)
  • make reusable parse_mapping_for to convert sync mapping into hash with values (83fd33f)
  • initialize transactions with emoty key to be filled by the first ps_publish or ps_class_publish (a44a5c1)
  • rename ps_on_crud_event into ps_after_commit more understandable (d21e70b)
  • Add block support as the callback when subscribing (3e973a7)
  • add max_buffer for pubsub transactions (609504b)
  • add "ugly" Rails 4 compatibility to prepare notifications before_commit. By this way sql transaction will be rollbacked if fails when building notifications (2fadfe2)
  • rails 4 compatibility (391e597)
  • rename ps_crud_publish into ps_on_crud_event for better understanding (754b85b)
  • improve transactions code style and update tests (bfeb075)
  • refactored transactions to manage better inner notifications (93d987b)
  • support for plain objects (non DB models) (c608cdd)
  • add log messages when subscribing to topics (a0bcc6a)
  • increase error retries into 5 and add delays between retries (26a2bd9)
  • refactor subscriber to reduce ambiguity and be more readable (5a57864)
  • improve publisher method args to be more readable (a79d101)
  • rename ps_publish_event into ps_publish (shorter) (61d5b6a)
  • refactor publisher to reduce abstraction (publish events on model callbacks) (e943e8d)
Bug Fixes
  • include missing active_record dependency for rails 4 (a1ebd49)
  • typo (5e9d7d0)
  • missing ActiveRecord (7e928dd)
  • fix transactions to avoid sending duplicated notifications (645df85)
  • rails 4 unsupported method (009f3ea)
Other Changes
  • improve documentation (b16f994)
  • destroy! on crud actions to raise default error messages (eb9e0b6)
  • update readme (b510a7b)
  • owen2345/pub_sub_model_sync into feature/release-0.7 (21cb9b7)
  • remove ps_skip_publish? callback (659bc7b)
  • before_commit compatibility (ac55f13)
  • fix conflicts (d6dd875)
  • validate message ordering when crud notifications (3d0a8e7)
  • add default_topic_name config opyion (2e19e46)
Refactors
  • retry message processing when failed due to DB connection issues (63c6d51)
Code Style Changes
Tests