Skip to content

Commit

Permalink
Merge pull request #35 from RIPAGlobal/feature/v2.4.0
Browse files Browse the repository at this point in the history
Bump version to 2.4.0 for deprecation warning addition
  • Loading branch information
pond authored Oct 16, 2024
2 parents b239e6d + b400291 commit ec41d3d
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ Gemfile.lock

# built gems
*.gem

# macOS metadata
.DS_Store

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## v2.4.0 (2024-10-17)

Deprecation warnings for end-of-life of the gem under this name. No other changes. The GitHub repository is to be renamed and the gem released (starting at major version 3) as `omniauth-entra-id`, with some breaking changes but details of how to update will be provided in the new gem via an `UPGRADING.md` document.

## v2.3.0 (2024-07-16)

[Implements](https://github.com/RIPAGlobal/omniauth-azure-activedirectory-v2/pull/29) support for on-premise Active Directory installations via the `adfs` option; see `README.md` for details - thanks @frenkel!
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
[![Build Status](https://github.com/RIPAGlobal/omniauth-azure-activedirectory-v2/actions/workflows/master.yml/badge.svg)](https://github.com/RIPAGlobal/omniauth-azure-activedirectory-v2/actions)
[![License](https://img.shields.io/github/license/RIPAGlobal/omniauth-azure-activedirectory-v2.svg)](LICENSE.txt)

**IMPORTANT: V2 is end-of-life** and superseded by a renamed gem, since Microsoft in their "wisdom" renamed Azure AD to Entra ID. A gem using the old name will become increasingly hard for people to 'discover'. The major version bump provides an opportunity to fix a few things via breaking changes, too. Please switch to `omniauth-entra-id`.

OAuth 2 authentication with [Azure ActiveDirectory's V2 API](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-overview). Rationale:

* https://github.com/marknadig/omniauth-azure-oauth2 is no longer maintained.
Expand Down
2 changes: 2 additions & 0 deletions lib/omniauth/azure_activedirectory_v2.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
warn "[DEPRECATION] This gem has been renamed to 'omniauth-entra-id' and will no longer be supported. Please switch to 'omniauth-entra-id' as soon as possible."

require File.join('omniauth', 'azure_activedirectory_v2', 'version')
require File.join('omniauth', 'strategies', 'azure_activedirectory_v2')
4 changes: 2 additions & 2 deletions lib/omniauth/azure_activedirectory_v2/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module OmniAuth
module Azure
module Activedirectory
module V2
VERSION = "2.3.0"
DATE = "2024-07-16"
VERSION = "2.4.0"
DATE = "2024-10-17"
end
end
end
Expand Down
8 changes: 8 additions & 0 deletions omniauth-azure-activedirectory-v2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ require 'omniauth/azure_activedirectory_v2/version'
# https://guides.rubygems.org/specification-reference/
#
Gem::Specification.new do |s|
s.post_install_message = <<-MESSAGE
! The 'omniauth-azure-activedirectory-v2' gem has been deprecated and is
! replaced by 'omniauth-entra-id'.
!
! See: https://rubygems.org/gems/omniauth-entra-id
! And: https://github.com/RIPAGlobal/omniauth-entra-id
MESSAGE

s.name = 'omniauth-azure-activedirectory-v2'
s.version = OmniAuth::Azure::Activedirectory::V2::VERSION
s.date = OmniAuth::Azure::Activedirectory::V2::DATE
Expand Down

0 comments on commit ec41d3d

Please sign in to comment.