Enhancements:
- Enable Amazon SNS optional target to use aws-sdk v3 service specific gems
Bug Fixes:
- Fix error calling #notify for callbacks in tracked_option
- Fix unopened_group_member_notifier_count and opened_group_member_notifier_count error when using a custom table name
Enhancements:
- Add :pass_full_options option to NotificationApi#notify passing the entire options to notification targets
Bug Fixes:
- Add
{ optional: true }
for :group and :notifier when it is used with Rails 5
Enhancements:
- Add function to override the subject of notification email
Bug Fixes:
- Fix a bug which ActivityNotificaion.config.mailer configuration was ignored
Enhancements:
- Remove dependency on activerecord from gemspec
Enhancements:
- Allow use with Rails 5.1
- Allow mongoid models as Target and Notifiable models
- Add functions for automatic tracked notifications
- Enable render_notification_of view helper method to use :as_latest_group_member option
Bug Fixes:
- Fix illegal ActiveRecord query in Notification#uniq_keys and Subscription#uniq_keys for MySQL and PostgreSQL database
Breaking Changes:
- Update type of polymorphic id field in Notification and Subscription models from Integer to String
Enhancements:
- Suport Mongoid ORM to store Notification and Subscription records
- Separate Notification and Subscription models into ORMs and make them load from ORM selector
- Update query logic in Notification and Subscription models for Mongoid
- Make :dependent_notifications option in acts_as_notifiable separate into each target configuration
- Add overriding_notification_template_key to Notifiable model for Renderable
- Enable Devise integration to use models with single table inheritance
Enhancements:
- Support default Slack optional target with slack-notifier 2.0.0
Breaking Changes:
- Rename :slack_name initializing parameter and template parameter of default Slack optional target to :target_username
Enhancements:
- Add optional target function
- Optional target development framework
- Subscription management for optional targets
- Amazon SNS client as default optional target implementation
- Slack client as default optional target implementation
- Add :restrict_with_+ and :update_group_and_+ options to :dependent_notifications of acts_as_notifiable
Enhancements:
- Add subscription management framework
- Subscription management model and API
- Default subscription controllers, routing and views
- Add Subscriber role configuration to Target role
- Add :as_latest_group_member option to batch mailer API
- Add :group_expiry_delay option to notification API
Bug Fixes:
- Fix unserializable error in Target#send_batch_unopened_notification_email since unnecessary options are passed to mailer
Breaking Changes:
- Remove notifiable_type from the argument of overriden method or configured lambda function with :batch_email_allowed option in acts_as_target role
Bug Fixes:
- Fix migration and notification generator's path
Enhancements:
- Add function to send batch email notification
- Batch mailer API
- Default batch notification email templates
- Target role configuration for batch email notification
- Improve target API
- Add :reverse, :with_group_members, :as_latest_group_member and :custom_filter options to API loading notification index
- Add methods to get notifications for specified target type grouped by targets like Target#notification_index_map
- Arrange default notification email view templates
Breaking Changes:
- Use instance variable
@notification.notifiable
instead of@notifiable
in notification email templates
Enhancements:
- Improve notification API
- Add methods to count distinct group members or notifiers like group_member_notifier_count
- Update send_later argument of send_notification_email method to options hash argument
- Improve target API
- Update notification_index API to automatically load opened notifications with unopend notifications
- Improve acts_as roles
- Add acts_as_group role
- Add printable_name configuration for all roles
- Add :dependent_notifications option to acts_as_notifiable to make handle notifications with deleted notifiables
- Arrange default notification view templates
- Arrange bundled test application
- Make default rails version 5.0 and update gem dependency
Breaking Changes:
- Rename
config.opened_limit
configuration parameter toconfig.opened_index_limit
Enhancements:
- Improve controller action and notification API
- Add filter options to NotificationsController#open_all action and Target#open_all_of method
- Add source documentation with YARD
- Support rails 5.0 and update gem dependency
Bug Fixes:
- Fix Notification#notifiable_path method to be called with key
- Add including PolymorphicHelpers statement to seed.rb in test application to resolve String extention
Enhancements:
- Improve acts_as roles
- Enable models to be configured by acts_as role without including statement
- Disable email notification as default and add email configurations to acts_as roles
- Remove :skip_email option from acts_as_target
- Update Renderable#text method to use
"#{key}.text"
field in i18n properties
Bug Fixes:
- Fix wrong method name of Notification#notifiable_path
- First release