kiln 1.0.0
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
versionanddescriptionfields ofpubspec.yaml, and theNOTICESfile. 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.dartofruntime_releaseturnsdart formatoff. 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>.locknext 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_assets2.2 andhooks2.2. These are the versions that currentobjective_c,native_toolchain_candshared_preferences_foundationneed. A package that pinscode_assets1.x cannot be installed with them. hooks2.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.minOSVersionand themacOSVersionandiOSVersionparameters ofbuildTargetandrunHookare anOSVersion. Inprebuilt.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-versionand--ios-versionaccept a minor version.
0.1.2 #
- The web files:
web_buildandweb_build_dircan come from<cache root>/defaults.json, asnative_buildalready could. A build that must not edit the app's pubspec, such as CI, sets the web build mode there.web_build_dirthere must be an absolute path.
0.1.1 #
kiln:flatpakplaces the files of a package that still depends onnative_prebuiltin thenative_prebuiltcache, next to the kiln cache, and writes adefaults.jsonfor 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. -
NativePrebuiltis nowKiln. Importpackage:kiln/kiln.dart. The commands aredart run kiln:<command>. -
Renamed files, directories and user defines:
Before Now <user cache>/native_prebuilt/<user cache>/kiln/user define native_prebuilt_cachekiln_cache<app>/web/native_prebuilt/<package>/<app>/web/kiln/<package>/lib/web/.native_prebuilt_web_versionlib/web/.kiln_web_versionlib/src/native_prebuilt.g.dart,nativePrebuiltRuntimeFileslib/src/kiln.g.dart,prebuiltRuntimeFilesnative_prebuilt_release.jsonkiln_release.jsonFlatpak .native_prebuilt_downloads/.kiln_downloads/ -
A web install deletes
<app>/web/native_prebuilt/<package>/.web install-devreplaces the old block inlib/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>.