Skip to content

Commit 320ec6f

Browse files
Version Packages (#1361)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5eb12a1 commit 320ec6f

11 files changed

Lines changed: 61 additions & 38 deletions

File tree

.changeset/batching-protocol-consistency.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.changeset/closeandflush-abort-fix.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/browser/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @segment/analytics-next
22

3+
## 1.84.0
4+
5+
### Minor Changes
6+
7+
- [#1342](https://github.com/segmentio/analytics-next/pull/1342) [`65951526`](https://github.com/segmentio/analytics-next/commit/65951526ddd696d14ca250453ccad48d170dc60a) Thanks [@MichaelGHSeg](https://github.com/MichaelGHSeg)! - Unify and harden HTTP response handling and retry behavior across browser and node SDKs.
8+
9+
- Browser (`@segment/analytics-next`) - Add config-driven response handling for Segment.io delivery (`httpConfig` with rate-limit/backoff controls). - Improve batching/dispatcher retry semantics for 429 and transient failures. - Use configured `protocol` for batching requests when `apiHost` has no scheme, while preserving compatibility for `apiHost` values that already include `http://` or `https://`.
10+
11+
- Node (`@segment/analytics-node`) - Align publisher retry/status behavior with updated response handling rules. - Add `maxTotalBackoffDuration` and `maxRateLimitDuration` settings to control retry ceilings. - Update default retry configuration to increase resilience under transient failures.
12+
13+
- Core (`@segment/analytics-core`) - Standardize backoff defaults used by retry queues.
14+
15+
### Patch Changes
16+
17+
- Updated dependencies [[`65951526`](https://github.com/segmentio/analytics-next/commit/65951526ddd696d14ca250453ccad48d170dc60a)]:
18+
- @segment/analytics-core@1.8.3
19+
320
## 1.83.0
421

522
### Minor Changes

packages/browser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@segment/analytics-next",
3-
"version": "1.83.0",
3+
"version": "1.84.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/segmentio/analytics-next",
@@ -50,7 +50,7 @@
5050
],
5151
"dependencies": {
5252
"@lukeed/uuid": "^2.0.0",
53-
"@segment/analytics-core": "1.8.2",
53+
"@segment/analytics-core": "1.8.3",
5454
"@segment/analytics-generic-utils": "1.2.0",
5555
"@segment/analytics-page-tools": "1.0.0",
5656
"@segment/analytics.js-video-plugins": "^0.2.1",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// This file is generated.
2-
export const version = '1.83.0'
2+
export const version = '1.84.0'

packages/core/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @segment/analytics-core
22

3+
## 1.8.3
4+
5+
### Patch Changes
6+
7+
- [#1342](https://github.com/segmentio/analytics-next/pull/1342) [`65951526`](https://github.com/segmentio/analytics-next/commit/65951526ddd696d14ca250453ccad48d170dc60a) Thanks [@MichaelGHSeg](https://github.com/MichaelGHSeg)! - Unify and harden HTTP response handling and retry behavior across browser and node SDKs.
8+
9+
- Browser (`@segment/analytics-next`) - Add config-driven response handling for Segment.io delivery (`httpConfig` with rate-limit/backoff controls). - Improve batching/dispatcher retry semantics for 429 and transient failures. - Use configured `protocol` for batching requests when `apiHost` has no scheme, while preserving compatibility for `apiHost` values that already include `http://` or `https://`.
10+
11+
- Node (`@segment/analytics-node`) - Align publisher retry/status behavior with updated response handling rules. - Add `maxTotalBackoffDuration` and `maxRateLimitDuration` settings to control retry ceilings. - Update default retry configuration to increase resilience under transient failures.
12+
13+
- Core (`@segment/analytics-core`) - Standardize backoff defaults used by retry queues.
14+
315
## 1.8.2
416

517
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@segment/analytics-core",
3-
"version": "1.8.2",
3+
"version": "1.8.3",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/segmentio/analytics-next",

packages/node/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# @segment/analytics-node
22

3+
## 3.1.0
4+
5+
### Minor Changes
6+
7+
- [#1342](https://github.com/segmentio/analytics-next/pull/1342) [`65951526`](https://github.com/segmentio/analytics-next/commit/65951526ddd696d14ca250453ccad48d170dc60a) Thanks [@MichaelGHSeg](https://github.com/MichaelGHSeg)! - Unify and harden HTTP response handling and retry behavior across browser and node SDKs.
8+
9+
- Browser (`@segment/analytics-next`) - Add config-driven response handling for Segment.io delivery (`httpConfig` with rate-limit/backoff controls). - Improve batching/dispatcher retry semantics for 429 and transient failures. - Use configured `protocol` for batching requests when `apiHost` has no scheme, while preserving compatibility for `apiHost` values that already include `http://` or `https://`.
10+
11+
- Node (`@segment/analytics-node`) - Align publisher retry/status behavior with updated response handling rules. - Add `maxTotalBackoffDuration` and `maxRateLimitDuration` settings to control retry ceilings. - Update default retry configuration to increase resilience under transient failures.
12+
13+
- Core (`@segment/analytics-core`) - Standardize backoff defaults used by retry queues.
14+
15+
### Patch Changes
16+
17+
- [#1365](https://github.com/segmentio/analytics-next/pull/1365) [`5eb12a17`](https://github.com/segmentio/analytics-next/commit/5eb12a17693034762395791e5bdc0081fae2916c) Thanks [@MichaelGHSeg](https://github.com/MichaelGHSeg)! - Fix closeAndFlush silently dropping in-flight events on timeout.
18+
19+
- Cancel pending retry sleeps via AbortController when closeAndFlush times out, instead of silently swallowing the timeout error.
20+
- Raise default closeAndFlush timeout floor to 75s (was 12.5s) so it survives at least one Retry-After: 60 cycle.
21+
- Add `http_response` emitter event for observing API response status codes and headers.
22+
23+
- Updated dependencies [[`65951526`](https://github.com/segmentio/analytics-next/commit/65951526ddd696d14ca250453ccad48d170dc60a)]:
24+
- @segment/analytics-core@1.8.3
25+
326
## 3.0.0
427

528
### Major Changes

packages/node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@segment/analytics-node",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"main": "./dist/cjs/index.js",
55
"module": "./dist/esm/index.js",
66
"types": "./dist/types/index.d.ts",
@@ -36,7 +36,7 @@
3636
},
3737
"dependencies": {
3838
"@lukeed/uuid": "^2.0.0",
39-
"@segment/analytics-core": "1.8.2",
39+
"@segment/analytics-core": "1.8.3",
4040
"@segment/analytics-generic-utils": "1.2.0",
4141
"buffer": "^6.0.3",
4242
"jose": "^5.1.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// This file is generated.
2-
export const version = '3.0.0'
2+
export const version = '3.1.0'

0 commit comments

Comments
 (0)