chore(deps): update dependency org.jvnet.jaxb2_commons:jaxb2-basics to v0.13.1#63
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency org.jvnet.jaxb2_commons:jaxb2-basics to v0.13.1#63renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
5501886 to
d768c2f
Compare
637b257 to
b6cce41
Compare
2e3be32 to
a752e1f
Compare
a752e1f to
05c5723
Compare
05c5723 to
4d6f7c8
Compare
4d6f7c8 to
7e5144b
Compare
7e5144b to
a4971e6
Compare
825ce4c to
80c969f
Compare
f8d078e to
26546d9
Compare
6fa1251 to
6107878
Compare
6107878 to
8105c7f
Compare
8105c7f to
e5aa3e9
Compare
da8befa to
cbf7007
Compare
682708c to
ddab5fb
Compare
ce5d837 to
eb514a1
Compare
eb514a1 to
c7438bb
Compare
6ce3339 to
8f00e7d
Compare
8f00e7d to
a3b9353
Compare
ba3bd04 to
5b9804f
Compare
e339338 to
6c114b1
Compare
7dbc21a to
9bc5342
Compare
c821c8f to
4ed35bc
Compare
4ed35bc to
5dc2e51
Compare
5dc2e51 to
ab7312e
Compare
b21e64d to
16599b1
Compare
16599b1 to
7d7c8a4
Compare
aea18bd to
750f27d
Compare
750f27d to
2ef0397
Compare
Contributor
|
I believe this and the other jvnet jaxb-related PRs need jakarta jaxb and java 11+. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.6.0→0.13.1Release Notes
highsource/jaxb2-basics (org.jvnet.jaxb2_commons:jaxb2-basics)
v0.13.1: ReleaseCompare Source
What's Changed
New Contributors
Full Changelog: highsource/jaxb2-basics@0.12.0...0.13.1
v0.12.0: Version 0.12.0Compare Source
Release notes
jaxws-maven-plugindoes not seem to work with XJC plugins.Backwards compatibility
Aspectwas moved from the packagecom.sun.tools.xjc.modelto the packagecom.sun.tools.xjc.outline). This essentially breaks compatibility of XJC plugins between XJC 2.2.x and 2.3.0. The only option I see is to develop and maintain two version of XJC plugins which is too much effort.This is why I've desided to support only one - most current version of XJC.
You will need to upgrade your tools to use JAXB/XJC 2.3.0.
For example, if you use
maven-jaxb2-plugin, upgrade to version 0.14.0 or later.equalsortoStringwon't work.v0.11.1: Version 0.11.1Compare Source
Issues, fixed in this release
v0.11.0: Version 0.11.0Compare Source
Release notes
xjc:superClass(#42)All issues, fixed in this release
Backwards compatibility
This release mak break backwards compatibility.
Supporting default values
This release fixed a number of issues related to the support of default values (#26, #37, #38, #44, #45, #46, #47).
In certain cases properties may have default values. For instance, it may correspond to an attribute with default value:
Here's the getter that XJC generates for such a property:
So the default value is not actually assigned to the field, it is returned from the getter if the field is not set.
With this release, default values are considered by the JAXB2 Basics plugins. You will typically get the following code for property accessors:
In previous versions, default values were ignored. This changes now and this change is not backwards compatible.
Considering "is value set" in strategies
Support for default values which was fixed in this version poses a new challenge.
Since we now consider default values of properties, how do you distinguish properties with explicitly set values versus properties with default values?
It is important to consider this difference. For instance, if you create a copy of an object, it wouldn't be correct to copy default values. Or if you merge two values, you'll probably choose explicitly assigned values over default values.
This means you have to know when the values was explicitly assigned and when this values is default.
To support this, it was necessary to extend existing strategis with parameters which describe if provided values are explicitly set in objects. A typical change is from:
To:
To support this change, we now have new strategies:
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2org.jvnet.jaxb2_commons.lang.EqualsStrategy2org.jvnet.jaxb2_commons.lang.ToStingStrategy2org.jvnet.jaxb2_commons.lang.CopyStrategy2org.jvnet.jaxb2_commons.lang.MergeStrategy2Old strategies are now deprecated:
org.jvnet.jaxb2_commons.lang.HashCodeStrategyorg.jvnet.jaxb2_commons.lang.EqualsStrategyorg.jvnet.jaxb2_commons.lang.ToStingStrategyorg.jvnet.jaxb2_commons.lang.CopyStrategyorg.jvnet.jaxb2_commons.lang.MergeStrategyWe also have new interfaces for schema-derived classes:
org.jvnet.jaxb2_commons.lang.HashCode2org.jvnet.jaxb2_commons.lang.Equals2org.jvnet.jaxb2_commons.lang.ToSting2org.jvnet.jaxb2_commons.lang.Copy2org.jvnet.jaxb2_commons.lang.Merge2Old interfaces are now deprecated:
org.jvnet.jaxb2_commons.lang.HashCodeorg.jvnet.jaxb2_commons.lang.Equalsorg.jvnet.jaxb2_commons.lang.ToStingorg.jvnet.jaxb2_commons.lang.Copyorg.jvnet.jaxb2_commons.lang.MergeExisting strategies now implement both new as well as old (deprecated) strategy interfaces:
org.jvnet.jaxb2_commons.lang.DefaultHashCodeStrategy/org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategyorg.jvnet.jaxb2_commons.lang.DefaultEqualsStrategy/org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategyorg.jvnet.jaxb2_commons.lang.DefaultToStringStrategy/org.jvnet.jaxb2_commons.lang.JAXBToStringStrategyorg.jvnet.jaxb2_commons.lang.DefaultCopyStrategy/org.jvnet.jaxb2_commons.lang.JAXBCopyStrategyorg.jvnet.jaxb2_commons.lang.DefaultMergeStrategy/org.jvnet.jaxb2_commons.lang.JAXBMergeStrategyThis means that new version of the JAXB2 Basics runtime should be backwards compatible with the old generated code. You don't necessarily need to regenerate your code to use the new runtime. However if you do regenerate your code, you'll have to use the new runtime. This may or may not be backwards compatible.
If you just generate code with JAXB2 Basics and use the default strategies provided in the JAXB2 Basics runtime, there should be no problem. However, if you have implemented your own strategies, you may need to update them.
v0.10.0: Version 0.10.0Compare Source
Release notes:
equalsmethods are now symmetric (#39, #40). Many thanks to @petega for fixes.All issues, fixed in this release
Backwards compatibility:
instanceof. This makes generated code more correct but is a change.v0.9.5: Version 0.9.5Compare Source
Release notes:
v0.9.4: Version 0.9.4Compare Source
This release features a few minor model enhancements:
v0.9.3: Version 0.9.3Compare Source
Fixes and enhancements:
jaxb2-simplify-pluginhas now an option to pluralize the names of the generated collection properties. See issue #18. Many thanks to Boris Marin for his contribution. Pluralization is turned off by default so this enhancement is backwards-compatible.v0.9.2: Version 0.9.2Compare Source
This release features:
hashCode()andequals(...)methods. Many thanks to James Annesley for his ideas and help.org.glassfish.jaxbartifacts (see issue #16).v0.9.1: Version 0.9.1Compare Source
v0.9.0: Version 0.9.0Compare Source
Backwards compatibility:
v0.8.4: Version 0.8.4Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.