Skip to content

Commit 508484c

Browse files
committed
Upgrade Versions; Prepare for Release
1 parent 3af6935 commit 508484c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,23 @@ ext {
5252
googleJsr305Version = '3.0.2'
5353
hamcrestVersion = '2.2'
5454
hibernateValidationVersion = '8.0.0.Final'
55-
jacksonBomVersion = '2.14.0'
55+
jacksonBomVersion = '2.14.2'
5656
jaywayJsonPathVersion = '2.7.0'
5757
junit4Version = '4.13.2'
5858
junitJupiterVersion = '5.9.1'
5959
log4jVersion = '2.19.0'
6060
logbackVersion = '1.4.4'
6161
lz4Version = '1.8.0'
6262
micrometerDocsVersion = '1.0.1'
63-
micrometerVersion = '1.10.3'
64-
micrometerTracingVersion = '1.0.1'
63+
micrometerVersion = '1.10.4'
64+
micrometerTracingVersion = '1.0.2'
6565
mockitoVersion = '4.8.1'
6666
rabbitmqStreamVersion = '0.8.0'
6767
rabbitmqVersion = project.hasProperty('rabbitmqVersion') ? project.rabbitmqVersion : '5.16.0'
6868
reactorVersion = '2022.0.2'
6969
snappyVersion = '1.1.8.4'
70-
springDataVersion = '2022.0.1'
71-
springVersion = project.hasProperty('springVersion') ? project.springVersion : '6.0.4'
70+
springDataVersion = '2022.0.2'
71+
springVersion = project.hasProperty('springVersion') ? project.springVersion : '6.0.5'
7272
springRetryVersion = '2.0.0'
7373
testcontainersVersion = '1.17.6'
7474
zstdJniVersion = '1.5.0-2'

spring-amqp/src/main/java/org/springframework/amqp/core/Base64UrlNamingStrategy.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2019 the original author or authors.
2+
* Copyright 2018-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,10 +17,10 @@
1717
package org.springframework.amqp.core;
1818

1919
import java.nio.ByteBuffer;
20+
import java.util.Base64;
2021
import java.util.UUID;
2122

2223
import org.springframework.util.Assert;
23-
import org.springframework.util.Base64Utils;
2424

2525
/**
2626
* Generates names with the form {@code <prefix><base64url>} where 'prefix' is
@@ -66,7 +66,7 @@ public String generateName() {
6666
bb.putLong(uuid.getMostSignificantBits())
6767
.putLong(uuid.getLeastSignificantBits());
6868
// Convert to base64 and remove trailing =
69-
return this.prefix + Base64Utils.encodeToUrlSafeString(bb.array())
69+
return this.prefix + Base64.getUrlEncoder().encodeToString(bb.array())
7070
.replaceAll("=", "");
7171
}
7272

spring-rabbit-junit/src/main/java/org/springframework/amqp/rabbit/junit/BrokerRunningSupport.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@
2929
import java.nio.charset.StandardCharsets;
3030
import java.util.ArrayList;
3131
import java.util.Arrays;
32+
import java.util.Base64;
3233
import java.util.HashMap;
3334
import java.util.List;
3435
import java.util.Map;
@@ -39,7 +40,6 @@
3940
import org.apache.commons.logging.LogFactory;
4041

4142
import org.springframework.http.HttpStatus;
42-
import org.springframework.util.Base64Utils;
4343
import org.springframework.util.StringUtils;
4444
import org.springframework.web.util.UriUtils;
4545

@@ -447,7 +447,7 @@ public String generateId() {
447447
ByteBuffer bb = ByteBuffer.wrap(new byte[SIXTEEN]);
448448
bb.putLong(uuid.getMostSignificantBits())
449449
.putLong(uuid.getLeastSignificantBits());
450-
return "SpringBrokerRunning." + Base64Utils.encodeToUrlSafeString(bb.array()).replaceAll("=", "");
450+
return "SpringBrokerRunning." + Base64.getUrlEncoder().encodeToString(bb.array()).replaceAll("=", "");
451451
}
452452

453453
private boolean isDefaultQueue(String queue) {

0 commit comments

Comments
 (0)