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

change v4 to v1 #27

Merged
merged 4 commits into from
Jun 7, 2024
Merged

change v4 to v1 #27

merged 4 commits into from
Jun 7, 2024

Conversation

aratz-lasa
Copy link
Contributor

@aratz-lasa aratz-lasa commented Jun 6, 2024

Bento breaks with Benthos v4 version and starts at 1, so we need to remove the v4 suffix.

If the module is released at major version 2 or higher, the module path must end with a major version suffix like /v2. This may or may not be part of the subdirectory name. For example, the module with path golang.org/x/repo/sub/v2 could be in the /sub or /sub/v2 subdirectory of the repository golang.org/x/repo.

https://go.dev/ref/mod

Copy link
Collaborator

@gregfurman gregfurman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- maybe commits should be squashed though.

CHANGELOG.old.md Outdated
Comment on lines 737 to 738
- Go API: Module name has changed to `github.com/warpstreamlabs/bento`.
- Go API: All packages within the `lib` directory have been removed in favour of the newer [APIs within `public`](https://pkg.go.dev/github.com/warpstreamlabs/bento/public).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Not sure if editing the CHANGELOG..old.md is necessary. Should the entire changelog not rather just immutably remain as it was from when the fork was created?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

@aratz-lasa aratz-lasa marked this pull request as ready for review June 6, 2024 16:06
@aratz-lasa aratz-lasa requested a review from gregfurman June 6, 2024 16:55
@aratz-lasa aratz-lasa merged commit 0abcfc8 into main Jun 7, 2024
2 checks passed
@aratz-lasa aratz-lasa deleted the import-v1 branch June 7, 2024 12:54
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.

2 participants