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

support snapshot versioning #1053

Merged
merged 1 commit into from
Jun 18, 2023

Conversation

artoonie
Copy link
Contributor

@artoonie artoonie commented Jun 16, 2023

This could change default behavior for clients, so I expect it should be merged into master instead of here.

I have proposed two PRs, one for the current version, and one for master assuming this is unacceptable.

I expect and recommend that this PR be closed without merging because it is a non-backwards-compatible change, but wanted to offer it nonetheless.

Closes #1050
Same as #1054 but rebased onto 2.16

@cowtowncoder
Copy link
Member

CLA received, will review.

@cowtowncoder
Copy link
Member

Some changes to behavior are acceptable for minor version, so 2.16 is probably good target (more so than 2.15, don't want behavior change in a patch).

@@ -113,7 +113,8 @@ public String toFullString() {
}

@Override public int hashCode() {
return _artifactId.hashCode() ^ _groupId.hashCode() + _majorVersion - _minorVersion + _patchLevel;
return _artifactId.hashCode() ^ _groupId.hashCode() ^ _snapshotInfo.hashCode()
Copy link
Member

Choose a reason for hiding this comment

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

_snapshotInfo typically null. Will change to check.

Copy link
Member

Choose a reason for hiding this comment

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

Actually, n/m, no null prevented in constructor. All good. :)

@cowtowncoder cowtowncoder merged commit cd513f4 into FasterXML:2.16 Jun 18, 2023
dmikurube added a commit to embulk/embulk-util-config that referenced this pull request Apr 3, 2024
The test has started to fail since Jackson 2.16.0 because of the following changes:

- FasterXML/jackson-core#1053
- FasterXML/jackson-core#1142

These were "fixing" the following issues:

- FasterXML/jackson-core#1050
- FasterXML/jackson-core#1141
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.

Compare _snapshotInfo in Version
2 participants