Skip to content

Releases: doorkeeper-gem/doorkeeper

v4.0.0.rc3

20 Apr 22:24
v4.0.0.rc3
Compare
Choose a tag to compare
v4.0.0.rc3 Pre-release
Pre-release
  • [#769] Revoke refresh token on access token use. To make use of the new config
    add previous_refresh_token column to oauth_access_tokens:

    rails generate doorkeeper:previous_refresh_token
    
  • [#811] Toughen parameters filter with exact match

  • [#813] Applications admin bugfix

  • [#799] Fix Ruby Warnings

  • Drop attr_accessible from models

Backward incompatible changes

  • [#730] Force all timezones to use UTC to prevent comparison issues.
  • [#802] Remove config.i18n.fallbacks from engine

v4.0.0.rc2

05 Apr 11:52
Compare
Choose a tag to compare
v4.0.0.rc2 Pre-release
Pre-release
  • Fix optional belongs_to for Rails 5

v4.0.0.rc1

26 Feb 03:37
Compare
Choose a tag to compare
v4.0.0.rc1 Pre-release
Pre-release

Backward incompatible changes

  • Drops support for Rails 4.1 and earlier
  • Drops support for Ruby 2.0
  • [#778] Bug fix: use the remaining time that a token is still valid when
    building the redirect URI for the implicit grant flow

Other changes

  • [#771] Validation error messages fixes
  • Adds foreign key constraints in generated migrations between tokens and
    grants, and applications
  • Support Rails 5

v3.1.0

23 Dec 18:11
Compare
Choose a tag to compare
  • [#736] Existing valid tokens are now reused in client_credentials flow
  • [#749] Allow user to raise authorization error with custom messages.
    Under resource_owner_authenticator block a user can
    raise Doorkeeper::Errors::DoorkeeperError.new('custom_message')
  • [#762] Check doesn’t abort the actual migration, so it runs
  • [#722] doorkeeper_forbidden_render_options now supports returning a 404 by
    specifying respond_not_found_when_forbidden: true in the
    doorkeeper_forbidden_render_options method.
  • [#734] Simplify and remove duplication in request strategy classes

v3.0.1

23 Dec 18:11
Compare
Choose a tag to compare
  • [#712] Wrap exchange of grant token for access token and access token refresh
    in transactions
  • [#704] Allow applications scopes to be mass assigned
  • [#707] Fixed order of Mixin inclusion and table_name configuration in models
  • [#712] Wrap access token and refresh grants in transactions
  • Adds JRuby support
  • Specs, views and documentation adjustments

v3.0.0: Release version 3.0.0.

19 Apr 03:21
Compare
Choose a tag to compare

Backward incompatible changes

  • [#678] Change application-specific scopes to take precedence over server-wide
    scopes. This removes the previous behavior where the intersection between
    application and server scopes was used.
  • [#648] Extracts mongodb ORMs to
    https://github.com/doorkeeper-gem/doorkeeper-mongodb. If you use ActiveRecord
    you don’t need to do any change, otherwise you will need to install the new
    plugin.
  • [#665] doorkeeper_unauthorized_render_options(error:) and
    doorkeeper_forbidden_render_options(error:) now accept error keyword
    argument.

Other changes

  • [#671] Fixes NoMethodError - undefined method 'getlocal' when calling
    the /oauth/token path. Switch from using a DateTime object to update
    AR to using a Time object. (Issue #668)
  • [#677] Support editing application-specific scopes via the standard forms
  • [#682] Pass error hash to Grape error!
  • [#683] Generate application secret/UID if fields are blank strings
  • Removes doorkeeper_for deprecation notice.
  • Remove applications.scopes upgrade notice.