From 3b3d125dfdc5ebcff6b5388489caac94d972f05f Mon Sep 17 00:00:00 2001 From: amr-crabnebula <118051471+amr-crabnebula@users.noreply.github.com> Date: Tue, 2 Jul 2024 05:03:08 +0000 Subject: [PATCH] release: apply version updates from current changes --- .changes/pr254.md | 9 -- .changes/pr256.md | 13 --- Cargo.lock | 140 +++++++++++++++----------- bindings/packager/nodejs/CHANGELOG.md | 18 ++++ bindings/packager/nodejs/package.json | 2 +- crates/packager/CHANGELOG.md | 14 +++ crates/packager/Cargo.toml | 2 +- 7 files changed, 113 insertions(+), 85 deletions(-) delete mode 100644 .changes/pr254.md delete mode 100644 .changes/pr256.md diff --git a/.changes/pr254.md b/.changes/pr254.md deleted file mode 100644 index f146995a..00000000 --- a/.changes/pr254.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"cargo-packager": "minor" -"@crabnebula/packager": "minor" ---- - -Allow Linux dependencies to be specified via a file path instead of just a direct String. -This enables the list of dependencies to by dynamically generated for both Debian `.deb` packages and pacman packages, -which can relieve the app developer from the burden of manually maintaining a fixed list of dependencies. - diff --git a/.changes/pr256.md b/.changes/pr256.md deleted file mode 100644 index d236459b..00000000 --- a/.changes/pr256.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"cargo-packager": "patch" -"@crabnebula/packager": "patch" ---- - -Automatically add an Exec arg (field code) in the `.desktop` file. - -This adds an `{exec_arg}` field to the default `main.desktop` template. -This field is populated with a sane default value, based on the -`deep_link_protocols` or `file_associations` in the `Config` struct. - -This allows an installed Debian package to be invoked by other -applications with URLs or files as arguments, as expected. diff --git a/Cargo.lock b/Cargo.lock index 4702da95..0d6fb333 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "ab_glyph" -version = "0.2.26" +version = "0.2.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e53b0a3d5760cd2ba9b787ae0c6440ad18ee294ff71b05e3381c900a7d16cfd" +checksum = "1c3a1cbc201cc13ed06cf875efb781f2249b3677f5c74571b67d817877f9d697" dependencies = [ "ab_glyph_rasterizer", "owned_ttf_parser", @@ -803,9 +803,9 @@ dependencies = [ [[package]] name = "bitstream-io" -version = "2.3.0" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c12d1856e42f0d817a835fe55853957c85c8c8a470114029143d3f12671446e" +checksum = "415f8399438eb5e4b2f73ed3152a3448b98149dda642a957ee704e1daa5cf1d8" [[package]] name = "block" @@ -1034,7 +1034,7 @@ dependencies = [ [[package]] name = "cargo-packager" -version = "0.9.1" +version = "0.10.0" dependencies = [ "ar", "base64 0.22.1", @@ -1175,9 +1175,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.101" +version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac367972e516d45567c7eafc73d24e1c193dcf200a8d94e9db7b3d38b349572d" +checksum = "74b6a57f98764a267ff415d50a25e6e166f3831a5071af4995296ea97d210490" dependencies = [ "jobserver", "libc", @@ -1289,9 +1289,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.7" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5db83dced34638ad474f39f250d7fea9598bdd239eaced1bdf45d597da0f433f" +checksum = "84b3edb18336f4df585bc9aa31dd99c036dfa5dc5e9a2939a722a188f3a8970d" dependencies = [ "clap_builder", "clap_derive", @@ -1299,9 +1299,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.7" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7e204572485eb3fbf28f871612191521df159bc3e15a9f5064c66dba3a8c05f" +checksum = "c1c09dd5ada6c6c78075d6fd0da3f90d8080651e2d6cc8eb2f1aaa4034ced708" dependencies = [ "anstream", "anstyle", @@ -1311,9 +1311,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.5" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c780290ccf4fb26629baa7a1081e68ced113f1d3ec302fa5948f1c381ebf06c6" +checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -2572,19 +2572,19 @@ dependencies = [ [[package]] name = "femtovg" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a056992c3a862ef9d4452bad8b6b455780382502b38b93540fb17773a54ca092" +checksum = "47921d14afc4daad9bedc926099bc6edcaa23e37a957448f86cdefcbafe2f632" dependencies = [ "bitflags 2.6.0", "fnv", "glow", - "image 0.24.9", + "image 0.25.1", "imgref", "log", "lru", "rgb", - "rustybuzz", + "rustybuzz 0.14.1", "slotmap", "unicode-bidi", "unicode-segmentation", @@ -3574,9 +3574,9 @@ dependencies = [ [[package]] name = "hyper" -version = "1.3.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe575dd17d0862a9a33781c8c4696a55c320909004a67a00fb286ba8b1bc496d" +checksum = "c4fe55fb7a772d59a5ff1dfbff4fe0258d19b89fec4b233e75d35d5d2316badc" dependencies = [ "bytes", "futures-channel", @@ -3599,7 +3599,7 @@ checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" dependencies = [ "futures-util", "http 1.1.0", - "hyper 1.3.1", + "hyper 1.4.0", "hyper-util", "rustls 0.23.10", "rustls-native-certs", @@ -3617,7 +3617,7 @@ checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" dependencies = [ "bytes", "http-body-util", - "hyper 1.3.1", + "hyper 1.4.0", "hyper-util", "native-tls", "tokio", @@ -3627,16 +3627,16 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b875924a60b96e5d7b9ae7b066540b1dd1cbd90d1828f54c92e02a283351c56" +checksum = "3ab92f4f49ee4fb4f997c784b7a2e0fa70050211e0b6a287f898c3c9785ca956" dependencies = [ "bytes", "futures-channel", "futures-util", "http 1.1.0", "http-body 1.0.0", - "hyper 1.3.1", + "hyper 1.4.0", "pin-project-lite", "socket2 0.5.7", "tokio", @@ -3808,7 +3808,7 @@ dependencies = [ "raw-window-handle 0.6.2", "resvg", "rgb", - "rustybuzz", + "rustybuzz 0.13.0", "scoped-tls-hkt", "scopeguard", "slab", @@ -4445,12 +4445,6 @@ dependencies = [ "pkg-config", ] -[[package]] -name = "line-wrap" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd1bc4d24ad230d21fb898d1116b1801d7adfc449d42026475862ab48b11e70e" - [[package]] name = "linked-hash-map" version = "0.5.6" @@ -4496,9 +4490,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "longest-increasing-subsequence" @@ -4766,9 +4760,9 @@ dependencies = [ [[package]] name = "napi" -version = "2.16.7" +version = "2.16.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633e41b2b983cf7983134f0c50986ca524d0caf38a2c6fc893ea3fa2e26abb0c" +checksum = "a1bd081bbaef43600fd2c5dd4c525b8ecea7dfdacf40ebc674e87851dce6559e" dependencies = [ "bitflags 2.6.0", "ctor 0.2.8", @@ -4786,9 +4780,9 @@ checksum = "e1c0f5d67ee408a4685b61f5ab7e58605c8ae3f2b4189f0127d804ff13d5560a" [[package]] name = "napi-derive" -version = "2.16.6" +version = "2.16.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a8a778fd367b13c64232e58632514b795514ece491ce136d96e976d34a3eb8" +checksum = "eafd2b920906ea5b1f5f1f9d1eff9cc74e4ff8124dca41b501c1413079589187" dependencies = [ "cfg-if", "convert_case 0.6.0", @@ -4800,9 +4794,9 @@ dependencies = [ [[package]] name = "napi-derive-backend" -version = "1.0.68" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35849e64596ecd467e1ac897153364a1ffd09b1d79b32ebad94ef8980ac73311" +checksum = "b370b784440c65eb9001d839012eb912ee43e3a2d0361e2c30c13052372c39fe" dependencies = [ "convert_case 0.6.0", "once_cell", @@ -4961,9 +4955,9 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ "num-integer", "num-traits", @@ -5250,9 +5244,9 @@ dependencies = [ [[package]] name = "object" -version = "0.36.0" +version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "576dfe1fc8f9df304abb159d767a29d0476f7750fbf8aa7ad07816004a207434" +checksum = "081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce" dependencies = [ "memchr", ] @@ -5663,14 +5657,13 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "plist" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9d34169e64b3c7a80c8621a48adaf44e0cf62c78a9b25dd9dd35f1881a17cf9" +checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "indexmap 2.2.6", - "line-wrap", - "quick-xml", + "quick-xml 0.32.0", "serde", "time", ] @@ -5874,6 +5867,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "quick-xml" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d3a6e5838b60e0e8fa7a43f22ade549a37d61f8bdbe636d0d7816191de969c2" +dependencies = [ + "memchr", +] + [[package]] name = "quinn" version = "0.11.2" @@ -6048,9 +6050,9 @@ dependencies = [ [[package]] name = "ravif" -version = "0.11.5" +version = "0.11.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc13288f5ab39e6d7c9d501759712e6969fcc9734220846fc9ed26cae2cc4234" +checksum = "67376f469e7e7840d0040bbf4b9b3334005bb167f814621326e4c7ab8cd6e944" dependencies = [ "avif-serialize", "imgref", @@ -6239,7 +6241,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.0", "http-body-util", - "hyper 1.3.1", + "hyper 1.4.0", "hyper-rustls", "hyper-tls", "hyper-util", @@ -6314,9 +6316,9 @@ dependencies = [ [[package]] name = "rgb" -version = "0.8.37" +version = "0.8.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05aaa8004b64fd573fc9d002f4e632d51ad4f026c2b5ba95fcb6c2f32c2c47d8" +checksum = "a7439be6844e40133eda024efd85bf07f59d0dd2f59b10c00dd6cfb92cc5c741" dependencies = [ "bytemuck", ] @@ -6514,6 +6516,22 @@ dependencies = [ "unicode-script", ] +[[package]] +name = "rustybuzz" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfb9cf8877777222e4a3bc7eb247e398b56baba500c38c1c46842431adc8b55c" +dependencies = [ + "bitflags 2.6.0", + "bytemuck", + "smallvec", + "ttf-parser 0.21.1", + "unicode-bidi-mirroring", + "unicode-ccc", + "unicode-properties", + "unicode-script", +] + [[package]] name = "ryu" version = "1.0.18" @@ -6710,9 +6728,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.118" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d947f6b3163d8857ea16c4fa0dd4840d52f3041039a85decd46867eb1abef2e4" +checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" dependencies = [ "itoa 1.0.11", "ryu", @@ -6753,9 +6771,9 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.8.1" +version = "3.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad483d2ab0149d5a5ebcd9972a3852711e0153d863bf5a5d0391d28883c4a20" +checksum = "079f3a42cd87588d924ed95b533f8d30a483388c4e400ab736a7058e34f16169" dependencies = [ "base64 0.22.1", "chrono", @@ -6771,9 +6789,9 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.8.1" +version = "3.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65569b702f41443e8bc8bbb1c5779bd0450bbe723b56198980e80ec45780bce2" +checksum = "bc03aad67c1d26b7de277d51c86892e7d9a0110a2fe44bf6b26cc569fba302d6" dependencies = [ "darling", "proc-macro2", @@ -8234,7 +8252,7 @@ dependencies = [ "log", "pico-args", "roxmltree", - "rustybuzz", + "rustybuzz 0.13.0", "simplecss", "siphasher 1.0.1", "strict-num", @@ -8555,7 +8573,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67da50b9f80159dec0ea4c11c13e24ef9e7574bd6ce24b01860a175010cea565" dependencies = [ "proc-macro2", - "quick-xml", + "quick-xml 0.31.0", "quote", ] diff --git a/bindings/packager/nodejs/CHANGELOG.md b/bindings/packager/nodejs/CHANGELOG.md index 91ed4173..e3845c8b 100644 --- a/bindings/packager/nodejs/CHANGELOG.md +++ b/bindings/packager/nodejs/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## \[0.10.0] + +- [`c6207bb`](https://www.github.com/crabnebula-dev/cargo-packager/commit/c6207bba042a8a0184ddb7e12650a4cd8f415c23) ([#254](https://www.github.com/crabnebula-dev/cargo-packager/pull/254)) Allow Linux dependencies to be specified via a file path instead of just a direct String. + This enables the list of dependencies to by dynamically generated for both Debian `.deb` packages and pacman packages, + which can relieve the app developer from the burden of manually maintaining a fixed list of dependencies. +- [`de4dcca`](https://www.github.com/crabnebula-dev/cargo-packager/commit/de4dccaca4ae758d3adde517cc415a002873e642) ([#256](https://www.github.com/crabnebula-dev/cargo-packager/pull/256)) Automatically add an Exec arg (field code) in the `.desktop` file. + + This adds an `{exec_arg}` field to the default `main.desktop` template. + This field is populated with a sane default value, based on the + `deep_link_protocols` or `file_associations` in the `Config` struct. + + This allows an installed Debian package to be invoked by other + applications with URLs or files as arguments, as expected. + +### Dependencies + +- Upgraded to `cargo-packager@0.10.0` + ## \[0.9.1] - [`44a19ea`](https://www.github.com/crabnebula-dev/cargo-packager/commit/44a19eae1f5f26b1bd10ba84dd6eb3d856609a67) ([#246](https://www.github.com/crabnebula-dev/cargo-packager/pull/246)) On macOS, fix notarization skipping needed environment variables when macos specific config has been specified in the config file. diff --git a/bindings/packager/nodejs/package.json b/bindings/packager/nodejs/package.json index ae62fb15..6f84895f 100644 --- a/bindings/packager/nodejs/package.json +++ b/bindings/packager/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@crabnebula/packager", - "version": "0.9.1", + "version": "0.10.0", "main": "build/index.js", "module": "build/index.js", "types": "build/index.d.ts", diff --git a/crates/packager/CHANGELOG.md b/crates/packager/CHANGELOG.md index bf1c8631..9d0a6f87 100644 --- a/crates/packager/CHANGELOG.md +++ b/crates/packager/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[0.10.0] + +- [`c6207bb`](https://www.github.com/crabnebula-dev/cargo-packager/commit/c6207bba042a8a0184ddb7e12650a4cd8f415c23) ([#254](https://www.github.com/crabnebula-dev/cargo-packager/pull/254)) Allow Linux dependencies to be specified via a file path instead of just a direct String. + This enables the list of dependencies to by dynamically generated for both Debian `.deb` packages and pacman packages, + which can relieve the app developer from the burden of manually maintaining a fixed list of dependencies. +- [`de4dcca`](https://www.github.com/crabnebula-dev/cargo-packager/commit/de4dccaca4ae758d3adde517cc415a002873e642) ([#256](https://www.github.com/crabnebula-dev/cargo-packager/pull/256)) Automatically add an Exec arg (field code) in the `.desktop` file. + + This adds an `{exec_arg}` field to the default `main.desktop` template. + This field is populated with a sane default value, based on the + `deep_link_protocols` or `file_associations` in the `Config` struct. + + This allows an installed Debian package to be invoked by other + applications with URLs or files as arguments, as expected. + ## \[0.9.1] - [`44a19ea`](https://www.github.com/crabnebula-dev/cargo-packager/commit/44a19eae1f5f26b1bd10ba84dd6eb3d856609a67) ([#246](https://www.github.com/crabnebula-dev/cargo-packager/pull/246)) On macOS, fix notarization skipping needed environment variables when macos specific config has been specified in the config file. diff --git a/crates/packager/Cargo.toml b/crates/packager/Cargo.toml index 2be6c257..0e1b9e28 100644 --- a/crates/packager/Cargo.toml +++ b/crates/packager/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-packager" -version = "0.9.1" +version = "0.10.0" description = "Executable packager and bundler distributed as a CLI and library." authors = [ "CrabNebula Ltd.",