Skip to content

Commit e238b16

Browse files
authored
Merge pull request asyncapi#211 from asyncapi/release/1.0.0-RC3
build: 1.0.0-RC3
2 parents 4d26305 + 1a47a9b commit e238b16

File tree

49 files changed

+239
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+239
-91
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.0-RC3] - 2025-01-21
9+
10+
### Changed
11+
12+
- Replace `javax.validation` with `jakarta.validation`. Because last one is successor
13+
- Mark lombok dependency as `provided` to avoid its injection into resulted jar
14+
- `MessageExample.payload` now is `any` type instead of `Map<String, Object>`
15+
816
## [1.0.0-RC2] - 2024-05-16
917

1018
### Added

asyncapi-core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ which allows to use it in null-safety languages like `kotlin` without extra head
1010
<dependency>
1111
<groupId>com.asyncapi</groupId>
1212
<artifactId>asyncapi-core</artifactId>
13-
<version>1.0.0-RC2</version>
13+
<version>1.0.0-RC3</version>
1414
</dependency>
1515
```
1616

asyncapi-core/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>asyncapi</artifactId>
88
<groupId>com.asyncapi</groupId>
9-
<version>1.0.0-RC2</version>
9+
<version>1.0.0-RC3</version>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
1212

@@ -48,9 +48,9 @@
4848
<scope>test</scope>
4949
</dependency>
5050
<dependency>
51-
<groupId>javax.validation</groupId>
52-
<artifactId>validation-api</artifactId>
53-
<version>2.0.1.Final</version>
51+
<groupId>jakarta.validation</groupId>
52+
<artifactId>jakarta.validation-api</artifactId>
53+
<version>3.1.0</version>
5454
</dependency>
5555
</dependencies>
5656

asyncapi-core/src/main/java/com/asyncapi/bindings/amqp/v0/_1_0/channel/AMQPChannelBinding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class AMQPChannelBinding extends com.asyncapi.bindings.amqp.AMQPChannelBi
3737
*/
3838
@NotNull
3939
@Builder.Default
40-
@javax.validation.constraints.NotNull
40+
@jakarta.validation.constraints.NotNull
4141
@JsonProperty(value = "is", required = true, defaultValue = "routingKey")
4242
@JsonPropertyDescription("Defines what type of channel is it. Can be either queue or routingKey (default).")
4343
private AMQPChannelType is = AMQPChannelType.ROUTING_KEY;

asyncapi-core/src/main/java/com/asyncapi/bindings/amqp/v0/_1_0/channel/exchange/AMQPChannelExchangeProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AMQPChannelExchangeProperties {
3333
* The name of the exchange. It MUST NOT exceed 255 characters long.
3434
*/
3535
@Nullable
36-
@javax.validation.constraints.Size(
36+
@jakarta.validation.constraints.Size(
3737
max = 255,
3838
message = "Exchange name must not exceed 255 characters long."
3939
)

asyncapi-core/src/main/java/com/asyncapi/bindings/amqp/v0/_1_0/channel/queue/AMQPChannelQueueProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AMQPChannelQueueProperties {
3333
* The name of the queue. It MUST NOT exceed 255 characters long.
3434
*/
3535
@Nullable
36-
@javax.validation.constraints.Size(
36+
@jakarta.validation.constraints.Size(
3737
max = 255,
3838
message = "Queue name must not exceed 255 characters long."
3939
)

asyncapi-core/src/main/java/com/asyncapi/bindings/amqp/v0/_1_0/operation/AMQPOperationBinding.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class AMQPOperationBinding extends com.asyncapi.bindings.amqp.AMQPOperati
3737
* Applies to: publish, subscribe
3838
*/
3939
@Nullable
40-
@javax.validation.constraints.Min(
40+
@jakarta.validation.constraints.Min(
4141
value = 0,
4242
message = "TTL (Time-To-Live) for the message must be greater than or equal to zero"
4343
)
@@ -81,11 +81,11 @@ public class AMQPOperationBinding extends com.asyncapi.bindings.amqp.AMQPOperati
8181
* Applies to: publish, subscribe
8282
*/
8383
@Nullable
84-
@javax.validation.constraints.Min(
84+
@jakarta.validation.constraints.Min(
8585
value = 1,
8686
message = "Delivery mode of the message must be either 1 (transient) or 2 (persistent)"
8787
)
88-
@javax.validation.constraints.Max(
88+
@jakarta.validation.constraints.Max(
8989
value = 2,
9090
message = "Delivery mode of the message must be either 1 (transient) or 2 (persistent)"
9191
)

asyncapi-core/src/main/java/com/asyncapi/bindings/amqp/v0/_2_0/channel/AMQPChannelBinding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class AMQPChannelBinding extends com.asyncapi.bindings.amqp.AMQPChannelBi
3737
*/
3838
@NotNull
3939
@Builder.Default
40-
@javax.validation.constraints.NotNull
40+
@jakarta.validation.constraints.NotNull
4141
@JsonProperty(value = "is", required = true, defaultValue = "routingKey")
4242
@JsonPropertyDescription("Defines what type of channel is it. Can be either queue or routingKey (default).")
4343
private AMQPChannelType is = AMQPChannelType.ROUTING_KEY;

asyncapi-core/src/main/java/com/asyncapi/bindings/amqp/v0/_2_0/channel/exchange/AMQPChannelExchangeProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AMQPChannelExchangeProperties {
3333
* The name of the exchange. It MUST NOT exceed 255 characters long.
3434
*/
3535
@Nullable
36-
@javax.validation.constraints.Size(
36+
@jakarta.validation.constraints.Size(
3737
max = 255,
3838
message = "Exchange name must not exceed 255 characters long."
3939
)

asyncapi-core/src/main/java/com/asyncapi/bindings/amqp/v0/_2_0/channel/queue/AMQPChannelQueueProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AMQPChannelQueueProperties {
3333
* The name of the queue. It MUST NOT exceed 255 characters long.
3434
*/
3535
@Nullable
36-
@javax.validation.constraints.Size(
36+
@jakarta.validation.constraints.Size(
3737
max = 255,
3838
message = "Queue name must not exceed 255 characters long."
3939
)

0 commit comments

Comments
 (0)