Sourced from rack's changelog.
[3.1.8] - 2024-10-14
Fixed
- Resolve deprecation warnings about uri
DEFAULT_PARSER
. (#2249, [@earlopain
])
0eabeb7
Bump patch version.f4f7103
Resolve deprecation warnings about uri DEFAULT_PARSER
(#2242) (#2249)Sourced from rubocop-rspec's releases.
RuboCop RSpec v3.2.0
- Fix
RSpec/VoidExpect
to only operate inside an example block. (@corsonknowles
)- Change
RSpec/ContextWording
cop to always report an offense when bothPrefixes
andAllowedPatterns
are empty. (@ydah
)- Add support for
and
andor
compound matchers toRSpec/ChangeByZero
cop. (@ydah
)
Sourced from rubocop-rspec's changelog.
3.2.0 (2024-10-26)
- Fix
RSpec/VoidExpect
to only operate inside an example block. ([@corsonknowles
])- Change
RSpec/ContextWording
cop to always report an offense when bothPrefixes
andAllowedPatterns
are empty. ([@ydah
])- Add support for
and
andor
compound matchers toRSpec/ChangeByZero
cop. ([@ydah
])
50ac5ab
Merge pull request #1987
from rubocop/release39b0d3f
Release v3.2.06584b4a
Merge pull request #1985
from rubocop/revert-unwanted-change530af44
Merge pull request #1975
from corsonknowles/require_void_expect_acts_inside_a...6cbe423
Update CHANGELOG.mdeb61748
Revert an change that would conceal unintentional RSpec syntax427d19d
Merge branch 'master' into
require_void_expect_acts_inside_an_example_block954a45f
Merge pull request #1984
from rubocop/fixcbz130c564
Fix an error for RSpec/ChangeByZero
when change (...)
.by (0)
and `change...ff444c2
Merge pull request #1982
from rubocop/improve-cwcSourced from json-schema's changelog.
v5.0.1 (2024-10-03)
Fixed bugs:
- Load rake tasks from voxpupuli-rubocop #527 (bastelfreak)
Sourced from rubocop's releases.
RuboCop 1.68
New features
- #13050: Add new
Style/BitwisePredicate
cop. (@koic
)- #12140: Add new
Style/CombinableDefined
cop. (@dvandersluis
)- #12988: Add new
Style/AmbiguousEndlessMethodDefinition
cop. (@dvandersluis
)- #11514: Add new
Lint/UnescapedBracketInRegexp
cop. (@dvandersluis
)- #13360: Add
AllowSteepAnnotation
config option toLayout/LeadingCommentSpace
. (@tk0miya
)- #13146: Add new
IgnoreDuplicateElseBranch
option toLint/DuplicateBranch
. (@fatkodima
)- #13171: Add new
Style/SafeNavigationChainLength
cop. (@fatkodima
)- #13252: Add new
Style/KeywordArgumentsMerging
cop. (@fatkodima
)Bug fixes
- #13401: Fix a false negative for
Style/RedundantLineContinuation
when there is a line continuation at the EOF. (@koic
)- #13368: Fix an incorrect autocorrect for
Naming/BlockForwarding
withStyle/ExplicitBlockArgument
. (@koic
)- #13391: Fix deserialization of unknown encoding offenses. (
@earlopain
)- #13348: Ensure
Style/BlockDelimiters
autocorrection does not move other code between the block and comment. (@dvandersluis
)- #13382: Fix an error during error handling for custom ruby extractors when the extractor is a class. (
@earlopain
)- #13309: Fix a false negative for
Lint/UselessAssignment
cop when there is a useless assignment followed by a block. (@pCosta99
)- #13255: Fix false negatives for
Style/MapIntoArray
when using non-splatted arguments. (@vlad-pisanov
)- #13356: Fix a false positive for
Layout/SpaceBeforeBrackets
when there is a dot before[]=
. (@earlopain
)- #13365: Fix false positives for
Lint/SafeNavigationConsistency
when using safe navigation on the LHS with operator method on the RHS of&&
. (@koic
)- #13390: Fix false positives for
Style/GuardClause
when using a local variable assigned in a conditional expression in a branch. (@koic
)- #13337: Fix false positives for
Style/RedundantLineContinuation
when required line continuations for&&
is used with an assignment after a line break. (@koic
)- #13387: Fix false positives in
Style/RedundantParentheses
when parentheses are used around method chain withdo
...end
block in keyword argument. (@koic
)- #13341: Fix false positives for
Lint/SafeNavigationChain
when a safe navigation operator is used with a method call as the RHS operand of&&
for the same receiver. (@koic
)- #13324: Fix
--disable-uncorrectable
to not insert a comment inside a string continuation. (@dvandersluis
)- #13364: Fix incorrect autocorrect with
Lint/UselessAssignment
a multiple assignment orfor
contains an inner assignment. (@dvandersluis
)- #13353: Fix an incorrect autocorrect for
Style/BlockDelimiters
whenEnforcedStyle: semantic
is set and used withLayout/SpaceInsideBlockBraces
. (@koic
)- #13361: Fix false positives for
Style/RedundantInterpolationUnfreeze
andStyle/RedundantFreeze
when strings contain interpolated global, instance, and class variables. (@vlad-pisanov
)- #13343: Prevent
Layout/LineLength
from breaking up a method with arguments chained onto a heredoc delimiter. (@dvandersluis
)- #13374: Return exit code 0 with
--display-only-correctable
and--display-only-safe-correctable
when no offenses are displayed. (@dvandersluis
)- #13193: Fix false positive in
Style/MultipleComparison
whenComparisonsThreshold
exceeds 2. (@fatkodima
,@vlad-pisanov
)- #13325: Fix an incorrect autocorrect for
Lint/NonAtomicFileOperation
when using a postfixunless
for file existence checks before creating a file, in cases withDir.mkdir
. ([@kotaro0522
][])- #13397: Update
PercentLiteralCorrector
to be able to write pairs of delimiters without excessive escaping. (@dvandersluis
)- #13336: Update
Style/SafeNavigation
to not autocorrect if the RHS of anand
node is anor
node. (@dvandersluis
)- #13378: When removing parens in
Style/TernaryParentheses
with asend
node condition, ensure its arguments are parenthesized. (@dvandersluis
)Changes
- #13347: When running
rubocop -V
, show the analysis Ruby version of the current directory. (@earlopain
)
... (truncated)
Sourced from rubocop's changelog.
1.68.0 (2024-10-31)
New features
- #13050: Add new
Style/BitwisePredicate
cop. ([@koic
][])- #12140: Add new
Style/CombinableDefined
cop. ([@dvandersluis
][])- #12988: Add new
Style/AmbiguousEndlessMethodDefinition
cop. ([@dvandersluis
][])- #11514: Add new
Lint/UnescapedBracketInRegexp
cop. ([@dvandersluis
][])- #13360: Add
AllowSteepAnnotation
config option toLayout/LeadingCommentSpace
. ([@tk0miya
][])- #13146: Add new
IgnoreDuplicateElseBranch
option toLint/DuplicateBranch
. ([@fatkodima
][])- #13171: Add new
Style/SafeNavigationChainLength
cop. ([@fatkodima
][])- #13252: Add new
Style/KeywordArgumentsMerging
cop. ([@fatkodima
][])Bug fixes
- #13401: Fix a false negative for
Style/RedundantLineContinuation
when there is a line continuation at the EOF. ([@koic
][])- #13368: Fix an incorrect autocorrect for
Naming/BlockForwarding
withStyle/ExplicitBlockArgument
. ([@koic
][])- #13391: Fix deserialization of unknown encoding offenses. ([
@earlopain
][])- #13348: Ensure
Style/BlockDelimiters
autocorrection does not move other code between the block and comment. ([@dvandersluis
][])- #13382: Fix an error during error handling for custom ruby extractors when the extractor is a class. ([
@earlopain
][])- #13309: Fix a false negative for
Lint/UselessAssignment
cop when there is a useless assignment followed by a block. ([@pCosta99
][])- #13255: Fix false negatives for
Style/MapIntoArray
when using non-splatted arguments. ([@vlad-pisanov
][])- #13356: Fix a false positive for
Layout/SpaceBeforeBrackets
when there is a dot before[]=
. ([@earlopain
][])- #13365: Fix false positives for
Lint/SafeNavigationConsistency
when using safe navigation on the LHS with operator method on the RHS of&&
. ([@koic
][])- #13390: Fix false positives for
Style/GuardClause
when using a local variable assigned in a conditional expression in a branch. ([@koic
][])- #13337: Fix false positives for
Style/RedundantLineContinuation
when required line continuations for&&
is used with an assignment after a line break. ([@koic
][])- #13387: Fix false positives in
Style/RedundantParentheses
when parentheses are used around method chain withdo
...end
block in keyword argument. ([@koic
][])- #13341: Fix false positives for
Lint/SafeNavigationChain
when a safe navigation operator is used with a method call as the RHS operand of&&
for the same receiver. ([@koic
][])- #13324: Fix
--disable-uncorrectable
to not insert a comment inside a string continuation. ([@dvandersluis
][])- #13364: Fix incorrect autocorrect with
Lint/UselessAssignment
a multiple assignment orfor
contains an inner assignment. ([@dvandersluis
][])- #13353: Fix an incorrect autocorrect for
Style/BlockDelimiters
whenEnforcedStyle: semantic
is set and used withLayout/SpaceInsideBlockBraces
. ([@koic
][])- #13361: Fix false positives for
Style/RedundantInterpolationUnfreeze
andStyle/RedundantFreeze
when strings contain interpolated global, instance, and class variables. ([@vlad-pisanov
][])- #13343: Prevent
Layout/LineLength
from breaking up a method with arguments chained onto a heredoc delimiter. ([@dvandersluis
][])- #13374: Return exit code 0 with
--display-only-correctable
and--display-only-safe-correctable
when no offenses are displayed. ([@dvandersluis
][])- #13193: Fix false positive in
Style/MultipleComparison
whenComparisonsThreshold
exceeds 2. ([@fatkodima
][],[@vlad-pisanov
][])- #13325: Fix an incorrect autocorrect for
Lint/NonAtomicFileOperation
when using a postfixunless
for file existence checks before creating a file, in cases withDir.mkdir
. ([@kotaro0522
][])- #13397: Update
PercentLiteralCorrector
to be able to write pairs of delimiters without excessive escaping. ([@dvandersluis
][])- #13336: Update
Style/SafeNavigation
to not autocorrect if the RHS of anand
node is anor
node. ([@dvandersluis
][])- #13378: When removing parens in
Style/TernaryParentheses
with asend
node condition, ensure its arguments are parenthesized. ([@dvandersluis
][])Changes
- #13347: When running
rubocop -V
, show the analysis Ruby version of the current directory. ([@earlopain
][])1.67.0 (2024-10-15)
New features
... (truncated)
7d35ef7
Cut 1.683033deb
Update Changelog37e9e5f
[Fix #12140]
Add new Style/CombinableDefined
cop.f8aa27f
Fix a false negative for
Style/RedundantLineContinuation
d033a5e
Merge pull request #13400
from Earlopain/offense-cop-name-docsfaaa349
Fix docs for Offense.cop_name
85f9405
Fix deserialization of unknown encoding offensesd499d80
[Fix #13387]
Fix false positives for Style/RedundantParentheses
3e855b0
Merge pull request #13399
from dvandersluis/fix-and-offense-typo1f58513
Fix typos and offense
instead of an
offense
.Sourced from composer/composer's releases.
2.8.2
- Fixed crash while suggesting providers if they have no description (#12152)
- Fixed issues creating lock files violating the schema in some circumstances (#12149)
- Fixed
create-project
regression in 2.8.1 when using path repos with relative paths (#12150)- Fixed ctrl-C aborts not working inside text prompts (#12106)
- Fixed git failing silently when git cannot read a repo due to ownership violations (#12178)
- Fixed handling of signals in non-PHP binaries run via proxies (#12176)
Full Changelog: https://github.com/composer/composer/compare/2.8.1...2.8.2
2.8.1
- Fixed
init
command regression when no license is provided (#12145)- Fixed
--strict-ambiguous
flag handling whereas it sometimes did not report all issues (#12148)- Fixed
create-project
to inherit the target folder's permissions for installed project files (#12146)- Fixed a few cases where the prompt for using a parent dir's composer.json fails to work correctly (#8023)
Full Changelog: https://github.com/composer/composer/compare/2.8.0...2.8.1
2.8.0
- BC Warning: Fixed
https_proxy
env var falling back tohttp_proxy
's value. The fallback and warning have now been removed per the 2.7.3 release notes (#11938, #11915)- Added
--patch-only
flag to theupdate
command to restrict updates to patch versions and make an update of all deps safer (#12122)- Added
--abandoned
flag to theaudit
command to configure how abandoned packages should be treated, overriding theaudit.abandoned
config setting (#12091)- Added
--ignore-severity
flag to theaudit
command to ignore one or more advisory severities (#12132)- Added
--bump-after-update
flag to theupdate
command to run bump after the update is done (#11942)- Added a way to control which
scripts
receive additional CLI arguments and where they appear in the command, see the docs (#12086)- Added
allow-missing-requirements
config setting to skip the error when the lock file is not fulfilling the composer.json's dependencies (#11966)- Added a JSON schema for the composer.lock file (#12123)
- Added better support for Bitbucket app passwords when cloning repos / installing from source (#12103)
- Added
--type
flag to filter packages by type(s) in thereinstall
command (#12114)- Added
--strict-ambiguous
flag to thedump-autoload
command to make it return with an error code if duplicate classes are found (#12119)- Added warning in
dump-autoload
when vendor files have been deleted (#12139)- Added warnings for each missing platform package when running
create-project
to avoid having to run it again and again (#12120)- Added sorting of packages in allow-plugins when
sort-packages
is enabled (#11348)- Added suggestion of provider packages / polyfills when an ext or lib package is missing (#12113)
- Improved interactive package update selection by first outputting all packages and their possible updates (#11990)
- Improved dependency resolution failure output by sorting the output in a deterministic and (often) more logical way (#12111)
- Fixed PHP 8.4 deprecation warnings about
E_STRICT
(#12116)- Fixed
init
command to validate the given license identifier (#12115)- Fixed version guessing to be more deterministic on feature branches if it appears that it could come from either of two mainline branches (#12129)
- Fixed COMPOSER_ROOT_VERSION env var handling to treat 1.2 the same as 1.2.x-dev and not 1.2.0 (#12109)
- Fixed require command skipping new stability flags from the lock file, causing invalid lock file diffs (#12112)
- Fixed php://stdin potentially being open several times when running Composer programmatically (#12107)
- Fixed handling of platform packages in why-not command and partial updates (#12110)
- Reverted "Fixed transport-options.ssl for local cert authorization being stored in lock file making them less portable (#12019)" from 2.7.8 as it was broken
Full Changelog: https://github.com/composer/composer/compare/2.7.9...2.8.0
Sourced from composer/composer's changelog.
[2.8.2] 2024-10-29
- Fixed crash while suggesting providers if they have no description (#12152)
- Fixed issues creating lock files violating the schema in some circumstances (#12149)
- Fixed
create-project
regression in 2.8.1 when using path repos with relative paths (#12150)- Fixed ctrl-C aborts not working inside text prompts (#12106)
- Fixed git failing silently when git cannot read a repo due to ownership violations (#12178)
- Fixed handling of signals in non-PHP binaries run via proxies (#12176)
[2.8.1] 2024-10-04
- Fixed
init
command regression when no license is provided (#12145)- Fixed
--strict-ambiguous
flag handling whereas it sometimes did not report all issues (#12148)- Fixed
create-project
to inherit the target folder's permissions for installed project files (#12146)- Fixed a few cases where the prompt for using a parent dir's composer.json fails to work correctly (#8023)
[2.8.0] 2024-10-02
- BC Warning: Fixed
https_proxy
env var falling back tohttp_proxy
's value. The fallback and warning have now been removed per the 2.7.3 release notes (#11938, #11915)- Added
--patch-only
flag to theupdate
command to restrict updates to patch versions and make an update of all deps safer (#12122)- Added
--abandoned
flag to theaudit
command to configure how abandoned packages should be treated, overriding theaudit.abandoned
config setting (#12091)- Added
--ignore-severity
flag to theaudit
command to ignore one or more advisory severities (#12132)- Added
--bump-after-update
flag to theupdate
command to run bump after the update is done (#11942)- Added a way to control which
scripts
receive additional CLI arguments and where they appear in the command, see the docs (#12086)- Added
allow-missing-requirements
config setting to skip the error when the lock file is not fulfilling the composer.json's dependencies (#11966)- Added a JSON schema for the composer.lock file (#12123)
- Added better support for Bitbucket app passwords when cloning repos / installing from source (#12103)
- Added
--type
flag to filter packages by type(s) in thereinstall
command (#12114)- Added
--strict-ambiguous
flag to thedump-autoload
command to make it return with an error code if duplicate classes are found (#12119)- Added warning in
dump-autoload
when vendor files have been deleted (#12139)- Added warnings for each missing platform package when running
create-project
to avoid having to run it again and again (#12120)- Added sorting of packages in allow-plugins when
sort-packages
is enabled (#11348)- Added suggestion of provider packages / polyfills when an ext or lib package is missing (#12113)
- Improved interactive package update selection by first outputting all packages and their possible updates (#11990)
- Improved dependency resolution failure output by sorting the output in a deterministic and (often) more logical way (#12111)
- Fixed PHP 8.4 deprecation warnings about
E_STRICT
(#12116)- Fixed
init
command to validate the given license identifier (#12115)- Fixed version guessing to be more deterministic on feature branches if it appears that it could come from either of two mainline branches (#12129)
- Fixed COMPOSER_ROOT_VERSION env var handling to treat 1.2 the same as 1.2.x-dev and not 1.2.0 (#12109)
- Fixed require command skipping new stability flags from the lock file, causing invalid lock file diffs (#12112)
- Fixed php://stdin potentially being open several times when running Composer programmatically (#12107)
- Fixed handling of platform packages in why-not command and partial updates (#12110)
- Reverted "Fixed transport-options.ssl for local cert authorization being stored in lock file making them less portable (#12019)" from 2.7.8 as it was broken
6e543d0
Release 2.8.2f956683
Update changeloge02f7ba
Fix parsing of comments in arrays of sponsor info, fixes composer/packagist#1473e0ed22b
Warn/throw when we detect git safe.directory errors (#12178)1f0d012
Add hint how ambiguous class issues can be resolved, refs #6221
(#12179)5c3f6e0
Remove SignalHandler from Application to fix issues handling ctrl-C
inside pr...e12cfa0
Fix create-project regression when using path repos with relative paths,
fixe...fa5b361
Fix handling of signals in non-PHP binaries run via proxies (#12176)0a4c2a9
Update deps186d78c
Add php-ext to array dumper