Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.9.0"
".": "0.9.1"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.9.1 (2026-05-08)

Full Changelog: [v0.9.0...v0.9.1](https://github.com/openlayer-ai/openlayer-java/compare/v0.9.0...v0.9.1)

### Chores

* redact api-key headers in debug logs ([2ac8d13](https://github.com/openlayer-ai/openlayer-java/commit/2ac8d137efc4fdb279dc3f0d05736deb4da50988))

## 0.9.0 (2026-05-07)

Full Changelog: [v0.8.1...v0.9.0](https://github.com/openlayer-ai/openlayer-java/compare/v0.8.1...v0.9.0)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/com.openlayer.api/openlayer-java)](https://central.sonatype.com/artifact/com.openlayer.api/openlayer-java/0.9.0)
[![javadoc](https://javadoc.io/badge2/com.openlayer.api/openlayer-java/0.9.0/javadoc.svg)](https://javadoc.io/doc/com.openlayer.api/openlayer-java/0.9.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.openlayer.api/openlayer-java)](https://central.sonatype.com/artifact/com.openlayer.api/openlayer-java/0.9.1)
[![javadoc](https://javadoc.io/badge2/com.openlayer.api/openlayer-java/0.9.1/javadoc.svg)](https://javadoc.io/doc/com.openlayer.api/openlayer-java/0.9.1)

<!-- x-release-please-end -->

Expand All @@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).

<!-- x-release-please-start-version -->

The REST API documentation can be found on [openlayer.com](https://openlayer.com/docs/api-reference/rest/overview). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.openlayer.api/openlayer-java/0.9.0).
The REST API documentation can be found on [openlayer.com](https://openlayer.com/docs/api-reference/rest/overview). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.openlayer.api/openlayer-java/0.9.1).

<!-- x-release-please-end -->

Expand All @@ -24,7 +24,7 @@ The REST API documentation can be found on [openlayer.com](https://openlayer.com
### Gradle

```kotlin
implementation("com.openlayer.api:openlayer-java:0.9.0")
implementation("com.openlayer.api:openlayer-java:0.9.1")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.openlayer.api:openlayer-java:0.9.0")
<dependency>
<groupId>com.openlayer.api</groupId>
<artifactId>openlayer-java</artifactId>
<version>0.9.0</version>
<version>0.9.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {

allprojects {
group = "com.openlayer.api"
version = "0.9.0" // x-release-please-version
version = "0.9.1" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private constructor(
/**
* Sensitive headers to redact from logs.
*
* Defaults to `Set.of("Authorization")`.
* Defaults to `Set.of("authorization", "api-key", "x-api-key", "cookie", "set-cookie")`.
*/
@get:JvmName("redactedHeaders") val redactedHeaders: SortedSet<String>,
/**
Expand Down Expand Up @@ -192,7 +192,8 @@ private constructor(
class Builder internal constructor() {

private var httpClient: HttpClient? = null
private var redactedHeaders: Set<String> = setOf("Authorization")
private var redactedHeaders: Set<String> =
setOf("authorization", "api-key", "x-api-key", "cookie", "set-cookie")
private var clock: Clock = Clock.systemUTC()
private var level: LogLevel? = null

Expand All @@ -210,7 +211,7 @@ private constructor(
/**
* Sensitive headers to redact from logs.
*
* Defaults to `Set.of("Authorization")`.
* Defaults to `Set.of("authorization", "api-key", "x-api-key", "cookie", "set-cookie")`.
*/
fun redactedHeaders(redactedHeaders: Set<String>) = apply {
this.redactedHeaders = redactedHeaders
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,8 @@ internal class LoggingHttpClientTest {
httpClient: HttpClient,
level: LogLevel,
clock: Clock = clockFrom(Instant.parse("1998-04-21T00:00:00Z")),
redactedHeaders: Set<String> = setOf("Authorization"),
redactedHeaders: Set<String> =
setOf("authorization", "api-key", "x-api-key", "cookie", "set-cookie"),
): LoggingHttpClient =
LoggingHttpClient.builder()
.httpClient(httpClient)
Expand Down
Loading