Skip to main content

kiln 1.0.0 copy "kiln: ^1.0.0" to clipboard
kiln: ^1.0.0 copied to clipboard

Prebuilt native libraries and web runtime files for Dart build hooks, built by the same hook code that builds from source.

1.0.0 #

  • The source key leaves out the version and description fields of pubspec.yaml, and the NOTICES file. A release that changes only these, or docs, needs no new native build. Every source key changes, so each package needs one new native release with kiln 1.0.0.

0.2.2 #

  • The kiln.g.dart of runtime_release turns dart format off. The formatter wraps its long URLs up to language version 3.12 and not from 3.13, so pub.dev's analysis of a package found the file unformatted.
  • Usage example for pub.dev, and the code passes the recommended lints.

0.2.1 #

  • A fetch keeps its lock file in the system temp directory. 0.2.0 left <file>.lock next to each fetched file, so it could end up in an app's assets or fail a check of a directory's exact contents.

0.2.0 #

  • Requires code_assets 2.2 and hooks 2.2. These are the versions that current objective_c, native_toolchain_c and shared_preferences_foundation need. A package that pins code_assets 1.x cannot be installed with them.
  • hooks 2.2 reads an absolute Windows path in a user define (kiln_cache, web_build_dir, web_root) correctly. Earlier versions read the drive letter as a URI scheme.
  • Concurrent fetches of one file, in one process or several, take turns. On Windows, a check of the file could fail while another fetch renamed it into place.
  • The OS check compares the complete iOS and macOS deployment version (deploymentVersion), not only the major version.
  • Breaking: PrebuiltTarget.minOSVersion and the macOSVersion and iOSVersion parameters of buildTarget and runHook are an OSVersion. In prebuilt.json, a whole version stays an int, and a version such as 12.3 is the string "12.3". Existing manifests do not change. kiln:build --macos-version and --ios-version accept a minor version.

0.1.2 #

  • The web files: web_build and web_build_dir can come from <cache root>/defaults.json, as native_build already could. A build that must not edit the app's pubspec, such as CI, sets the web build mode there. web_build_dir there must be an absolute path.

0.1.1 #

  • kiln:flatpak places the files of a package that still depends on native_prebuilt in the native_prebuilt cache, next to the kiln cache, and writes a defaults.json for each cache. An app can then use packages of both names during the move to kiln.

0.1.0 #

  • First release on pub.dev. The package was named native_prebuilt.

  • NativePrebuilt is now Kiln. Import package:kiln/kiln.dart. The commands are dart run kiln:<command>.

  • Renamed files, directories and user defines:

    Before Now
    <user cache>/native_prebuilt/ <user cache>/kiln/
    user define native_prebuilt_cache kiln_cache
    <app>/web/native_prebuilt/<package>/ <app>/web/kiln/<package>/
    lib/web/.native_prebuilt_web_version lib/web/.kiln_web_version
    lib/src/native_prebuilt.g.dart, nativePrebuiltRuntimeFiles lib/src/kiln.g.dart, prebuiltRuntimeFiles
    native_prebuilt_release.json kiln_release.json
    Flatpak .native_prebuilt_downloads/ .kiln_downloads/
  • A web install deletes <app>/web/native_prebuilt/<package>/. web install-dev replaces the old block in lib/web/.gitignore.

  • The source key also skips a top-level doc/ directory, the pub layout name for documentation.

  • Release tags stay native-<16 characters of the source key>.

0
likes
160
points
9.16k
downloads

Documentation

API reference

Publisher

verified publishertelosnex.com

Weekly Downloads

Prebuilt native libraries and web runtime files for Dart build hooks, built by the same hook code that builds from source.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

archive, args, code_assets, crypto, hooks, logging, path, yaml

More

Packages that depend on kiln