Skip to content

release(harmony): SDK 0.5.0 — cross-platform batching configuration - #26

Merged
Fiona2016 merged 1 commit into
mainfrom
release/harmony-sdk-0.5.0
Aug 18, 2026
Merged

release(harmony): SDK 0.5.0 — cross-platform batching configuration#26
Fiona2016 merged 1 commit into
mainfrom
release/harmony-sdk-0.5.0

Conversation

@Fiona2016

Copy link
Copy Markdown
Collaborator

Bumps the five SDK packages to 0.5.0 and records what shipped since 0.4.0.

Why the minor position

This release removes ConfigurationBuilder.setBatchUploadFrequencyMs and moves
two defaults that apps inherit without asking for them. A patch number would hide
both from anyone who upgrades without reading the changelog — the same reasoning
the 0.4.0 release used for FlashcatHttp.hostOf().

Migration

// before
.setBatchUploadFrequencyMs(5000)
// after
.setUploadFrequency(UploadFrequency.RARE)

Defaults that changed for apps that never set them:

0.4.0 0.5.0
Upload cycle interval 5 s 2 s (UploadFrequency.AVERAGE)
Batch roll window 5 s 10 s (BatchSize.MEDIUM)

Both now match the Android/iOS/Flutter defaults. Pass UploadFrequency.RARE and
BatchSize.SMALL to stay closest to the previous behaviour.

Scope

Version numbers live in three places and all three move together: the
oh-package manifests with their inter-package pins, Version.ets, and the test
fixtures carrying the version string.

No source changes — those landed in #24.

Verification

  • ./scripts/ci-check.sh — ALL CHECKS PASSED (148 tests, HAR build, demo HAP
    build, ArkTS unit-test type check).
  • No 0.4.0 references remain outside build output and the ohpm lockfile.

Bumps the five SDK packages to 0.5.0 and records the changes shipped since
0.4.0.

The minor rather than the patch position: this release removes
`ConfigurationBuilder.setBatchUploadFrequencyMs` and changes two defaults that
apps inherit without asking for them. A patch number would hide both from anyone
who upgrades without reading the changelog.

Version numbers live in three places — the oh-package manifests with their
inter-package pins, Version.ets, and the test fixtures carrying the version
string — and all three move together here.
@Fiona2016
Fiona2016 merged commit fbb8cbd into main Aug 18, 2026
6 checks passed
@Fiona2016
Fiona2016 deleted the release/harmony-sdk-0.5.0 branch August 18, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant