Skip to content

Commit

Permalink
Prepare clientcore for beta.3 release (#43950)
Browse files Browse the repository at this point in the history
  • Loading branch information
samvaity authored Jan 27, 2025
1 parent 56c7913 commit 25cf5c8
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ page at http://checkstyle.sourceforge.net/config.html -->
'System.out' and 'System.err' is not allowed as well.
4) All classes should use ClientLogger as logger only but except ClientLogger itself -->
<module name="com.azure.tools.checkstyle.checks.GoodLoggingCheck">
<property name="fullyQualifiedLoggerName" value="io.clientcore.core.util.ClientLogger" />
<property name="fullyQualifiedLoggerName" value="io.clientcore.core.instrumentation.logging.ClientLogger" />
</module>

<!-- CUSTOM CHECKS -->
Expand Down
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ com.azure.resourcemanager:azure-resourcemanager-neonpostgres;1.0.0-beta.1;1.0.0-
com.azure.resourcemanager:azure-resourcemanager-pineconevectordb;1.0.0-beta.1;1.0.0-beta.1
com.azure.tools:azure-sdk-archetype;1.0.0;1.2.0-beta.1
com.azure.tools:azure-sdk-build-tool;1.0.0;1.1.0-beta.1
io.clientcore:clientcore-parent;1.0.0-beta.1;1.0.0-beta.1
io.clientcore:clientcore-parent;1.0.0-beta.1;1.0.0-beta.2
io.clientcore:core;1.0.0-beta.2;1.0.0-beta.3
io.clientcore:http-okhttp3;1.0.0-beta.1;1.0.0-beta.1
io.clientcore:http-stress;1.0.0-beta.1;1.0.0-beta.1
Expand Down
10 changes: 3 additions & 7 deletions sdk/clientcore/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Release History

## 1.0.0-beta.3 (Unreleased)

### Features Added
## 1.0.0-beta.3 (2025-01-27)

### Breaking Changes

### Bugs Fixed

### Other Changes
- Downgraded clientcore baseline from Java 17 to Java 8.
- Updated clientcore into a multi-release JAR. The Java 8 version of the JAR will be used for Java 8-16, and the Java 17 version of the JAR will be used for Java 17+.

## 1.0.0-beta.2 (2025-01-17)

Expand Down
2 changes: 1 addition & 1 deletion sdk/clientcore/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>io.clientcore</groupId>
<artifactId>core</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/clientcore/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.clientcore</groupId>
<artifactId>clientcore-parent</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<version>1.0.0-beta.2</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<relativePath>../../parents/clientcore-parent</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class SwaggerMethodParser implements HttpResponseDecodeData {
// to search the raw value on each call.
private final String rawHost;
private final String fullyQualifiedMethodName;
private final ClientLogger methodLogger;
private final ClientLogger logger;
private final HttpMethod httpMethod;
private final String relativePath;
private final Map<String, List<String>> queryParams = new LinkedHashMap<>();
Expand Down Expand Up @@ -109,7 +109,7 @@ public SwaggerMethodParser(Method swaggerMethod) {
this.rawHost = interfaceParser.getHost();
final Class<?> swaggerInterface = swaggerMethod.getDeclaringClass();
fullyQualifiedMethodName = swaggerInterface.getName() + "." + swaggerMethod.getName();
methodLogger = new ClientLogger(fullyQualifiedMethodName);
logger = new ClientLogger(fullyQualifiedMethodName);

if (!swaggerMethod.isAnnotationPresent(HttpRequestInformation.class)) {
// Should this also check whether there are multiple HTTP method annotations as well?
Expand Down Expand Up @@ -308,7 +308,7 @@ public String getFullyQualifiedMethodName() {
* @return The {@link ClientLogger} that will be used to log during the request and response.
*/
public ClientLogger getMethodLogger() {
return methodLogger;
return logger;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion sdk/clientcore/http-okhttp3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.clientcore</groupId>
<artifactId>clientcore-parent</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<version>1.0.0-beta.2</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<relativePath>../../parents/clientcore-parent</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion sdk/clientcore/http-stress/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.clientcore</groupId>
<artifactId>clientcore-parent</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<version>1.0.0-beta.2</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<relativePath>../../parents/clientcore-parent</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion sdk/clientcore/optional-dependency-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.clientcore</groupId>
<artifactId>clientcore-parent</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<version>1.0.0-beta.2</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<relativePath>../../parents/clientcore-parent</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion sdk/parents/clientcore-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>io.clientcore</groupId>
<artifactId>clientcore-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.0-beta.1</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->
<version>1.0.0-beta.2</version> <!-- {x-version-update;io.clientcore:clientcore-parent;current} -->

<name>SDK for Java - Client Libraries</name>
<description>Parent POM for SDK for Java</description>
Expand Down

0 comments on commit 25cf5c8

Please sign in to comment.