flutter_opencc_plus 0.1.4
flutter_opencc_plus: ^0.1.4 copied to clipboard
A cross-platform OpenCC wrapper for Dart and Flutter.
Changelog #
0.1.4 #
- Cache native release archives and SHA-256 files in a persistent user directory.
Verified cache hits work offline and survive
flutter cleanand project rebuilds without downloading from GitHub again. - Support
hooks.user_defines.flutter_opencc_plus.cache_dirfor custom download cache locations, including shared developer and CI caches. - Isolate download caches by release URL, mirror, platform, architecture, and iOS SDK type.
- Verify cached archives locally, redownload missing or damaged entries, and publish downloads only after SHA-256 verification succeeds.
- Coordinate concurrent downloads with an in-process shared request and a file lock across build processes and projects.
- Print download URLs, transfer progress, file sizes, elapsed time, and SHA-256 verification results to the build console. Cache hits and local prebuilt libraries remain quiet.
- Refresh bundled native libraries whenever the build hook reruns instead of retaining stale output files.
- Fix Android
ia32downloads to use the publishedx86archive name. - Add regression tests for offline cache reuse, cache recovery, concurrent builds, target isolation, and download logging.
0.1.3 #
- Export OpenCC resource resolution through the public package API.
- Create the Flutter asset staging directory before extracting dictionaries.
- Document passing the resolved resource directory to a background isolate.
0.1.2 #
- Use the platform temporary directory for Flutter assets with version isolation and concurrent-write protection.
- Pin native OpenCC downloads to the
opencc-v1.4.1release. - Add native release artifact validation and cross-platform integration-test CI.
- Automatically synchronize official dictionaries and configuration files when the OpenCC version is updated.
0.1.1 #
- Fix the release artifact URL naming order for iOS builds.
0.1.0 #
- First stable release.
- Support all 16 built-in OpenCC 1.4.1 configurations.
- Provide synchronous
ZhConverter, streamingZhTransformer, and batchconvertAllAPIs. - Provide
run/runFromConfigNamescoped APIs for automatic native handle cleanup. - Support native shared libraries on Android, iOS, macOS, Windows, and Linux.
- Bundle dictionaries as Flutter package assets and resolve them at runtime.
- Include a CLI supporting text, files, stdin/stdout, and in-place replacement.
- Preserve non-Chinese content, including punctuation, English, numbers, line breaks, and emoji.