- BreakChange
Notificaiton.read!
method now required user argument.
Notificaiton.read!(current_user, params[:ids])
- Add
POST /notifications/read
API for markup ids as read.
POST /notifications/read { ids: [] }
- Require Rails >= 5.2.
- Fix primary key for use
bigint
column type.
- Dependency Rails >= 5;
- Dependency Rails ~> 5;
- Dependency Rails ~> 4.2;
- Fix for supports Rails 5.2;
- Change
belongs_to :target
with optional for comply with Rails 5 (#9)
- Fix migration warning in Rails 5.1
- Gem dependency for Rails 5.x.
Break Changes:
- Use Kaminari instead of will_paginate.
- Remove
config.per_page
config.
Break changes:
config.user_profile_url_method
now default is nil;config.authenticate_user_method
now default is nil;- It's will not disaply avatar, when you don't setup
user.profile_url
anduser.avatar_url
;
Bug fix:
- Bugfix with that "undefined method `notifications' for ".
- Group notification by days.
- Add mount Engine into routes.rb when run install command.
- Fix migration install command bug in Rails 4.x;
- Display no records message in notification list.
- Remove bad admin?, owner? method in notifications_controller.
- Add pagination.
- Add fragment cache for notification view.
- Add notify_type into notification row class name.
- Fix
rails g notifications:views
bug, and add default stylesheet. - Fix
rails g notifications:controllers
bug. - Add zh-CN I18n file, fix i18n generator.
- First release.