Update major updates (major) #44
No reviewers
Labels
No labels
dependencies
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
alex/opengist!44
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/major-major-updates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v4.15.4→v5.3.1v2.27.7→v3.10.1v1.0.6→v2.0.016.7.27→18.8.0Release Notes
labstack/echo (github.com/labstack/echo/v4)
v5.3.1Compare Source
Fixes
Enhancements
Anygodoc to reflect true arbitrary-method matching by @hyorimitsu in #3046v5.3.0Compare Source
Logic changes
PR #2996 revert back to
v4behavior for a group registering implicit 404 handlers.If you do not want this behavior, can do not want implicit 404 handlers for groups, use:
some other noteworthy echancements:
Enhancements
v5.2.1Compare Source
Security
Make serving static file releated methods and middleware not unescape path by default - so how the way Router interprets paths and Static methods/middleware is consistent.
Given following situation:
Then requests to
/admin%2fprivate.txtwould not be matched toGET /admin/*route (routing does not look unescaped path) and static file serving will use unescaped path to serve the file.Note: this way of "guarding" subfolders will never work for for paths like
/assets/../admin%2fprivate.txtwhich willpath.Clean("/assets/../admin%2fprivate.txt")to/admin/private.txtand are servable if static file serving is configured to unescape paths.If you want to guard routes - use middlewares on
Static*methods and beforeStaticmiddleware.Closes GHSA-vfp3-v2gw-7wfq more completely: the previous fix (#3009) rejected explicitly encoded
separators at the handler level; this patch makes the no-unescape behavior the default so new configurations are safe without extra opt-out steps.
What changed:
DisablePathUnescaping(onStaticConfigandStaticDirectoryHandlerConfig) is deprecated and replaced byEnablePathUnescaping(defaultfalse). Path unescaping is now opt-in.What this protects: With
EnablePathUnescaping: false(new default), encoded separators (%2F,%5C) are never decoded before routing or file lookup, so they cannotbypass route-level authentication or other middleware guards.
What this does NOT protect: Serving a directory with
Static,StaticFS, orStaticDirectoryHandlerexposes its entire subtree. Sibling routes are not a reliableACL boundary — attach authorization middleware directly to the static mount, or serve sensitive sub-trees under separate guarded routes.
Breaking change / migration: If you serve files whose names contain URL-encoded characters (e.g.,
/hello%20world.txt→hello world.txt), you must now opt in:v5.2.0Compare Source
Security
Fixes GHSA-vfp3-v2gw-7wfq: an encoded path separator (
%2For%5C) in a static file URL could bypass route-level middleware (e.g. authentication on a sibling route) and disclose static files. BothStaticDirectoryHandler/StaticFSand theStaticmiddleware are affected. Thanks to @a-tt-om and @oran-gugu for reporting.Enhancements
New Contributors
Full Changelog: https://github.com/labstack/echo/compare/v5.1.1...v5.2.0
v5.1.1Compare Source
Security
Context.Scheme()should validate values taken from header by @aldas in #2953Thanks to @shblue21 for reporting this issue.
Enhancements
v5.1.0Compare Source
Security
This change does not break the API contract, but it does introduce breaking changes in logic/behavior.
If your application is using
c.RealIP()beware and read https://echo.labstack.com/docs/ip-addressv4behavior can be restored with:Enhancements
v5.0.4Compare Source
Enhancements
http.Server.Servereturns we need to wait for graceful shutdown goroutine to finish by @aldas in #2898echo.StatusCodeby @suwakei in #2892echo.ResolveResponseStatusfunction to help middleware/handlers determine HTTP status code and echo.Response by @aldas in #2900v5.0.3Compare Source
Security
This applies to cases when:
middleware.StaticConfig.Filesystemisnil(default)echo.Filesystemis has not been set explicitly (default)Exposure is restricted to the active process working directory and its subfolders.
v5.0.2Compare Source
Security
config.Browse=truelists all files/subfolders fromconfig.Filesystemroot and not starting fromconfig.Rootin #2887v5.0.1Compare Source
v5.0.0Compare Source
Echo
v5is maintenance release with major breaking changesContextis now struct instead of interface and we can add method to it in the future in minor versions.Routerinterface for possible new routing implementations.log/sloginstead.Upgrade notes and
v4support:v4is supported with security* updates and bug fixes until 2026-12-31v5API changes will be addressed, even if this violates semantic versioning.See API_CHANGES_V5.md for public API changes between
v4andv5, notes on upgrading.Upgrading TLDR:
If you are using Linux you can migrate easier parts like that:
macOS
or in your favorite IDE
Replace all:
echo.Context->*echo.Contextecho/v4->echo/v5This should solve most of the issues. Probably the hardest part is updating all the tests.
urfave/cli (github.com/urfave/cli/v2)
v3.10.1Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.10.0...v3.10.1
v3.10.0Compare Source
What's Changed
Full Changelog: https://github.com/urfave/cli/compare/v3.9.1...v3.10.0
v3.9.1Compare Source
What's Changed
Full Changelog: https://github.com/urfave/cli/compare/v3.9.0...v3.9.1
v3.9.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.8.0...v3.9.0
v3.8.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.7.0...v3.8.0
v3.7.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.6.2...v3.7.0
v3.6.2Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.6.1...v3.6.2
v3.6.1Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.6.0...v3.6.1
v3.6.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.5.0...v3.6.0
v3.5.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.4.1...v3.5.0
v3.4.1Compare Source
What's Changed
v3series is recommended for new development by @meatballhat in #2186Full Changelog: https://github.com/urfave/cli/compare/v3.4.0...v3.4.1
v3.4.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.3.9...v3.4.0
v3.3.9Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.3.8...v3.3.9
v3.3.8Compare Source
What's Changed
v3series by @meatballhat in #2155Full Changelog: https://github.com/urfave/cli/compare/v3.3.7...v3.3.8
v3.3.7Compare Source
What's Changed
IsLocalfor BoolWithInverseFlag by @huiyifyj in #2151New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.3.6...v3.3.7
v3.3.6Compare Source
What's Changed
Full Changelog: https://github.com/urfave/cli/compare/v3.3.5...v3.3.6
v3.3.5Compare Source
What's Changed
Full Changelog: https://github.com/urfave/cli/compare/v3.3.4...v3.3.5
v3.3.4Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.3.3...v3.3.4
v3.3.3Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.3.2...v3.3.3
v3.3.2Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.3.1...v3.3.2
v3.3.1Compare Source
What's Changed
Full Changelog: https://github.com/urfave/cli/compare/v3.3.0...v3.3.1
v3.3.0Compare Source
What's Changed
float32andfloat64by @ldez in #2112New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.2.0...v3.3.0
v3.2.0Compare Source
Breaking change IntFlag now uses int type and not int64. Please change to using Int64Flag for int64 types. Similar behavior for UintFlag as well. See https://pkg.go.dev/github.com/urfave/cli/v3 for a full list of flag types. See #2094 for full patch for this
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.1.1...v3.2.0
v3.1.1Compare Source
v3.1.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/urfave/cli/compare/v3.0.0-beta1.01...v3.1.0
yuin/goldmark-emoji (github.com/yuin/goldmark-emoji)
v2.0.0Compare Source
Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate.
bfeb906207to51ab24a426fix(deps): update major updates (major)to fix(deps): update major updates (major) - abandonedAutoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.
51ab24a426to396904c46dfix(deps): update major updates (major) - abandonedto Update major updates (major)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.