Andy Wilkinson
5d8c1d9bd7
Merge branch '2.7.x'
2022-03-29 14:30:42 +01:00
Andy Wilkinson
8f985474a6
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30465
2022-03-29 14:24:25 +01:00
Andy Wilkinson
d574563616
Document @ConstructorBinding and @DefaultValue with records
...
Closes gh-30460
2022-03-29 14:14:28 +01:00
Andy Wilkinson
e9d2ec507e
Merge branch '2.7.x'
2022-03-09 15:17:25 +00:00
Andy Wilkinson
5ee3fdab77
Polish "Allow @DefaultValue to be used on record components"
...
See gh-29010
2022-03-04 14:52:20 +00:00
Pavel Anisimov
976ed90cd7
Allow @DefaultValue to be used on record components
...
See gh-29010
2022-03-04 12:12:08 +00:00
Andy Wilkinson
89b2015adf
Merge branch '2.7.x'
2022-03-01 17:49:48 +00:00
Andy Wilkinson
3630952f7b
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30022
2022-03-01 17:49:14 +00:00
Andy Wilkinson
a265f150ac
Improve parsing of numeric default values
...
Previously, all integral numbers were parsed as integers. This
caused two problems:
1. Compilation would fail if the default value for a long wasn't a
valid integer.
2. The default value for a byte or short could be out of range,
resulting in the generation of invalid metadata and an error
that could have been caught at compile time not being caught
until runtime.
This commit updates the parsing of all numeric values to use the
parse method of the target primitive type. For example,
Short.parseShort(String) is now used to parse a short.
Fixes gh-30020
2022-03-01 17:38:19 +00:00
Madhura Bhave
bf1ed5f2f8
Update copyright header on changed files
2022-02-16 14:24:22 -08:00
Madhura Bhave
44b88cc88c
Allow @ConstructorBinding to be optional
...
This commit makes @ConstructorBinding optional for a type
that has a single parameterized constructor. An @Autowired annotation
on any of the constructors indicates that the type should not be constructor
bound.
Since @ConstructorBinding is now deduced for a single parameterized constructor,
the annotation is no longer needed at the type level.
Closes gh-23216
2022-02-16 13:47:26 -08:00
Andy Wilkinson
fe7b13ec46
Upgrade to Spring Framework 6 and Jakarta EE 9
...
Closes gh-28619
Closes gh-28620
Closes gh-28621
Closes gh-28622
Closes gh-28623
Closes gh-28624
Closes gh-28625
Closes gh-28626
Closes gh-28627
Closes gh-28628
Closes gh-28629
Closes gh-28630
Closes gh-28631
Closes gh-28632
Closes gh-28633
Closes gh-28634
Closes gh-28635
Closes gh-28636
Closes gh-28638
Closes gh-28639
Closes gh-28640
Closes gh-28644
Closes gh-28645
Closes gh-28650
Closes gh-28711
Closes gh-28866
Closes gh-28867
Closes gh-28868
Closes gh-28872
See gh-28641
See gh-28642
See gh-28643
See gh-28646
See gh-28647
See gh-28648
See gh-28649
See gh-28721
See gh-28869
See gh-28871
2021-11-30 20:32:16 +00:00
Phillip Webb
beb68671bb
Update copyright year of changed files
2021-11-24 10:23:32 -08:00
Andy Wilkinson
2a342ef416
Merge branch '2.5.x'
...
Closes gh-28662
2021-11-12 23:40:35 +00:00
Andy Wilkinson
5e4a502b2d
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28661
2021-11-12 20:31:25 +00:00
Andy Wilkinson
2cec3971d7
Prohibit unwanted dependencies in all modules not just starters
...
Closes gh-28658
2021-11-12 20:04:35 +00:00
Phillip Webb
e25f216eab
Merge branch '2.5.x'
...
Closes gh-28425
2021-10-21 11:28:33 -07:00
Phillip Webb
daf36dff55
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28424
2021-10-21 11:27:29 -07:00
Phillip Webb
2f6651c3cb
Don't use markdown syntax in javadoc or error messages
...
Closes gh-28408
2021-10-21 11:24:54 -07:00
dreis2211
cf0fcafd13
Polish
...
See gh-27940
2021-09-21 08:08:29 +02:00
Andy Wilkinson
fd2fbcb3c6
Merge branch '2.5.x'
...
Closes gh-27758
2021-08-18 18:28:34 +01:00
Andy Wilkinson
6d8ba3e8b1
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27757
2021-08-18 17:56:32 +01:00
Andy Wilkinson
ffbd28b60a
Polish "Polish access modifiers for test classes"
...
See gh-27736
2021-08-18 17:52:42 +01:00
Andy Wilkinson
681df90d33
Generate metadata for records using implicit constructor binding
...
Closes gh-27216
2021-07-26 09:43:32 +01:00
Andy Wilkinson
37f690323f
Polish
...
Closes gh-27432
2021-07-21 11:55:38 +01:00
Stephane Nicoll
69c2621a14
Polish "Add support for @Value annotation"
...
See gh-26337
2021-06-12 17:40:34 +02:00
Mark Jeffrey
14d86034a1
Add support for @Value annotation
...
This commit adds support for `@Value` from project Lombok for metadata
generation. This is very similar to the existing `@Data` support.
See gh-26337
2021-06-12 17:40:34 +02:00
weixsun
8a2be288a3
Remove unnecessary throws declaration in tests
...
See gh-26441
2021-05-17 09:31:51 +02:00
Stephane Nicoll
52994027f4
Fix checkstyle violation
2021-04-28 15:14:33 +02:00
Stephane Nicoll
7465eb0f03
Merge branch '2.4.x'
2021-04-28 15:12:45 +02:00
Stephane Nicoll
85e1cc4d65
Fix checkstyle violation
2021-04-28 15:12:22 +02:00
Stephane Nicoll
09ae65e3b7
Merge branch '2.4.x'
...
Closes gh-26277
2021-04-28 14:13:11 +02:00
Stephane Nicoll
05b09907e0
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26275
2021-04-28 14:12:35 +02:00
Stephane Nicoll
d610f3c2ff
Polish "Fix ordering of metadata entries"
...
See gh-26230
2021-04-28 14:07:37 +02:00
Dmitry Pavlov
3e34b0a60a
Fix ordering of metadata entries
...
This commit provides a consistent ordering for groups that share the
same configuration property prefix.
See gh-26230
2021-04-28 14:07:37 +02:00
Stephane Nicoll
9e3c3b73ac
Merge branch '2.4.x'
2021-04-28 13:58:05 +02:00
Stephane Nicoll
d98fe36b88
Merge branch '2.3.x' into 2.4.x
2021-04-28 13:57:45 +02:00
Stephane Nicoll
20da9826cc
Disable incrementalBuildTypeRenamed test
...
This commit disables a test that does not test what it is supposed to
and improve the Metadata assertions to fail early if more than one
matching item by name and type is found in the metadata.
See gh-26271
2021-04-28 13:54:35 +02:00
Andy Wilkinson
340893747b
Merge branch '2.4.x'
...
Closes gh-25799
2021-03-25 15:50:45 +00:00
Andy Wilkinson
af7e4e211c
Support all known endpoint types
...
Previously, the configuration metadata annotation processor only
declared support for `@Endpoint` and none of the other more
specialized `@…Endpoint` annotations that are meta-annotated with
`@Endpoint` such as `@WebEndpoint` and `@JmxEndpoint. This would
result in missing metadata if a full or incremental build only
compiled classes annotated with one of the more specialized
`@…Endpoint` annotations as the annotation processor would not be
called.
This commit updates the processor's supported annotation types to
include every known `@…Endpoint` annotation. The test processor has
also been similarly updated to align its behaviour with that of the
main processor.
Fixes gh-25388
2021-03-25 15:23:09 +00:00
Andy Wilkinson
db781a0d84
Merge branch '2.4.x'
...
See gh-25077
2021-02-02 15:14:18 +00:00
Andy Wilkinson
788a42d694
Merge branch '2.3.x' into 2.4.x
...
See gh-25076
2021-02-02 15:12:27 +00:00
Andy Wilkinson
67479b6380
Add junit-platform-launcher dependency by convention
...
Closes gh-25074
2021-02-02 13:03:21 +00:00
Phillip Webb
d8b6960997
Merge branch '2.4.x'
...
Closes gh-25077
2021-02-01 16:08:57 -08:00
Phillip Webb
257608a3a3
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25076
2021-02-01 16:03:43 -08:00
Phillip Webb
939b5dfc26
Add junit-platform-launcher dependency
...
Update `build.gradle` files to ensure that `junit-platform-launcher` is
a `testRuntimeOnly` dependency. This ensures that tests can be run from
Eclipse.
Closes gh-25074
2021-02-01 15:31:28 -08:00
Marten Deinum
5121ca5d17
Reduce the overhead of char[] creation
...
See gh-24204
2020-12-21 10:21:49 +01:00
Stephane Nicoll
946be4eab6
Merge branch '2.3.x'
...
Closes gh-24059
2020-11-05 16:33:28 +01:00
Stephane Nicoll
4a8646bd09
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24058
2020-11-05 16:32:52 +01:00
Stephane Nicoll
59ea7c11f6
Use most specific getter when generating metadata
...
This commit makes sure to use the most specific getter if more than
one candidate exists.
Closes gh-24002
2020-11-05 16:01:28 +01:00