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

[Go] Look for a better approach to handle the module and major versions #376

Open
smoya opened this issue Apr 18, 2023 · 2 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@smoya
Copy link
Member

smoya commented Apr 18, 2023

Reason/Context

Following Go module major version suffixes creates complexity when releasing but also requires dependant libraries to manually update their go.mod and code in order to update to last major version (they need to change the import path in all the code).
More info https://go.dev/ref/mod#major-version-suffixes

Description

To find a solution, if possible that:

  • Allows releasing major versions without the need of adding the suffix at the end of the module name. I.e. the v4 suffix in github.com/asyncapi/spec-json-schemas/v4 module name.
  • Don't force dependant libraries to update all the imports of this module to replace the suffix to the last major version. That means the only change to do is in go.mod to update to the latest version.
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Aug 17, 2023
@smoya smoya removed the stale label Aug 17, 2023
@smoya smoya added the help wanted Extra attention is needed label Nov 17, 2023
Copy link

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant