Skip to content

Commit 6487392

Browse files
authored
bump version to 2.14.2 (#1275)
1 parent 3a651bb commit 6487392

File tree

37 files changed

+69
-50
lines changed

37 files changed

+69
-50
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## 2.14.2
5+
- [java-security]
6+
- Fixes NPE when accessing `XsuaaToken.getPrincipal()` and `grantType` is null (#1261)
7+
- [token-client]
8+
- fixes JWKs fetch from identity service issue when `app_tid` is not present in the token - the `X-app_tid` and `X-client_id` headers are only added when both values are available.
9+
- `DefaultOAuth2TokenService`
10+
- fixes issue when in case of unsuccessful token fetch `OAuth2ServiceException.withHeaders()` headers field were filled with only one entry containing all headers as a string
11+
- `DefaultOAuth2TokenKeyService` and `SpringOAuth2TokenKeyService`
12+
- improved error handling
13+
- `OAuth2ServiceException` that's thrown status code != 200 case doesn't get swallowed
14+
- fixes `OAuth2ServiceException.withHeaders()` semantically incorrect behavior when headers were filled with request headers instead of response headers
15+
- `OAuth2ServiceException` generated by unsuccessful JWKs fetch contains request headers as well
16+
- `OAuth2ServiceException` updated header message - contains now `Response Headers` instead of `Headers`
17+
18+
#### Dependency upgrades
19+
- Bump spring.security.version from 5.8.5 to 5.8.6
20+
- Bump spring.boot.version from 2.7.14 to 2.7.15
21+
- Bump reactor-core from 3.4.31 to 3.4.32
22+
423
## 2.14.1
524
- [token-client]
625
- `OAuth2ServiceException` has been extended with getter method `getHeaders()` that gives the access to failed request's response headers

api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<dependency>
66
<groupId>com.sap.cloud.security.xsuaa</groupId>
77
<artifactId>api</artifactId>
8-
<version>2.14.1</version>
8+
<version>2.14.2</version>
99
</dependency>
1010
```

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>com.sap.cloud.security.xsuaa</groupId>
1313
<artifactId>parent</artifactId>
14-
<version>2.14.1</version>
14+
<version>2.14.2</version>
1515
</parent>
1616

1717
<packaging>jar</packaging>

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<groupId>com.sap.cloud.security</groupId>
1010
<artifactId>java-bom</artifactId>
11-
<version>2.14.1</version>
11+
<version>2.14.2</version>
1212
<packaging>pom</packaging>
1313
<name>java-bom</name>
1414

env/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>com.sap.cloud.security.xsuaa</groupId>
1111
<artifactId>parent</artifactId>
12-
<version>2.14.1</version>
12+
<version>2.14.2</version>
1313
</parent>
1414

1515
<groupId>com.sap.cloud.security</groupId>

java-api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<dependency>
66
<groupId>com.sap.cloud.security</groupId>
77
<artifactId>java-api</artifactId>
8-
<version>2.14.1</version>
8+
<version>2.14.2</version>
99
</dependency>
1010
```

java-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>com.sap.cloud.security.xsuaa</groupId>
1111
<artifactId>parent</artifactId>
12-
<version>2.14.1</version>
12+
<version>2.14.2</version>
1313
</parent>
1414

1515
<groupId>com.sap.cloud.security</groupId>

java-security-it/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>parent</artifactId>
1111
<groupId>com.sap.cloud.security.xsuaa</groupId>
12-
<version>2.14.1</version>
12+
<version>2.14.2</version>
1313
</parent>
1414

1515
<artifactId>java-security-it</artifactId>

java-security-test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ It includes for example a `JwtGenerator` that generates JSON Web Tokens (JWT) th
2222
<dependency>
2323
<groupId>com.sap.cloud.security</groupId>
2424
<artifactId>java-security-test</artifactId>
25-
<version>2.14.1</version>
25+
<version>2.14.2</version>
2626
<scope>test</scope>
2727
</dependency>
2828
```

java-security-test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>com.sap.cloud.security.xsuaa</groupId>
1111
<artifactId>parent</artifactId>
12-
<version>2.14.1</version>
12+
<version>2.14.2</version>
1313
</parent>
1414

1515
<groupId>com.sap.cloud.security</groupId>

0 commit comments

Comments
 (0)