Skip to content

Latest commit

 

History

History
318 lines (124 loc) · 12 KB

CHANGELOG.md

File metadata and controls

318 lines (124 loc) · 12 KB

3.0.19 (2024-11-05)

Bug Fixes

  • respect host and protocol options in vite_preload_tag (#413) (bcd8151)

3.0.18 (2024-10-21)

3.0.17 (2023-10-05)

Features

3.0.16 (2023-09-22)

Bug Fixes

  • emit a single early hint per entrypoint in vite_preload_tag (#402) (3f9a60b)

3.0.15 (2023-06-19)

Features

  • add nonce by default to react refresh tag (close #249) (a31f0a9)
  • Use javascript_tag helper for vite_react_refresh_tag (#372) (238c6bd), closes #249

3.0.14 (2023-02-08)

Features

  • allow javascript_include_tag options to vite_client_tag (#337) (417bcf3)
  • make vite_client_tag crossorigin: "anonymous" by default (404a15a)

3.0.13 (2022-11-13)

Bug Fixes

  • avoid removing double extension for non-preprocessor assets (#301) (2024f62)

3.0.12 (2022-08-12)

Bug Fixes

  • ensure rails app is initialized before inferring config (#240) (3ddc2bc)

Features

  • allow framework-specific libraries to extend the CLI (a0ed66f)

3.0.11 (2022-08-11)

Bug Fixes

  • use javascript_include_tag in vite_client_tag (#238) (3d8b366)

3.0.10 (2022-06-15)

Bug Fixes

3.0.9 (2022-04-29)

Features

3.0.8 (2022-04-14)

Bug Fixes

  • prevent error when using a proc in asset_host (close #202) (#203) (cb23a81)

3.0.7 (2022-03-17)

Bug Fixes

  • load rails environment before rake tasks (close #193) (72afbc7)

3.0.6 (2022-02-04)

Bug Fixes

  • don't add crossorigin to included stylesheet tags (close #189) (#190) (575c731)

3.0.5 (2022-01-18)

Bug Fixes

  • update example setup from turbolinks to @hotwired/turbo (e1750bf)

3.0.4 (2022-01-02)

Features

  • add style-src to suggestion Content Security Policy changes (#169) (ec7f4f7)

3.0.3 (2021-12-22)

3.0.2 (2021-12-12)

Bug Fixes

  • add variable declaration to import.meta.globEager (close #154) (#155) (9ada2e8)
  • comment back glob import (943e7f1)

3.0.1 (2021-10-29)

Features

  • enable hmr when running tests in development with vite dev server (e253bba)

3.0.0 (2021-08-16)

See #116 for features and breaking changes.

2.0.13 (2021-07-27)

Features

  • Set config.javascript_path so that zeitwerk ignores frontend files (bab359f)

2.0.12 (2021-05-24)

Bug Fixes

  • Fix typo in comment in example entrypoint in Rails (78b3104)

2.0.11 (2021-05-10)

Refactor

  • Avoid reference to dry-cli during installation, use internal APIs instead (f5b87e)

2.0.10 (2021-04-21)

Features

  • Add helpers to enable HMR when using @vitejs/plugin-react-refresh (a80f286)

2.0.9 (2021-04-15)

Bug Fixes

  • Allow passing additional attributes to scripts and stylesheets. (edf6019)

2.0.8 (2021-03-20)

Bug Fixes

  • Simplify installation of build dependencies by using package manager flags (5c8bb62)

2.0.7 (2021-03-19)

Bug Fixes

  • Typo typecript -> typescript in tag helpers (#38) (3d375df)

2.0.6 (2021-03-18)

  • Add more help text in the example entrypoints (87d6f14)

2.0.5 (2021-03-18)

Bug Fixes

  • Using a .jsx extension in a tag helper in development (a56491b)

2.0.4 (2021-03-09)

Features

  • Detect installations of the latest version of Webpacker (app/packs) (e9a3bc0)

2.0.3 (2021-03-07)

  • Add a bounded requirement to vite_ruby dependency.

Vite Rails 2.0.2 (2020-02-11)

  • Automatically infer app/javascript as the sourceCodeDir if it exists.

Vite Rails 2.0.1 (2020-02-11)

  • Add the CSP rules commented out when installing, in case the user hasn't uncommented them yet.

Vite Rails 2.0.0 (2020-02-10)

  • Extracted core functionality to vite_ruby.
  • User-facing API hasn't really changed, but internal classes have been renamed.
  • Installation script now injects tags to application.html.erb if it exists.

Vite Rails 1.0.12 (2020-01-29)

  • Add support for Vite 2.0.0-beta.56, which modified the manifest to output a css field in the manifest.
  • Start generating an assets manifest, since 2.0.0-beta.51 stopped including non-JS entrypoints in the manifest.

Vite Rails 1.0.11 (2020-01-24)

  • Fix bug in assetHost that caused base to be configured incorrectly.
  • Allow installing vite and vite-plugin-ruby as devDependencies, and install them when precompiling assets.
  • Move base to the configuration root after Vite's update in beta.38

Vite Rails 1.0.10 (2020-01-23)

  • Use path_to_asset in vite_asset_path so that it's prefixed automatically when using a CDN (config.action_controller.asset_host).

Vite Rails 1.0.9 (2020-01-22)

  • Ensure configPath and publicDir are scoped from root, both in Ruby and JS.

Vite Rails 1.0.8 (2020-01-21)

  • Change the default of sourceCodeDir to app/frontend, add instructions for folks migrating from a app/javascript structure.

Vite Rails 1.0.7 (2020-01-20)

  • Add vite_client_tag to ensure the Vite client can be loaded in apps that don't use any imports.

Vite Rails 1.0.6 (2020-01-20)

  • Ensure running bin/rake assets:precompile automatically invokes vite:build.

Vite Rails 1.0.5 (2020-01-20)

  • Automatically add <link rel="modulepreload"> and <link rel="stylesheet"> when using vite_javascript_tag, which simplifies usage.

Vite Rails 1.0.4 (2020-01-19)

  • Remove Vue specific examples from installation templates, to ensure they always run.

Vite Rails 1.0.0 (2020-01-18)

Initial Version