User-visible changes worth mentioning.
- Drop end-of-life'd versions of rails: 5.2 and 6.0, and ruby 3.0
- Test with current versions of Rails: 6.1, 7.0, 7.1
- Convert project to GitHub Actions
- Mark 3 tests as pending to the open bug on deleted models
- Add webrick as a development dependency
- [#363] Fix:
warning: already initialized constant Merit::*
messages - [#357] Fix
merit_actions
migration template
- [#355, #356] Add index on merit_actions.processed column
- [#354] Fix Rails autoloader deprecation warnings
Requires wrapping
Merit::Badge.create
withRails.application.reloader.to_prepare
- Test with Ruby 3 and Rails 6.1 (excludes Rails 5.2 with Ruby 3, that errors out)
- [#288] Don’t send “removed badge” notifications when user doesn’t have the badge
- [#351] Fix bug on generating migrations
- Stop testing on Rails 5.1
- Drop support for mongoid
- Drop v2 upgrade generators
- Enable Zeitwerk gem mode (and renames internal merit constants)
- Test against Ruby 2.6 and Rails 6
- Use
find_each
in favor ofmap
inMerit::Action.check_unprocessed
- Allow finding badges defined with symbol names
- Remove
Badge#last_granted
method (deprecated in merit <2.0)
- [#287] Make Sash an optional dependency, fixing issues in Rails 5.1.
- [#297] Initialize merit once both for API or non-API apps
- Updates dependencies
- [#282] Run action controller load hook only once
- [#284] Add migration version to active record migrations
- Add RELEASING.md document
- [#276] Drops Rails <5 version support. Drops deprecated
action_filter
call. - Fix deprecation warnings
- [#260] Works with Rails 5
- [#247] Fix Ruby warnings
- [#252] Bug fix:
uninitialized constant Merit::PointRules (NameError)
while installing merit.
- [#215] Bug fix in API where a
BadgeSash
would be created without failures with a nilbadge_id
. - Add validations to
BadgesSash
- Rename generated migration files to explicitly name merit
- README improvements
- [#218] Implement I18n for internationalization support
- Tests with Ruby 2.2. Ignores EOL Rails 4.0.
- Adds CONTRIBUTING document
- [#204] Sash creation bugfix on certain conditions
- [733da49] Improve examples and docs for points
on
option
- [#206] Allow Rule to find Badge by
badge_id
- [#197] SVG badges in favor of PNG in the readme.
- [#195] migrations refactor
- Tests with Rails 4.2
- [#181] Rescue
ActiveRecord
only if constant is defined (doesn't trigger errors in other ORMs). - [#184] Namespaces
Badge
calls inside ofMerit::
. Prevents errors if the app using merit has a model named Badge - [#189] Fixes issue when objects needed to grant reputation are already deleted from the database. Before, merit was either failing with exceptions or ignoring reputation changes; now it works as expected.
- Improves observer API.
- [#158] Migrations bug fix.
- [#148] Mongoid support
- Docs, tests, internals polishing.
- [#146] Fixes loading paths
- [#140] Points Categories feature
- Removes deprecated methods
- [#134] Bug fix: find sashes only when rules apply.
- Adds deprecation warnings.
- [#128] Finishes Observer implementation so client applications can be notified when reputation changes.
- [#123] Work towards mongoid support. Still work in progress.
- [#121] Adds "Uninstall Merit" rake task.
- [#124] Thread safe configuration instance variable.
- [#133] Fixes Rails 4 + protected_attributes bug.
- Starts this Changelog!