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

Update dependency Sanic-Plugins-Framework to v0.9.5 #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 5, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Sanic-Plugins-Framework ==0.6.3.dev20180717 -> ==0.9.5 age adoption passing confidence

Release Notes

ashleysommer/sanicpluginsframework (Sanic-Plugins-Framework)

v0.9.5

Compare Source

  • Fixed some small bugs that were found during the larger big rewrite

  • Pinned this series of SPF to maximum Sanic v20.12.x, this series will not work on Sanic 21.x

    • A new version of SanicPluginsFramework named SanicPluginToolkit in development that will work on Sanic 21.x
    • It will have the module renamed to sanic_plugin_toolkit to avoid the conflict with the other spf library on Pip.
    • It will be a PEP 517/518 project, with pyproject.toml and Poetry orchestration.
    • New features in Sanic 21.x have necessitated some big changes in SanicPluginToolkit (this is a good thing!)

v0.9.4.post2

Compare Source

  • Pinned this series of SPF to maximum Sanic v20.12.x, this series will not work on Sanic 21.x

    • A new version of SanicPluginsFramework is in development that will work on Sanic 21.x
    • It will have a new module name to avoid the conflict with the other spf library on Pip.
    • It will be a PEP 517/518 project, with pyproject.toml and Poetry orchestration.
    • New features in Sanic 21.x will necessitate some big changes in SanicPluginsFramework (this is a good thing!)

v0.9.4.post1

Compare Source

  • Add setuptools as a specific requirement to this project.

    • It is needed for the entrypoints-based plugin auto-discovery feature
    • setuptools is not always included in a python distribution, so we cannot assume it will be there
    • Pinned to >40.0 for now, but will likely change when we migrate to a Poetry/PEP517-based project

v0.9.4

Compare Source

  • Pinned this series of SPF to maximum Sanic v20.12.x, this series will not work on Sanic 21.x

    • A new version of SanicPluginsFramework is in development that will work on Sanic 21.x
    • It will have a new module name to avoid the conflict with the other spf library on Pip.
    • It will be a PEP 517/518 project, with pyproject.toml and Poetry orchestration.
    • New features in Sanic 21.x will necessitate some big changes in SanicPluginsFramework (this is a good thing!)

v0.9.3

Compare Source

  • Fixed calling routes on a SPF-enabled Sanic app using asgi_client before the app is started.
  • Clarified error message generated when a SPF-enabled route is called before the Sanic server is booted.
  • Fixed test breakages for Sanic 20.3 and 20.6 releases
  • Updated testing packages in requirements-dev
  • Updated Travis and TOX to include python 3.8 tests

v0.9.2

Compare Source

  • Added a convenience feature on SanicContext class to get the request-context for a given request

  • Added correct licence file to LICENSE.txt

    • Existing one was accidentally a copy of the old Sanic-CORS licence file
    • Renamed from LICENSE to LICENSE.txt

v0.9.1

Compare Source

  • Fixed a problem with error reporting when a plugin is not yet registered on the SPF

v0.9.0

Compare Source

  • Released 0.9.0 with Sanic 19.12LTS compatibility
  • Minimum supported sanic version is 18.12LTS

v0.8.2.post1

Compare Source

  • Explicitly set max Sanic version supported to 19.6.3

  • This is the last SPF version to support Sanic v0.8.3

    • (please update to 18.12 or greater if you are still on 0.8.3)

v0.8.2

Compare Source

  • Explicitly set max Sanic version supported to 19.6.3

  • This is the last SPF version to support Sanic v0.8.3

    • (please update to 18.12 or greater if you are still on 0.8.3)

v0.8.1

Compare Source

  • Plugin names in the config file are now case insensitive
  • Plugin names exported using entrypoints are now case insensitive

v0.8.0

Compare Source

  • Added support for a spf config file

    • This is in the python configparser format, it is like an INI file.
    • See the config file example in /examples/ for how to use it.
  • Added ability to get a plugin assoc object from SPF, simply by asking for the plugin name.

    • This is to facilitate pulling the assoc object from when a plugin was registered via the config file
  • A new way of advertising sanic plugins using setup.py entrypoints is defined.

    • We use it in this project to advertise the 'Contextualize' plugin.
  • Fixed some example files.

v0.7.0

Compare Source

  • Added a new type of middleware called "cleanup" middleware

    • It Runs after response middleware, whether response is generated or not, and even if there was errors.
  • Moved the request-context removal process to run in the "cleanup" middleware step, because sometimes Response middleware is not run, eg. if Response is None (like in the case of a Websocket route), then Response Middleware will never fire.

  • Cleanup middleware can be used to do per-request cleanup to prevent memory leaks.

v0.6.7

Compare Source

  • A critical fix for plugin-private-request contexts. They were always overwriting the shared request context when they were created.
  • Added new 'id' field inside the private request context container and the shared request context container, to tell them apart when they are used.
  • Added a new test for this exact issue.

v0.6.6

Compare Source

  • No 1.0 yet, there are more features planed before we call SPF ready for 1.0.

  • Add more tests, and start filling in some missing test coverage

  • Fix a couple of bugs already uncovered by filling in coverage.

    • Notably, fix an issue that was preventing the plugin static file helper from working.

v0.6.5

Compare Source

  • Changed the versioning scheme to not include ".devN" suffixes. This was preventing SPF from being installed using pipenv

    • This is in preparation for a 1.0.0 release, to coincide with the Sanic 2018.12 release.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants