release(harmony): SDK 0.5.0 — cross-platform batching configuration - #26
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.setBatchUploadFrequencyMsand movestwo 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
Defaults that changed for apps that never set them:
UploadFrequency.AVERAGE)BatchSize.MEDIUM)Both now match the Android/iOS/Flutter defaults. Pass
UploadFrequency.RAREandBatchSize.SMALLto 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 testfixtures carrying the version string.
No source changes — those landed in #24.
Verification
./scripts/ci-check.sh— ALL CHECKS PASSED (148 tests, HAR build, demo HAPbuild, ArkTS unit-test type check).
0.4.0references remain outside build output and the ohpm lockfile.