Update dependency quokka to v2.13.1#1988
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
e59166a to
0dba463
Compare
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.
This PR contains the following updates:
2.12.1→2.13.1Release Notes
smartrent/quokka (quokka)
v2.13.1Compare Source
Fixes
Enum.reduce/3in a pipe being incorrectly rewritten to a nonexistent two-argumentEnum.sumcall. Pipedlhs |> Enum.reduce(acc, reducer)was styled asEnum.reduce/2and could emit invalidEnum.sum(acc)when the reducer was a simple sum. Fixes #160.# credo:disable-for-next-linein unrelated code could be detached from the lines they suppress. Fixes #161.v2.13.0Compare Source
Breaking Changes
autosort: [...]and the:autosortstyle in:onlyor:exclude.# quokka:sort(per-value, opt-in): always runs; not affected by:only,:exclude, orexclude: [:autosort].:onlyor:excludeto limit which styles run, replace:comment_directiveswith:autosortto control config-driven sorting. Theautosort: [...]option is unchanged.Improvements
Quokka.Plugindocs for details on creating your own formatting rules.# quokka:skip-sorton the line above a value to opt out.# quokka:sortfor struct field keys in@typedefinitions (e.g.@type t :: %__MODULE__{...}).Credo.Check.Readability.OnePipePerLine— breaks pipe chains so each|>is on its own line when the check is enabled.Credo.Check.Refactor.CondStatementsconfiguration. Set the check tofalseto disablecondsimplification.# quokka:skip-module-directives,# quokka:skip-module-directive-reordering, etc.) now work insidedefimplblocks. Module directives indefimplanddefprotocolare reordered when no skip comment is present.Credo.Check.Readability.StrictModuleLayoutignore_module_attributesandignore: [:module_attribute]options. When a module contains an ignored module attribute, Quokka preserves the original directive order for that module rather than hoisting directives above the attribute (which could be referenced by an earlier-ordered directive such as@moduledoc). Fixes #137.Enum.reduce/2,3calls that simply sum their two arguments toEnum.sum/1(part of inefficient function rewrites).Enum.drop/2+Enum.take/2toEnum.slice/3when both arguments are non-negative integer literals (part of inefficient function rewrites).Fixes
# quokka:skip-module-directive-reorderingmode when an existing alias was also referenced from non-alias content.defmodulewith no body inside a quote block).Deprecations
:comment_directivesis no longer a valid:onlyor:excludestyle. Use:autosortto control config-driven sorting instead.# quokka:sortalways runs and cannot be disabled.exclude: [:comment_directives]has no effect and logs a warning;only: [:comment_directives]no longer enables config autosort — add:autosortif you need it.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.