Skip to content

v0.14.0

Choose a tag to compare

@touyou touyou released this 21 Aug 06:08
· 2 commits to main since this release

app_intents

  • Fix: AppIntentsBridge could not be reached from a downstream app (#102). The Swift package now ships inside the pub package at ios/AppIntentsBridge/, so import AppIntentsBridge — which the generate_widget_swift output requires — resolves without a separately versioned dependency. Three consumption routes, all building the same sources:

    Route How
    Local Swift package (recommended, projects with a Podfile) File → Add Package Dependencies… → Add Local…ios/.symlinks/plugins/app_intents/ios/AppIntentsBridge
    CocoaPods pod 'app_intents_bridge', :path => '.symlinks/plugins/app_intents/ios'
    Remote Swift package (required for Podfile-less SPM projects) https://github.com/touyou/flutter_intentsAppIntentsBridge

    A new standalone app_intents_bridge podspec carries no Flutter dependency, so an App Extension target — which must not link Flutter and therefore sits outside flutter_install_all_ios_pods — can take it. app_intents.podspec deliberately does not include these sources, so a target may take both pods without duplicate symbols. The repository root Package.swift keeps the same AppIntentsBridge product, so existing .package(url:) consumers are unaffected.

    Previously the package lived only in the repository's ios-spm/ subdirectory, which neither pub nor CocoaPods shipped and which SPM cannot resolve over a Git URL — a Widget Extension target failed with No such module 'AppIntentsBridge'.

  • Docs: AppIntentsEntityCacheKey.forEntity now states that its result is the cache key, not the raw UserDefaults key. The plugin namespaces it as app_intents.<storageIdentifier>.cache.<cacheKey>; reading with the un-namespaced key returns nil silently, which only surfaces as an empty widget configuration picker. Same note added to docs/usage.md / docs/usage.ja.md.

app_intents_codegen

  • Widens the analyzer constraint to >=7.0.0 <15.0.0, so the package can be used alongside analyzer 14.x. Verified against analyzer 14.1.0 / _fe_analyzer_shared 105.0.0: analysis clean, full test suite passing, and build_runner, generate_swift, generate_widget_swift and generate_kotlin all producing byte-identical output to the 13.x resolution.
  • Bumps app_intents_annotations to ^0.14.0.

app_intents_annotations

  • No user-facing changes; released in lockstep.

Also in this release

  • Example app: removed three stale, never-compiled copies of AppIntentsBridge sources (#104).
  • Toolchain: AGP 9.2.1 → 9.3.1, Gradle wrapper 9.6.1 → 9.7.0, build 4.0.8, build_test 3.5.17, dart_style 3.1.12.
  • RELEASING.md now lists the two podspecs, the three per-package READMEs, and the ^X.Y.Z pins in docs/ — all of which the checklist had been omitting.

Full Changelog: v0.13.0...v0.14.0