Skip to content

Please use new major version for Echo v5 support (semver) #142

@akaroot

Description

@akaroot

Hi, and thank you for maintaining this project.

The latest release v0.50.0 of echo-contrib appears to target Echo v5, while the previous release v0.17.4 is for Echo v4. Echo v5 is a new major version of the framework with significant breaking changes in the API and Context type.

To make the dependency relationship clearer and safer, would you consider aligning the major version of echo-contrib with the Echo major version it targets? For example:

  • echo-contrib v4.x.y for Echo v4
  • echo-contrib v5.x.y for Echo v5

This approach is already used by related Echo ecosystem projects (for example, echo-jwt uses v4.x.y for Echo v4 and v5.x.y for Echo v5). It would:

Clearly communicate which Echo major version a given echo-contrib release supports.

Prevent projects on Echo v4 from accidentally upgrading to an Echo v5-only echo-contrib release through loose constraints.

Make it easier for tools like Renovate and dependabot to manage upgrades across Echo major versions.

Even if you prefer to keep v0.x style versions, introducing a v5.x.y line for Echo v5 support (and documenting that v0.17.x is the latest Echo v4-compatible line) would greatly improve clarity for downstream users.

Thanks again for your work on Echo and echo-contrib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions