Skip to content

Update dependency canonicalwebteam.flask-base to v3#71

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-internal
Open

Update dependency canonicalwebteam.flask-base to v3#71
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-internal

Conversation

@renovate

@renovate renovate Bot commented Jul 5, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
canonicalwebteam.flask-base ==1.1.0==3.1.2 age adoption passing confidence

Release Notes

canonical-web-and-design/canonicalwebteam.flask-base (canonicalwebteam.flask-base)

v3.1.2

Compare Source

Do not serve cached response from /_cookies endpoints. This is required for cross-domain cookies to function correctly.

v3.1.1

Compare Source

Add missing init file to fix the bug of missing opentelemetry module.

v3.1.0

Compare Source

  • Add prettified logs to Development mode.
  • Add JSON structured logs to Production mode.
  • The logging "extra" argument can be used to print JSON data out into the logs.
  • Custom parameter "handler" of type logging.Handler can be passed to FlaskBase to personalize log output.
  • Traces added to logs if tracing is enabled (through paas-charm).
  • Custom parameter "untraced_routes" to mark routes for which tracing should not be enabled.

Upgrade notes

For the production mode to output JSON structured logs you don't need to do anything, as it comes out of the box.
Be aware that you can now pass parameters to the logging method with the "extra" argument and anything you pass
will appear in the structured JSON log.

For the development prettified logs there is one step to be done.
Update your gunicorn entrypoint to add --logger-class canonicalwebteam.flask_base.log_utils.GunicornDevLogger
if you are in DEBUG mode.

One can pass a custom logging.Handler to FlaskBase in order to personalize the output of the logs.
All the work of setting the handler in all the appropriate places is done by FlaskBase.

v3.0.0

Compare Source

  • Update to use the latest version of Flask, Werkzeug, gunicorn and gevent.
  • Completely remove talisker as a dependency.
  • Add per route metrics that report the number of requests, response time, and error rate. (These metrics will be picked up automatically by a statsd-server if you are using the 12f app charm)

Upgrade notes

This version will require a few updates to remove talisker usage in your application. Namely:

  • In your entrypoint script, replace talisker.gunicorn.gevent with gunicorn.
  • Replace any instance of talisker.requests with requests.
  • Remove TALISKER_REVISION_ID from Dockerfile.
  • Remove any usage of talisker loggers.
  • Remove any usage of app.extensions["sentry"] as Sentry support was provided by talisker and is no longer available. You can use the sentry-sdk package directly to integrate Sentry into your Flask application.

v2.6.1

Compare Source

Changes

add SENTRY_DSN env var (#​90)

This release was made possible by the following contributors:

@​usamabinnadeem-10

v2.6.0

Compare Source

Changes

Add flask secret key (#​87)

This release was made possible by the following contributors:

@​samhotep

v2.5.0

Compare Source

Changes

feat: added custom worker class (#​86)
chore: update PyPI publish action to use stable release version (#​85)

This release was made possible by the following contributors:

@​Dampolo03, @​goulinkh and @​samhotep

v2.4.0

Compare Source

Fix Werkzeug version limit to work with current Flask 2.3.3.

v2.3.0

Compare Source

Add response content compression using Gzip

v2.2.1

Compare Source

Revert 2.1.0 changes to compression of JS and CSS assets

v2.2.0

Compare Source

  • Add support for Python 3.12
  • Update dependencies: talisker, Werkzeug
  • Remove unused direct dependencies that are used by talisker: gevent, jinja2, markupsafe, itsdangerous gevent, jinja2, markupsafe, itsdangerous

Upgrade notes

This version will require changes in the Dockerfile to use a virtual environment as this is mandatory for Python 3.12.

Here is an example of how to upgrade to 2.2.0: canonical/ubuntu.com@82f04d9

v2.1.0

Compare Source

Add compression of JS and CSS assets

v2.0.0

Compare Source

Pin to Flask 2.3.3
Update dependencies: jinja2, Werkzeug, markupsafe, itsdangerous


Configuration

📅 Schedule: (UTC)

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

@webteam-app

Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/major-internal branch from 928104b to 6528a8c Compare January 23, 2025 15:13
@renovate renovate Bot force-pushed the renovate/major-internal branch from 6528a8c to 3d49818 Compare February 12, 2025 13:26
@renovate renovate Bot force-pushed the renovate/major-internal branch from 3d49818 to a1e68f7 Compare March 6, 2025 13:08
@renovate renovate Bot force-pushed the renovate/major-internal branch from a1e68f7 to 12a1f51 Compare March 21, 2025 17:22
@renovate renovate Bot force-pushed the renovate/major-internal branch from 12a1f51 to 034eb75 Compare April 11, 2025 14:13
@renovate renovate Bot force-pushed the renovate/major-internal branch from 034eb75 to 79d6b0c Compare June 20, 2025 13:48
@renovate renovate Bot force-pushed the renovate/major-internal branch from 79d6b0c to 6636427 Compare July 24, 2025 18:28
@renovate renovate Bot force-pushed the renovate/major-internal branch from 6636427 to 6c1ded1 Compare August 1, 2025 09:10
@renovate renovate Bot changed the title Update dependency canonicalwebteam.flask-base to v2 Update dependency canonicalwebteam.flask-base to v3 Aug 1, 2025
@renovate renovate Bot force-pushed the renovate/major-internal branch from 6c1ded1 to 352da01 Compare October 8, 2025 12:46
@renovate renovate Bot force-pushed the renovate/major-internal branch from 352da01 to d41351e Compare March 6, 2026 15:44
@renovate renovate Bot changed the title Update dependency canonicalwebteam.flask-base to v3 Update internal dependencies to v3 Jun 2, 2026
@renovate renovate Bot changed the title Update internal dependencies to v3 Update internal dependencies (major) Jun 22, 2026
@renovate renovate Bot changed the title Update internal dependencies (major) Update dependency canonicalwebteam.flask-base to v3 Jun 25, 2026
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.

1 participant