CHANGELOG.md in tobox-0.5.2 vs CHANGELOG.md in tobox-0.6.0

- old
+ new

@@ -1,6 +1,30 @@ ## [Unreleased] +## [0.6.0] - 2024-10-25 + +### Features + +#### Batch Events handling + +It's now possible to handle N events at a time. + +```ruby +# tobox.rb + +batch_size 10 # fetching 10 events at a time + +on("user_created", "user_updated") do |*events| # 10 events at most + if events.size == 1 + DataLakeService.user_created(events.first) + else + DataLakeService.batch_users_created(events) + end +end +``` + +This also supports raising errors only for a subset of the events which failed processing (more info in the README). + ## [0.5.2] - 2024-10-22 ## Bugfixes * prevent `:max_connections` from being overidden.