Skip to content

Latest commit

 

History

History
446 lines (225 loc) · 23.3 KB

CHANGELOG.md

File metadata and controls

446 lines (225 loc) · 23.3 KB

Changelog

4.1.20

Patch Changes

  • #155 d5fe7ef Thanks @DylanPiercey! - Fixes a caching regression caused by having a different SSR config compared to the rest of the configs and using that in a transform (which is cached).

4.1.19

Patch Changes

4.1.18

Patch Changes

4.1.17

Patch Changes

4.1.16

Patch Changes

  • #145 88655ce Thanks @vwong! - Fix issue in dev mode where Content Security Policies may prevent script from running

4.1.15

Patch Changes

  • #143 61a1a0a Thanks @DylanPiercey! - Fix issue in dev mode where render blocking was lasting longer than necessary due to a deferred module script. The script is now marked as async.

4.1.14

Patch Changes

4.1.13

Patch Changes

  • #139 9e3b9dc Thanks @rturnq! - Load cjs transform code conditionally on-demand for envs that don't support native addons

4.1.12

Patch Changes

4.1.11

Patch Changes

4.1.10

Patch Changes

  • #131 9f266ff Thanks @DylanPiercey! - Switch to overriding the default chunkFileNames instead of assets dir to avoid server assets in client assets folder.

4.1.9

Patch Changes

  • #128 8e10644 Thanks @DylanPiercey! - Fix issue when a Marko server entry is loaded inside of another chunk which caused the assets injection runtime to be in a different chunk than the server entry (since it will codesplit the runtime). This change now ensures the asset manifest is only ever injected into chunks that reference the assets runtime injector.

  • #128 8e10644 Thanks @DylanPiercey! - Change vites default assetsDir for server bundles to avoid making server assets available in client asset folders.

4.1.8

Patch Changes

4.1.7

Patch Changes

  • #124 ff93773 Thanks @DylanPiercey! - Fix issue where filename from vites watcher was not in posix which was preventing clearing cached data.

4.1.6

Patch Changes

4.1.5

Patch Changes

  • #117 7a3a5e6 Thanks @rturnq! - Support css-loader imports, limit relative src attribute transforms, support BASE_URL env var

  • #120 90cca62 Thanks @rturnq! - Allow importing assets from marko file in cjs libs

4.1.4

Patch Changes

  • #118 3818a34 Thanks @DylanPiercey! - Fix issue where asset related Marko taglibs / transforms were registered when not in linked mode (eg in tests)

4.1.3

Patch Changes

4.1.2

Patch Changes

4.1.1

Patch Changes

4.1.0

Minor Changes

4.0.4

Patch Changes

  • #107 797b2c7 Thanks @DylanPiercey! - Fix issue where vite dependency scan comes from a js/ts file into a Marko file. In this case we no longer give vite back the hydrate output, but the full compiled template from esbuild.

4.0.3

Patch Changes

4.0.2

Patch Changes

4.0.1

Patch Changes

4.0.0

Major Changes

  • #99 0bc357e Thanks @DylanPiercey! - - Removes the store config option. (BREAKING CHANGE).
    • Adds a new hook for other vite plugins to add assets to the @marko/vite server entries.
    • Optimize server entry code.

3.1.6

Patch Changes

  • #97 79d62e3 Thanks @rturnq! - Fix issues with CJS interop and fix esbuild plugin resolution

3.1.5

Patch Changes

3.1.4

Patch Changes

3.1.3

Patch Changes

3.1.2

Patch Changes

  • #86 701d0f9 Thanks @DylanPiercey! - Fix regression which prevented SSR cjs Marko files from being properly bundled.

3.1.1

Patch Changes

3.1.0

Minor Changes

Patch Changes

  • #83 4c8183c Thanks @DylanPiercey! - Improve commonjs interop for node_module .marko files which do not render any tags and/or use export * from.

  • #83 4c8183c Thanks @DylanPiercey! - Improve support for Vitest by stripping off queries it adds before determining if we should process the module as a Marko file.

3.0.1

Patch Changes

3.0.0

Major Changes

  • #79 bf735ba Thanks @DylanPiercey! - When using a runtime base path via the basePathVar option the vite build.assetsDir is now stripped from the final url. (You could add this back manually yourself if desired).

  • #79 d0c2b50 Thanks @DylanPiercey! - No longer load babel config by default unless configured.

2.4.9

Patch Changes

  • #77 1058400 Thanks @rturnq! - Ensure base path script is written in head or body when those elements are present

2.4.8

Patch Changes

2.4.7

Patch Changes

  • #69 87fe302 Thanks @DylanPiercey! - Ensure browser entry query is added before transformIndexHTML. Without this Vite was incorrectly caching the module url.

  • #69 87fe302 Thanks @DylanPiercey! - Ensure server entry files cache their content (improves virtual file support).

2.4.6

Patch Changes

  • #67 e3015db Thanks @DylanPiercey! - Improve HMR support by ensuring that client and server compiled modules have different resolved ids.

2.4.5

Patch Changes

2.4.4

Patch Changes

2.4.3

Patch Changes

2.4.2

Patch Changes

2.4.1

Patch Changes

2.4.0

Minor Changes

Patch Changes

2.3.14

Patch Changes

2.3.13

Patch Changes

2.3.12

Patch Changes

2.3.11

Patch Changes

2.3.10

Patch Changes

2.3.9

Patch Changes

  • #34 571c993 Thanks @DylanPiercey! - Switch to purely using the mutation style for update config in the config hook.

2.3.8

Patch Changes

  • #32 5640120 Thanks @DylanPiercey! - Avoid using .load api since it seems to cause an issue when there are many entry Marko files.

2.3.7

Patch Changes

  • #30 940dc22 Thanks @DylanPiercey! - Avoid double resolving server entries and ensure that Marko import queries don't get passed through to other plugins

2.3.6

Patch Changes

2.3.5

Patch Changes

  • #26 4bbfafc Thanks @DylanPiercey! - Avoid using fs readFile for browser entry. This allows virtual files to be browser entries.

2.3.4

Patch Changes

2.0.3

Patch Changes

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.2 (2021-09-03)

2.0.1 (2021-09-02)

Bug Fixes

  • avoid adding invalid watchFiles (0424677)

2.0.0 (2021-07-30)

⚠ BREAKING CHANGES

  • requires a minimum Marko peer version of ^5.15.0

Features

  • improve support for loading Marko files from node_modules (c9d189f)

1.3.2 (2021-05-18)

Bug Fixes

  • issue with resolving nested entry paths (e0b2dd4)

1.3.1 (2021-05-03)

Bug Fixes

  • issue with loading missing virtual file in build mode (493466e)

1.3.0 (2021-05-03)

Features

  • handle adding/removing optional related files (5756ad2)

1.2.1 (2021-04-30)

Bug Fixes

  • issue with common ids across multiple templates for entry files (7633c9b)

1.2.0 (2021-04-30)

Features

Bug Fixes

  • invalid entry id output in windows (cbe9696)

1.1.0 (2021-04-28)

Bug Fixes

  • invalid entry id output in windows (8db353f)

1.0.0 (2021-04-24)

Features

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.