Skip to content

Releases: trunk-rs/trunk

0.18.5

16 Jan 11:00
Compare
Choose a tag to compare

v0.18.5 (2024-01-16)

Features

  • use x-forwarded-host (fd3ba23)
  • clippy issues and error reporting (6b72629)

Fixes

  • #662 await all asset pipeline, even if some fail (44049f9)
  • persist headers on ws handshake (528cdf3)

0.18.4

08 Jan 10:22
Compare
Choose a tag to compare

v0.18.4 (2024-01-08)

Fixes

  • #660 calculate SRI for WASM file after running wasm-opt (0da94db)

0.18.3

20 Dec 10:20
Compare
Choose a tag to compare

v0.18.3 (2023-12-20)

Features

  • #650 improve error message for tool version error (f9f393a)
  • #651 Allow disabling CSS and JS minification per file (4b68c74)

Fixes

  • ignore failures during minification (ea820c7)

0.18.2

19 Dec 12:23
Compare
Choose a tag to compare

v0.18.2 (2023-12-19)

Fixes

  • documentation of data-bindgen-target (22d47e3)
  • #634 correct CSS minification (636aaca)
  • #644 uptick default wasm_bindgen to 0.2.89, as 0.2.88 got yanked (137da31)
  • apply correct top level mode to worker loader script (ee96821)

0.18.1

18 Dec 10:17
Compare
Choose a tag to compare

v0.18.1 (2023-12-18)

Features

  • make the wasm-bindgen flag --target configurable (9a9c970)
  • allow disabling SRI and minification (2116e89)

Fixes

  • #630 handle projects which have both a bin and lib (cdylib) target (09e7da6)
  • #629 Use "global" mode for classic scripts (3f2c9e3)
  • Windows archive is again a .zip file.

0.18.0

12 Dec 16:35
Compare
Choose a tag to compare

v0.18.0 (2023-12-12)

Features

  • allow accessing exported Rust functions in JavaScript (0e9981e)
  • add the ability to show tools information (7e91411)
  • structure --help output a bit more (952ced7)
  • also generate integrity attributes for snippets (3c11f00)
  • add SRI for more resource types (a466773)
  • add --no-spa flag (461696f)
  • add integrity attribute for wasm and loader script (32fc30a)
  • allow setting the crossorigin attribute (ed320fb)
  • improve build error output a bit (0b80072)
  • add --locked and --frozen (1be3de6)
  • when using --offline, pass that on to cargo (98ffce4)
  • add build failure screen (b0c7f9c)
  • bring back the fix for queuing up of change events (283e589)
  • show version on startup (2586627)
  • use request host for hot-reload instead of window.location.host (0f0abaf)
  • enable TLS for websocket proxies (4c09af5)
  • allow using --verbose multiple times (6b1aa04)
  • allow disabling the cooldown (dbdbe8c)
  • add polling mode for filesystem watcher (11f879e)

Fixes

  • don't use "/" as suffix if public-url starts with ./ (c2be116)
  • drop additional whitespace when emojis are disabled (9424f88)
  • improve build error screen (3bea614)
  • drop the type attribute of the style element (ccf2c3b)
  • #9 always provide a replacement for TRUNK_ADDRESS (0fa8897)
  • #11 Treat errors as errors when detecting a cargo project (785e460)
  • extend certificate until 2033, add instructions generating it (9838f7f)
  • don't canonicalize tls paths (a0ab041)
  • extend certificate until 2033, add instructions generating it (c5b378c)
  • don't canonicalize tls paths (fedd47c)
  • try fix windows notify issue (a9395f4)
  • take account tailwindcss variable config tools value (7b997d0)
  • allow cdylib targets (9bed785)
  • report as trunk-ng, or whatever was in the cargo project (5426bd9)
  • don't discard events from poll (f1763f3)

v0.17.5

22 Aug 02:22
ac06a17
Compare
Choose a tag to compare

This release is the same as 0.17.4, but addresses an upstream breaking change in Homebrew core (formula sharding PR).

v0.17.4

22 Aug 01:40
a94e716
Compare
Choose a tag to compare

added

  • Multiple PRs have been landed in attempts to address the recursive / infinite build cycle which can be triggered under some conditions. Shoutout to @ctron for their work in driving this resolution forward.

v0.17.3

29 Jul 14:00
6a94c6b
Compare
Choose a tag to compare

added

  • Add inject_scripts option to build configuration to allow toggle of injecting the modulepreload and scripts rendered in the final html.

v0.17.2

07 Jul 17:40
Compare
Choose a tag to compare

fixed

  • Add missing tools.tailwindcss setting to configure the version of the Tailwindcss CLI to download.

added

  • A few site updates.
  • Some additional tests.