Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump python-minifier from 2.9.0 to 2.11.2 #70

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 4, 2024

Bumps python-minifier from 2.9.0 to 2.11.2.

Release notes

Sourced from python-minifier's releases.

2.11.2

ℹ️ Note that python-minifier depends on the python interpreter for parsing source code, and will output source code compatible with the version of the interpreter it is run with.

This means that if you minify code written for Python 3.11 using python-minifier running with Python 3.12, the minified code may only run with Python 3.12.

Fixed

  • Using the positional only parameter separator / in method definitions could cause the following parameter to be incorrectly renamed in place, which could lead to failure if the method was called with that parameter as a keyword argument. This has been fixed.

2.11.1

ℹ️ Note that python-minifier depends on the python interpreter for parsing source code, and will output source code compatible with the version of the interpreter it is run with.

This means that if you minify code written for Python 3.11 using python-minifier running with Python 3.12, the minified code may only run with Python 3.12.

Fixed

  • Using the --remove-class-attribute-annotations option together with --rename-globals was incorrectly causing class attributes to be renamed. Both of these options are unsafe for arbitrary code and are disabled by default but this was not the intended behavior, and has been fixed.

2.11.0

ℹ️ Note that python-minifier depends on the python interpreter for parsing source code, and will output source code compatible with the version of the interpreter it is run with.

This means that if you minify code written for Python 3.11 using python-minifier running with Python 3.12, the minified code may only run with Python 3.12.

Added

  • Python 3.13 support, including:
    • PEP 696 Type parameter defaults

2.10.0

ℹ️ Note that python-minifier depends on the python interpreter for parsing source code, and will output source code compatible with the version of the interpreter it is run with.

This means that if you minify code written for Python 3.11 using python-minifier running with Python 3.12, the minified code may only run with Python 3.12.

Added

  • Python 3.12 support, including:

    • PEP 695 Type parameter syntax
    • PEP 701 Improved f-strings
  • A new transform to remove the brackets when instantiating and raising built-in exceptions, which is enabled by default. e.g.

... (truncated)

Changelog

Sourced from python-minifier's changelog.

[2.11.2] - 2024-10-03

Fixed

  • Using the positional only parameter separator / in method definitions could cause the following parameter to be incorrectly renamed in place, which could lead to failure if the method was called with that parameter as a keyword argument. This has been fixed.

[2.11.1] - 2024-09-29

Fixed

  • Using the --remove-class-attribute-annotations option together with --rename-globals was incorrectly causing class attributes to be renamed. Both of these options are unsafe for arbitrary code and are disabled by default but this was not the intended behavior, and has been fixed.

[2.11.0] - 2024-09-26

Added

  • Python 3.13 support, including:
    • PEP 696 Type parameter defaults

[2.10.0] - 2024-09-15

Added

  • Python 3.12 support, including:

    • PEP 695 Type parameter syntax
    • PEP 701 Improved f-strings
  • A new transform to remove the brackets when instantiating and raising built-in exceptions, which is enabled by default. e.g.

    def a():
       raise ValueError()

    Will be minified to:

    def a():raise ValueError

    The raise statement automatically instantiates classes derived from Exception, so the brackets are not required.

  • A new constant folding transform, which is enabled by default. This will evaluate simple expressions when minifying, e.g.

    SECONDS_IN_A_DAY = 60 * 60 * 24

... (truncated)

Commits
  • 0ada486 Fix pypi public action tag
  • fa6d5b2 Allow manual triggering of the release workflow
  • 80421c9 Use correct pypi-publish ref
  • 1145d29 Use release tag as the version number
  • defe9d5 🔖 2.11.2
  • 9f64b92 Update release workflow
  • e9d60cf Merge pull request #111 from dflook/posarg-self-rename-in-place
  • b57bf66 Fix rename in place of first non-posonlyarg
  • 176418b Fix rename in place of first non-posonlyarg
  • 66b0858 Merge pull request #110 from dflook/checkout
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 4, 2024
@rmoesbergen
Copy link
Member

@dependabot rebase

Bumps [python-minifier](https://github.com/dflook/python-minifier) from 2.9.0 to 2.11.2.
- [Release notes](https://github.com/dflook/python-minifier/releases)
- [Changelog](https://github.com/dflook/python-minifier/blob/main/CHANGELOG.md)
- [Commits](dflook/python-minifier@2.9.0...2.11.2)

---
updated-dependencies:
- dependency-name: python-minifier
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/python-minifier-2.11.2 branch from e6c2828 to afc8511 Compare November 8, 2024 19:47
@rmoesbergen rmoesbergen merged commit 4edb0c0 into main Nov 8, 2024
1 check passed
@rmoesbergen rmoesbergen deleted the dependabot/pip/python-minifier-2.11.2 branch November 8, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant