Stable version with pg extension and stable sdk's for typescript and dart#189
Merged
Stable version with pg extension and stable sdk's for typescript and dart#189
Conversation
Update generated web package artifacts and build instructions for the Dart SDK bindings. Changes include: adding --no-opt to wasm-pack build invocations in README, regenerating JS/TS/WASM artifacts (kalam_link_dart.js, .d.ts, .wasm and .wasm.d.ts) which introduce ProtocolOptions, CompressionType and SerializationType types and add protocol info to ServerMessage; rename/rehash numerous wasm-bindgen import/export symbols and adjust closure/FinalizationRegistry handling and exports (__wbindgen_export*); add queueMicrotask/send overload for binary data and other JS runtime interop updates. Also updates bundled native binaries for Android (arm64-v8a and x86_64) and iOS static library.
Prepare a release candidate: update workspace version in Cargo.toml and propagate 0.4.2-rc1 across many Rust packages in Cargo.lock. Upgrade Dart SDK package to 0.4.2-rc.1 and bump flutter_rust_bridge to ^2.12.0 (pubspec.lock updated with new sha and version). Refresh generated web artifacts (pkg JS/WASM) and replace native Dart/Flutter binaries (Android/iOS). Also update TypeScript and UI package versions to rc releases.
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.
This pull request introduces improvements to the Dart client SDK for KalamDB, focusing on more robust authentication handling during WebSocket reconnections and fine-tuning reconnection parameters for mobile environments. It also includes dependency updates, version bumps, and test enhancements to ensure these changes are reliable.
Dart SDK: Authentication & Reconnection Improvements
KalamClient, so that the client will refresh credentials and retry once if an auth error is detected. This makes reconnects more reliable, especially when tokens expire. [1] [2]_isLikelyReconnectAuthErrorto identify auth-related failures by matching error messages against common authentication keywords.Connection Options: Mobile-Friendly Reconnection
build_dart_connection_optionsand validated by new tests. [1] [2] [3] [4] [5]Testing Enhancements
Dependency and Version Updates
flutter_rust_bridgedependency to^2.12.0and bumped Dart SDK and Rust crate versions to release candidate versions (0.4.2-rc.1/0.4.2-rc1). [1] [2] [3]Build and WASM Packaging
--no-optflag withwasm-packfor more predictable output, and minor changes to generated JS bindings for compatibility. [1] [2] [3] [4] [5] [6]