chore(deps): update internal dependencies to v3 (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @canonical/react-components (source) | ^0.60.0 -> ^3.0.0 |
||||
| canonicalwebteam.flask-base | ==2.6.1 -> ==3.1.1 |
Release Notes
canonical/react-components (@canonical/react-components)
v3.8.0
Features
v3.7.1
Bug Fixes
- CI: Upgrade semantic-release to version 25.0.2 to fix publishing via trusted publisher process (#1287) (c3f5cd2)
- release: Remove NPM_TOKEN from release workflow (#1282) (ad4fd49)
v3.7.0
Features
- CustomSelect: expose searchPlaceholder and default toggle label and add async option to searchable (#1280) (8e05fad)
v3.6.0
Features
v3.5.1
Bug Fixes
- contextual-menu: prevent keyboard from opening and closing again in mobile chrome with input as child of the contextual menu (#1273) (fcdc240)
v3.5.0
Features
v3.4.3
Bug Fixes
- column-selector: allow filtering of headers with no content, but existing aria label (#1270) (e66fde6)
v3.4.2
Bug Fixes
v3.4.1
Bug Fixes
v3.4.0
Features
v3.3.0
Features
- ColumnSelector: create a component that can toggle columns of a table (#1259) (5552db5)
- CustomSelect: add selectedLabel (#1260) (d54a491)
v3.2.0
Features
v3.1.1
Bug Fixes
v3.1.0
Features
v3.0.1
Bug Fixes
v3.0.0
Bug Fixes
BREAKING CHANGES
-
LoginPageLayout: LoginPageLayout no longer sets theme to is-paper
v2.16.1
Bug Fixes
- The responsive behaviour of the
MainTablewrapped inside aScrollableTableis not equivalent to the default case (#1247) (758ba66)
v2.16.0
Features
v2.15.1
Bug Fixes
v2.15.0
Features
v2.14.0
Features
v2.13.0
Features
v2.12.0
Features
v2.11.0
Features
v2.10.0
Features
v2.9.0
Features
- theme-switcher: add new component to apply dark and light theme and switch between them easily (#1230) (11f0ec2)
v2.8.1
Bug Fixes
- sidepanel: default size of sidepanel to be standard, allow for narrow and wide sizes (#1229) (83bc84e)
v2.8.0
Features
v2.7.9
Bug Fixes
v2.7.8
Bug Fixes
v2.7.7
Bug Fixes
v2.7.6
Bug Fixes
- toast: use theme colors for toast list and dismiss background to enable dark mode (#1219) (b062e8b)
v2.7.5
Bug Fixes
v2.7.4
Bug Fixes
v2.7.3
Bug Fixes
v2.7.2
Bug Fixes
v2.7.1
Bug Fixes
v2.7.0
Features
v2.6.1
Bug Fixes
v2.6.0
Features
v2.5.2
Bug Fixes
v2.5.1
Bug Fixes
v2.5.0
Features
v2.4.0
Features
v2.3.1
Bug Fixes
v2.3.0
Features
v2.2.4
Bug Fixes
v2.2.3
Bug Fixes
v2.2.2
Bug Fixes
v2.2.1
Bug Fixes
v2.2.0
Features
v2.1.0
Features
v2.0.0
Features
BREAKING CHANGES
- deps: React v19 update may cause types compatibility issues with downstream projects. You may refer to this guide for migration instructions.
v1.10.0
Features
v1.9.1
Bug Fixes
v1.9.0
Features
v1.8.0
Features
v1.7.3
Bug Fixes
v1.7.2
Bug Fixes
v1.7.1
Bug Fixes
v1.7.0
Features
v1.6.0
Features
- [WD-13450] Upstream Doughnut Chart to RC (09dd5d5)
v1.5.0
Features
- add stepper and step components (85c995d)
v1.4.0
Features
- skip-link: add SkipLink component WD-15080 (b03c168)
v1.3.3
Bug Fixes
v1.3.2
Bug Fixes
v1.3.1
Bug Fixes
v1.3.0
Features
- Fixing readme (to trigger the release of ESM) (2f143c3)
v1.2.5
Bug Fixes
- Update SideNavigationLink component's prop type (47d1030)
v1.2.4
Bug Fixes
- fix highlightSubstring not being able to handle special characters for regex (26cf50d)
v1.2.3
Bug Fixes
v1.2.2
Bug Fixes
- forwardRef from SideNavigationLink component (c971b10)
v1.2.1
Bug Fixes
- readme: replace semicolon with colon symbols (f60d6bc)
v1.2.0
Features
- support not blurring when searching (2339e4c)
v1.1.0
Features
- add MultiSelect variations (b716ae7)
v1.0.0
Bug Fixes
BREAKING CHANGES
- Document title no longer changes when
LoginPageLayoutrenders.
canonical-web-and-design/canonicalwebteam.flask-base (canonicalwebteam.flask-base)
v3.1.1
Add missing init file to fix the bug of missing opentelemetry module.
v3.1.0
- 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
- 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
entrypointscript, replacetalisker.gunicorn.geventwithgunicorn. - Replace any instance of
talisker.requestswithrequests. - Remove
TALISKER_REVISION_IDfromDockerfile. - 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 thesentry-sdkpackage directly to integrate Sentry into your Flask application.
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 these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 47.63%. Comparing base (518a68c) to head (cdd17f9).
Additional details and impacted files
@@ Coverage Diff @@
## main #14150 +/- ##
=======================================
Coverage 47.63% 47.63%
=======================================
Files 37 37
Lines 5767 5767
=======================================
Hits 2747 2747
Misses 3020 3020
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
🔗 Link your GitHub account to Atlassian
To enable Code Reviewer, please link your GitHub account to your Atlassian account.
Click here to connect your accounts
This is a one-time setup that takes less than a minute.
🔗 Link your GitHub account to Atlassian
To enable Code Reviewer, please link your GitHub account to your Atlassian account.
Click here to connect your accounts
This is a one-time setup that takes less than a minute.