Skip to main content

flutter_opencc_plus 0.1.4 copy "flutter_opencc_plus: ^0.1.4" to clipboard
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 clean and project rebuilds without downloading from GitHub again.
  • Support hooks.user_defines.flutter_opencc_plus.cache_dir for 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 ia32 downloads to use the published x86 archive 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.1 release.
  • 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, streaming ZhTransformer, and batch convertAll APIs.
  • Provide run / runFromConfigName scoped 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.
0
likes
155
points
915
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A cross-platform OpenCC wrapper for Dart and Flutter.

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

archive, code_assets, crypto, ffi, flutter, hooks, path, path_provider

More

Packages that depend on flutter_opencc_plus