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

Prepare for 1.0.1 release #2296

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

brendandburns
Copy link
Contributor

cc @cjihrig

Related to #2160

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 5, 2025
Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 5, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, cjihrig

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [brendandburns,cjihrig]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cjihrig
Copy link
Contributor

cjihrig commented Mar 5, 2025

/do-not-merge

@cjihrig
Copy link
Contributor

cjihrig commented Mar 5, 2025

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 5, 2025
@cjihrig
Copy link
Contributor

cjihrig commented Mar 5, 2025

It just occurred to me, this should be v1.1.0 because we have new APIs in #2275.

@davidgamero
Copy link
Contributor

do we want to make a 1.1.0-rc1 if we are bumping minor version to get some feedback as we have a couple issues open around the middleware/ header patching that this should resolve?

Not blocking, feel free to skip

@cjihrig
Copy link
Contributor

cjihrig commented Mar 5, 2025

An "rc" might be a good idea due to the shear size of #2275, but I don't feel strongly one way or the other.

@brendandburns
Copy link
Contributor Author

@cjihrig can you clarify? I looked at that PR, I see new (fixed?) behavior, but no new APIs and no breaking changes.

I feel like this is sufficient to mark as a patch release, not a minor version, but I'm open to discussion.

@cjihrig
Copy link
Contributor

cjihrig commented Mar 5, 2025

I was referring to setHeaderMiddleware() and setHeaderOptions() in the new src/middleware.ts file.

@brendandburns
Copy link
Contributor Author

Given that they are additive, I wouldn't consider it a breaking change (which is typically my bar for minor vs patch)

@brendandburns
Copy link
Contributor Author

Personally, I don't feel a strong need for RC, since people can always revert back to 1.0.0 if they encounter problems.

Also most of the changes in that PR are identical changes, just in lots of different files.

Ultimately we should probably move to a branch and cherry-pick model instead of release from head, that would also give better explanations of what changed.

@davidgamero
Copy link
Contributor

Given that they are additive, I wouldn't consider it a breaking change (which is typically my bar for minor vs patch)

I see- by that bar it definitely isn't a breaking change and is fully backwards compatible, so the rc isn't necessary

@cjihrig
Copy link
Contributor

cjihrig commented Mar 5, 2025

Given that they are additive, I wouldn't consider it a breaking change (which is typically my bar for minor vs patch)

OK. I was going by semver. But if this repo doesn't use semver, then 1.0.1 is fine.

/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 5, 2025
@k8s-ci-robot k8s-ci-robot merged commit 1f2afdd into kubernetes-client:main Mar 5, 2025
8 checks passed
@brendandburns
Copy link
Contributor Author

@cjihrig I re-read the semver spec and you're right.

It's probably worth following semver, I'll send another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants