Commit Graph
4089 Commits
Author SHA1 Message Date
Roel Spilker 1be3857dfe There is no more HtAccess 2026-08-21 13:09:20 +02:00
Roel Spilker 405985dd25 Semantic sections for website 2026-08-21 03:20:29 +02:00
Reinier Zwitserloot 04b73406d0 [trivial] fixing some outdated tests (tests were broken, not lombok). 2026-08-21 03:14:01 +02:00
Reinier Zwitserloot befe77d211 Merge branch 'builder-class-name-conflict' 2026-08-21 03:13:56 +02:00
Reinier Zwitserloot f1989068ab [trivial][style] 2026-08-21 03:13:42 +02:00
snowykte0426 96c47f14b5 Add Taeeun Kim to AUTHORS 2026-08-21 03:13:42 +02:00
snowykte0426 ecf421849c Fix builder class name annotation collision 2026-08-21 03:13:42 +02:00
Roel Spilker 6c5295bc38 Update copyright year 2026-08-21 02:59:37 +02:00
Reinier Zwitserloot 84f8baf3d5 Merge branch 'check-return-value' 2026-08-21 02:57:59 +02:00
Reinier Zwitserloot 4cfdf21430 [test] Fix tests to reflect updates to @CheckReturnValue feature. 2026-08-21 02:57:22 +02:00
Reinier Zwitserloot f6fab0dafb [trivial] Add some type param hints so older javacs can compile it. 2026-08-21 02:42:00 +02:00
Reinier Zwitserloot 02c68c112d [docs][config: lombok.CheckReturnValue] 2026-08-21 02:42:00 +02:00
Reinier Zwitserloot e76ba71721 [config: lombok.CheckReturnValue]: setting is now a list of possible flavours, do not apply if building for a method, add to getter/hc/equals/toString. 2026-08-21 02:42:00 +02:00
Reinier Zwitserloot 5aa26873fd [checkerframework] @SEF now added to generated constructors; @Builder's build() no longer @SEF if building for a non-SEF method. 2026-08-21 02:42:00 +02:00
Tim te Beek 54bc6c24d3 [feature][@CheckReturnValue] Add Tim te Beek to AUTHORS 2026-08-21 02:41:59 +02:00
Tim te Beek dc1ba17b4d [feature][@CheckReturnValue] Replace boolean opt-in with enum-valued lombok.checkReturnValueAnnotation config key.
Per PR #4013 review, swap the boolean `lombok.addCheckReturnValueAnnotation`
for an enum-valued `lombok.checkReturnValueAnnotation` (values: `none`,
`lombok`; default: `none`). This leaves room for additional flavors
(`jetbrains`, `errorprone`, `custom: FQN`) in future releases without
another key rename, and for flipping the default to `lombok` after a
release cycle or two.

# Conflicts:
#	doc/changelog.markdown
2026-08-21 02:41:59 +02:00
Tim te Beek 14f52226b6 [feature][@CheckReturnValue] Make @CheckReturnValue opt-in rather than opt-out to avoid breaking existing tests. 2026-08-21 02:41:59 +02:00
Tim te Beek cdfb0f551e [feature][@CheckReturnValue] Add @lombok.CheckReturnValue to generated methods where the return value should not be ignored.
Adds the annotation to @With, @WithBy, @Builder.build(), and @SuperBuilder.build() methods. Controlled via lombok.addCheckReturnValueAnnotation config key (default: true). Static analysis tools (Error Prone, IntelliJ, SpotBugs) recognize @CheckReturnValue by simple name and will warn when the return value is discarded.
2026-08-21 02:41:59 +02:00
Roel Spilker 277c7bf34a Allow listy configuration keys to use = to force a list to a single value 2026-08-21 01:18:05 +02:00
Reinier Zwitserloot 1bcf9ff418 [deps] updating to patcher release v0.60. 2026-08-07 02:00:41 +02:00
Reinier Zwitserloot dc9580ac18 [website] SuperBuilder has been promoted; this promotion is now reflected in the docs. 2026-08-07 01:56:48 +02:00
Reinier Zwitserloot 6ef04d9606 [old-cruft] Removed old lombok.Delegate (it's in experimental now) and lombok.experimental.Wither (it's in main now). 2026-08-07 01:11:31 +02:00
Reinier Zwitserloot 2e177996fb [promotion] SuperBuilder promoted to main package. 2026-08-07 01:11:31 +02:00
snowykte0426 ad8a656158 Document Ant annotation processing on JDK 23 2026-08-07 00:45:06 +02:00
Roel Spilker c934a838a9 Remove dependency on GitHub specific features 2026-08-07 00:38:39 +02:00
Reinier Zwitserloot c8f91b5294 [#4040] Fixed: Javac26 would fail to eliminate the runtime dep when using @SneakyThrows. 2026-05-14 01:14:57 +02:00
Reinier Zwitserloot ba2d0e8d59 [version] post-release version bump 2026-04-22 01:24:32 +02:00
Reinier Zwitserloot 936ca59baf [build] lombok's launcher is still intended to be 1.4 compatible, or at least, now is not the moment to rework the build, and this commit isn't worth the pain. Removed the generics. 2026-04-22 01:16:02 +02:00
Reinier Zwitserloot fcdab3f29e [version] pre-release version bump 2026-04-22 01:13:03 +02:00
Reinier Zwitserloot 1cb7d49c5d [changelog][#4004] Mention Jackson3 final touches in changelog. 2026-04-22 01:10:25 +02:00
Neale Upstone 12a15b0055 Fix: Bump EA_JDK to 27 (25 and 26 have been released)
Attempt to use EA logic for JDK 25 was failing.
2026-04-22 00:56:49 +02:00
Reinier Zwitserloot 2be766cfc2 Merge branch 'jackson3-final-touches' 2026-04-22 00:49:54 +02:00
Reinier Zwitserloot 290fa4c853 [trivial] constantize the warning we spit out for ambiguous jackson2/3, and match style to lombok project style. 2026-04-22 00:49:48 +02:00
Sebastian Mandrean e6567b6621 test: Add Jackson 3 test cases and version ambiguity warnings
Add JacksonizedAccessorsJackson3 test case verifying that @Jacksonized
with jacksonVersion=3 emits the correct annotations.

Add expected warning messages for tests that have both Jackson 2 and 3
on the classpath without explicit version configuration, and fix
JacksonizedSuperBuilderWithJsonDeserialize message expectations.
2026-04-22 00:49:30 +02:00
Sebastian Mandrean 45e72e241a feat: Add Jackson 3 databind/dataformat annotations to HandlerUtil copy lists
Add tools.jackson.databind.annotation and tools.jackson.dataformat.xml.annotation
entries to the Jackson annotation copy lists, so that Jackson 3 databind and
format-specific annotations are correctly copied to getters, setters, and builders.
2026-04-22 00:49:30 +02:00
Sebastian Mandrean 184d42363d feat: Add Jackson 3 support to @Jacksonized handlers
Update both javac and eclipse handlers to emit Jackson 3 databind
annotations (@JsonDeserialize, @JsonPOJOBuilder) when configured via
lombok.jacksonized.jacksonVersion.

# Conflicts:
#	src/core/lombok/javac/handlers/HandleJacksonized.java
2026-04-22 00:49:29 +02:00
skysrd e027ad0f15 refactored to ShadowClassLoader use Collections::enumeration instead of Vector 2026-04-22 00:15:33 +02:00
Reinier Zwitserloot cb6704b576 Merge branch 'jacksonized-fluent' 2026-04-21 23:21:49 +02:00
Reinier Zwitserloot 5a423d50d5 [#3934] mention in changelog: fluent+Jacksonized now fixed. 2026-04-21 23:19:59 +02:00
Jan Rieke b19688c01d fix compile 2026-04-21 23:08:35 +02:00
Jan Rieke ca16c5b9f6 fix test 2026-04-21 23:08:35 +02:00
Jan Rieke 0cc5e054a3 ecj: fix duplicate jackson annotation copying when generating setter 2026-04-21 23:08:35 +02:00
Reinier Zwitserloot 2927eff997 Merge branch 'eclipse-broken-folding' 2026-04-21 23:02:24 +02:00
Rawi01 5753c833ac Add latest eclipse test target to pipeline 2026-04-21 23:00:57 +02:00
Rawi01 31165ee216 Add eclipse 2025-09 test targets 2026-04-21 23:00:57 +02:00
Rawi01 4a0f85674e Hide generated nodes from FoldingVisitor 2026-04-21 23:00:57 +02:00
Reinier Zwitserloot 21e0ebf082 Merge pull request #3998 from Dongnyoung/Dongnyoung-refactor-description
docs: clarify @Getter(lazy=true) constraints
2026-04-21 22:49:39 +02:00
Reinier Zwitserloot 3602c71b7a [changelog][#4022] Mention jacksonized fix in changelog. 2026-04-21 22:42:29 +02:00
Reinier Zwitserloot b68af6e415 Merge pull request #4024 from ralemanc/master
Fix Jacksonized stops generating JsonProperty/JsonIgnore after first manual annotation (fluent=true)
2026-04-21 22:35:38 +02:00
Reinier Zwitserloot 56652199d0 [changelog][#3985] Mention support of STS5 in changelog. 2026-04-08 01:38:04 +02:00