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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Version 3.5.5 (June 30, 2026)
- [New](https://github.com/segmentio/analytics-java/pull/531) Unified HTTP response handling and retry behavior
- Retryable statuses (429, 408, 410, 460, 5xx except 501/505/511) check Retry-After header first, fall back to exponential backoff
- Retry-After supports numeric seconds and RFC 7231 HTTP-date format, capped at 300s
- Rate-limited retries do not count against maxRetries
- Looper defers batch submission while rate-limited
- Default backoff: 500ms base, 1min cap, 10 retries
- New Builder options: `maxTotalBackoffDuration()`, `maxRateLimitDuration()` (default 12h each)
- [New](https://github.com/segmentio/analytics-java/pull/531) `offer()` non-blocking alternative to `enqueue()` with byte-size validation and backpressure handling
- [New](https://github.com/segmentio/analytics-java/pull/531) X-Retry-Count header sent on retries
- [New](https://github.com/segmentio/analytics-java/pull/531) Authorization header (Basic auth) added to all requests
- [Fix](https://github.com/segmentio/analytics-java/pull/531) Network executor shutdown now waits 75s for in-flight uploads to complete

# Version 3.5.4 (Dec 5, 2025)
- Updating release for new sonatype repository

Expand Down
6 changes: 3 additions & 3 deletions analytics-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<artifactId>analytics-parent</artifactId>
<groupId>com.segment.analytics.java</groupId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
</parent>

<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-cli</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
<name>Analytics Java CLI</name>

<description>Command-line interface for Segment Analytics for Java.</description>
Expand All @@ -28,7 +28,7 @@
<url>https://github.com/segmentio/analytics-java/</url>
<connection>scm:git:https://github.com/segmentio/analytics-java.git</connection>
<developerConnection>scm:git:git@github.com:segmentio/analytics-java.git</developerConnection>
<tag>analytics-parent-3.5.4</tag>
<tag>analytics-parent-3.5.5</tag>
</scm>

<developers>
Expand Down
6 changes: 3 additions & 3 deletions analytics-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-parent</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
</parent>

<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-core</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
<name>Analytics for Java (Core)</name>

<description>Core runtime for Segment Analytics for Java.</description>
Expand All @@ -28,7 +28,7 @@
<url>https://github.com/segmentio/analytics-java/</url>
<connection>scm:git:https://github.com/segmentio/analytics-java.git</connection>
<developerConnection>scm:git:git@github.com:segmentio/analytics-java.git</developerConnection>
<tag>analytics-parent-3.5.4</tag>
<tag>analytics-parent-3.5.5</tag>
</scm>

<developers>
Expand Down
6 changes: 3 additions & 3 deletions analytics-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<artifactId>analytics-parent</artifactId>
<groupId>com.segment.analytics.java</groupId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
</parent>

<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-sample</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
<name>Analytics Sample</name>

<description>Sample application demonstrating Segment Analytics for Java.</description>
Expand All @@ -28,7 +28,7 @@
<url>https://github.com/segmentio/analytics-java/</url>
<connection>scm:git:https://github.com/segmentio/analytics-java.git</connection>
<developerConnection>scm:git:git@github.com:segmentio/analytics-java.git</developerConnection>
<tag>analytics-parent-3.5.4</tag>
<tag>analytics-parent-3.5.5</tag>
</scm>

<developers>
Expand Down
6 changes: 3 additions & 3 deletions analytics-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-parent</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
</parent>

<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-spring-boot-starter</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
<name>Spring Boot starter for Segment Analytics for Java</name>

<description>Spring Boot auto-configuration for Segment Analytics for Java.</description>
Expand All @@ -28,7 +28,7 @@
<url>https://github.com/segmentio/analytics-java/</url>
<connection>scm:git:https://github.com/segmentio/analytics-java.git</connection>
<developerConnection>scm:git:git@github.com:segmentio/analytics-java.git</developerConnection>
<tag>analytics-parent-3.5.4</tag>
<tag>analytics-parent-3.5.5</tag>
</scm>

<developers>
Expand Down
6 changes: 3 additions & 3 deletions analytics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-parent</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
</parent>

<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
<name>Analytics for Java</name>

<description>The hassle-free way to add analytics to your Java app.</description>
Expand All @@ -28,7 +28,7 @@
<url>https://github.com/segmentio/analytics-java/</url>
<connection>scm:git:https://github.com/segmentio/analytics-java.git</connection>
<developerConnection>scm:git:git@github.com:segmentio/analytics-java.git</developerConnection>
<tag>analytics-parent-3.5.4</tag>
<tag>analytics-parent-3.5.5</tag>
</scm>

<developers>
Expand Down
4 changes: 2 additions & 2 deletions e2e-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<artifactId>analytics-parent</artifactId>
<groupId>com.segment.analytics.java</groupId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
</parent>

<groupId>com.segment.analytics.java</groupId>
<artifactId>e2e-cli</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
<name>Analytics Java E2E CLI</name>

<description>E2E testing CLI for Segment Analytics for Java.</description>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-parent</artifactId>
<version>3.5.5-SNAPSHOT</version>
<version>3.5.6-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Analytics for Java (Parent)</name>
<description>The hassle-free way to add analytics to your Android app.</description>
Expand Down Expand Up @@ -60,7 +60,7 @@
<url>https://github.com/segmentio/analytics-java/</url>
<connection>scm:git:https://github.com/segmentio/analytics-java.git</connection>
<developerConnection>scm:git:git@github.com:segmentio/analytics-java.git</developerConnection>
<tag>analytics-parent-3.5.4</tag>
<tag>analytics-parent-3.5.5</tag>
</scm>

<issueManagement>
Expand Down