Repository navigation
Release 4.0.0 - #71
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agentry answers under its own name:
Agentryinstead ofBrowser, browser's names kept as deprecated aliases until 5.0.Breaking
require "agentry"(a baregem "agentry") no longer definesBrowser. To keep the old names a while longer, writegem "agentry", require: "browser", or keeprequire: "browser/browser". The migration guide lists every rename and gives a prompt for a coding agent.browser/*require paths, onlybrowser,browser/browser,browser/aliases,browser/testingandbrowser/railsremain; others such asbrowser/middlewareorbrowser/versionraiseLoadError.Agentry::Chrome,Agentry::Bot…, even where code calls them throughBrowser, and the Railtie initializer is named"agentry".browser/*paths next to the browser gem, since both defineBrowser: a bundle can't hold both until 5.0.New
Agentry.new,Agentry::Bot,Agentry::Middleware…,require "agentry", theagentryhelper in controllers, views and middleware blocks, andconfig.agentry.Browser, thebrowserhelper,browserin a middleware block,config.browser) still work and warn once each underRUBYOPT=-W:deprecated.require "agentry/testing"andrequire "agentry/rails"work on their own.Fixed
config.agentry.default_url_optionsreaches the url helpers of middleware blocks, which no longer raise when the app has no Action Mailer.Once merged, the release workflow tags the merge commit v4.0.0 and publishes the gem, after the release environment's approval.