All notable changes to this project since v2.0 will be documented in this file.
The format is based on Keep a Changelog v1, and this project adheres to Semantic Versioning v2.
- COVERAGE: 92.00% -- 345/375 lines in 15 files
- BRANCH COVERAGE: 80.26% -- 61/76 branches in 15 files
- 44.44% documented
- PR 130 Require MFA to publish to RubyGems.org by @pboling
- COVERAGE: 91.98% -- 344/374 lines in 15 files
- BRANCH COVERAGE: 80.26% -- 61/76 branches in 15 files
- 44.44% documented
- PR #123 Improve readability in #identity method of OmniAuth::Strategies::Identity by @Xeragus
- PR #124 Modernized gem structure, and updated dependencies for development by @pboling
- Gem releases are now cryptographically signed
- All ORM adapters (except NoBrainer) are tested in CI
- PR #127 Improved documentation by @pboling
- PR #128 Instructions for contributing by @pboling
- Deprecate
require 'omniauth/identity'
by @pboling- in favor of
require 'omniauth-identity'
(matching the gem name)
- in favor of
- PR #120 Fix: handling of SCRIPT_NAME for registration_path by @btalbot
- PR #122 Compatibility with rack v3.1+: use
req.params[]
instead ofreq[]
by @emon- See: rack/rack#2183
- [Sequel] Fixes loading the Sequel adapter, issue reported as #112
- 📝 Document the Database adapters and drivers the gem currently works with
- [Model] Fixes 2 issues raised in a comment on PR #108
- When
options[:on_validation]
is setnew
/save
/persisted?
logic is used. - When
options[:on_validation]
is not setcreate
/persisted?
logic is used.
- When
- [ActiveRecord] Fixed #110 which prevented
OmniAuth::Identity::Models::ActiveRecord
-based records from saving. - [CouchPotato] Fixed
OmniAuth::Identity::Models::CouchPotato
's#save
. - [Sequel] Fixed
OmniAuth::Identity::Models::Sequel
's#save
. - [Model] Only define
::create
,#save
, and#persisted?
when not already defined. - [Model] Restore original
info
functionality which setname
based onfirst_name
,last_name
, ornickname
- Upgraded to a newer
OmniAuth::Identity::SecurePassword
ripped from Rails 6-1-stable- Aeons ago the original was ripped from Rails 3.1, and frozen in time. While writing specs, it was discovered to be incompatible with this gem's Sequel adapter.
- Specs validate that the new version does work.
In any case, the ripped version is only used when the
has_secure_password
macro is not yet defined in the class.
- New specs to cover real use cases and implementations of each ORM model adapter that ships with the gem:
- ActiveRecord (Polyglot - Many Relational Databases)
- Sequel (Polyglot - Many Relational Databases)
- CouchPotato (CouchDB)
- Mongoid (MongoDB)
- NoBrainer (RethinkDB)
- Fix breaking changes introduced by #108 which prevented
:on_validation
from firing
- New (or finally documented) options:
:create_identity_link_text
defaults to'Create an Identity'
:registration_failure_message
defaults to'One or more fields were invalid'
:validation_failure_message
defaults to'Validation failed'
:title
defaults to'Identity Verification'
:registration_form_title
defaults to'Register Identity'
- Fix breaking changes introduced by #86's introduction of
:on_validation
- Define
#save
,#persisted?
and::create
onOmniauth::Identity::Model
- Add
@since
YARD tags to interface methods - Refactor
Omniauth::Strategies::Identity.registration_phase
to supportOmniauth::Identity::Model
-inheriting classes that do not define#save
.- This support will be dropped in v4.0.
- Add support for sequel ORM
- Add option
:on_validation
, which can be used to add a Captcha- See example here
- Add support for nobrainer, an ORM for RethinkDB
- Validation error message on invalid registration form submission
- ruby-head build... simply too slow
- Github Actions CI Build for Ruby 2.4, 3.0 and ruby-head
- Updated copyright
- Code style cleanup
- Added Code Climate "Quality"
- Updated Readme
- Github Actions CI Build for various Rubies
- Compatibility with Ruby 3
- Add option
:enable_login
to bypass OmniAuth disabling of GET method (defaulttrue
)- NOTE: This restores compatibility between this gem and the current, core, omniauth gem!
- README updates, including a rename to README.md
- CODE_OF_CONDUCT.md using v2
- Rubocop
- Github Actions for Continuous Integration
- Minimum Ruby version = 2.4
- Automatically adds "provider" => "identity" when "provider" column is detected
- Documentation in README.md
- Support for Rubies < 2.4
- Support for DataMapper, which died long ago.
- Unwanted git artifacts
- CHANGELOG to maintain a history of changes.
- Include mongoid-rspec gem.
- Fix failing Specs
- Update Spec syntax to RSpec 3
- Fix deprecation Warnings
- Updated mongoid_spec.rb to leverage mongoid-rspec features.
- Fix security warning about missing secret in session cookie.
- Dependency version limits so that the most up-to-date gem dependencies are used. (rspec 3+, mongo 2+, mongoid 7+, rake 13+, rack 2+, json 2+)
- Updated copyright information.
- Updated MongoMapper section of README to reflect its discontinued support.
- Gemfile.lock file
- MongoMapper support; unable to satisfy dependencies of both MongoMapper and Mongoid now that MongoMapper is no longer actively maintained.