All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added Rails 6 to the test matrix
0.6.0 - 2019-10-02
start workflow
now uses the graphql clientstart task
now uses the graphql clientkill workflow
now uses the graphql clientpause workflow
now uses the graphql clientresume workflow
now uses the graphql clientfind workflow
now uses the graphql client
0.5.3 - 2019-10-02
- Added support to activesupport 6.0.0.
- Decoded hashes are now instances of
ActiveSupport::HashWithIndifferentAccess
0.5.2 - 2019-09-19
- Fixed activesupport for ruby version <= 2.5.0
0.5.1 - 2019-09-18
- Added missing documentation for serialization.
- Added
custom_id
argument for workflow schedule.
- Removed code from the client that pertained to the client mode
0.5.0 - 2019-08-27
- No longer load JSON core extensions. Use our own refinements to avoid clashes with frameworks and user code.
- (De)Serialization support for instances of Class.
- Execution context for tasks and workflows
- Optional
on_error_retry_delay
method handling task failures and specifying how many seconds to wait before retrying. - Added scheduling tasks and workflows feature.
- Backport of ActiveSupport's
next_occurring
for older versions.
0.4.2 - 2019-08-05
- Added
intent_id
when dispatching workflows and tasks, sending events and pausing/resuming/stoping workflows.
- Fixed an error caused by a bad class name serialization when
as_json
is overrided (in rails for example).
0.4.1 - 2019-06-04
- Fix symbol json encoding breaking compatibility with some gems
- Added
event_data
property when sending event
0.4.0 - 2019-03-25
- Calling
#dispatch
on tasks now allows to process tasks asynchronously
- Update Zenaton engine URL to point to the new subdomain.
- When creating a
Wait
task which uses both#at
(to specify time) and either#day_of_month
or#monday
et al (to set day), it was surprising that the wait task only waited for next week/month when it would make sense to wait for later the same day. For example, on a Monday at 1 p.m, it waits for a couple of hours if you create a wait task with.monday(1).at("15")
. Otherwise the previous behaviour of waiting for next week is preserved. - Fix encoding of query parameters when searching for existing workflows
0.3.1 - 2018-10-02
- [Serialization]: Serializing ActiveModel object should no longer raise an error
0.3.0 - 2018-09-24
- Rename
on_day
method today_of_month
- Improve error messages by using the message contained in the API response when available.
- Rescue from new engine error when finding non existing workflow
0.2.3 - 2018-08-13
- Introduce this changelog file.
- Dependency on httparty
0.2.2 - 2018-08-10
- [Serialization]: Distinct objects, even if equal to one another, now map to distinct entries in the data store.
0.2.1 - 2018-08-10
- Serializer now handles the same objects as Ruby's built-in JSON library.
- Instructions on how to use the gem in a Ruby on Rails application.
- Fixed typos and broken links in the readme
0.2.0 - 2018-08-08
- New serialization format for array and hashes. Currently running workflows should still be able to deserialize data in the old format.
- Arrays and hashes with circular structures no longer cause infinite loops when serializing.
0.1.1 - 2018-08-03
- Run test suite against all currently supported ruby versions
- Readme has a rubygems badge showing the current released version.
- Serialization should now be working on Ruby 2.3.
- Initial release.