Skip to content

Latest commit

 

History

History
169 lines (132 loc) · 13.3 KB

CHANGELOG.md

File metadata and controls

169 lines (132 loc) · 13.3 KB

Changelog

Fixed

  • fix(REUSELicensesPlugin): Emit files in generateBundle hook to have real filenames #283 (susnux)

Fixed

  • fix: Adjust import of rollup-plugin-esbuild-minify #279 (susnux)

Added

  • feat(EmptyJSDirPlugin): Allow to specify other directories to clear #240 (susnux)
  • feat: Add REUSE license plugin to extract license information for built assets #250 (susnux)

Fixed

  • perf(CSSEntryPointsPlugin): Only visit chunks once per entry point #239 (susnux)
  • fix(appconfig): cssCodeSplit is enabled by default so handle CSS entries #243 (susnux)
  • fix: Revert chunkFileNames to include hash #267 (juliushaertl)

Changed

  • Migrate REUSE to TOML format #245 (AndyScherzinger)
  • chore: Update workflows from templates #213 (susnux)
  • chore(deps): Bump rollup-plugin-license to 3.5.2
  • chore(deps): Bump @vitejs/plugin-vue to 5.1.2
  • chore(deps): Bump magic-string to 0.30.11

Added

  • feat(app-config): Add option to override the app name #205 (susnux)
  • Allow to specify an output prefix and load app id from appinfo #207 (susnux)
  • feat: Add CSSEntryPointsPlugin to fix vite for creating one CSS entry per JS entry point #204 (susnux)

Changed

  • chore(deps-dev): Bump vite from 5.2.13 to 5.3.1
  • chore(deps): Bump braces from 3.0.2 to 3.0.3

Fixed

  • fix: explicitly use window.OC global in app config #197 (st3iny)

Changed

  • chore: update source url in dep5 spec #187 (st3iny)
  • chore(deps): Bump vite-plugin-node-polyfills from 0.21.0 to 0.22.0
  • chore(deps): Bump @vitejs/plugin-vue from 5.0.4 to 5.0.5
  • chore(deps): Bump @rollup/plugin-replace from 5.0.5 to 5.0.7

Breaking changes

This version is Vue 3 only. For Vue 2 use the 1.x version.

🐛 Fixed bugs

  • fix(tests): ssrBuild was renamed to isSsrBuild #168 (susnux)
  • fix(base): Correctly pass minify configuration to vite #169 (susnux)

Changed

  • chore(deps): Bump vite-plugin-node-polyfills to 0.21.0
  • chore(deps): Bump rollup-plugin-license to 3.3.1
  • chore(deps): Bump rollup-plugin-node-externals to 7.1.1
  • chore(deps): Bump magic-string to 0.30.10
  • chore(deps): Bump vite-plugin-dts to 3.8.3
  • chore(deps): Bump vite-plugin-css-injected-by-js to 3.5.0
  • chore(deps): Update rollup-plugin-corejs to v1

v1.2.2 (2024-02-06)

Full Changelog

🐛 Fixed bugs

  • fix: Move fonts to css/fonts and fix css path resolving #121 (susnux)

Changes

  • chore(deps): Bump magic-string from 0.30.5 to 0.30.6
  • chore(deps): Bump rollup-plugin-node-externals from 6.1.2 to 7.0.1

v1.2.1 (2024-01-29)

Full Changelog

🐛 Fixed bugs

  • fix(css-plugin): Use generateBundle hook to prevent CSS imports from being lost #112 (susnux)

Changes

  • Updated development dependencies
  • Updated dependencies:
    • chore(deps): Bump vite-plugin-node-polyfills from 0.17.0 to 0.18.0 #89 (dependabot)
    • chore(deps): Bump vite-plugin-css-injected-by-js from 3.3.0 to 3.3.1 #92 (dependabot)
    • chore(deps): Bump vite-plugin-node-polyfills from 0.18.0 to 0.19.0 #94 (dependabot)
    • chore(deps): Bump vite-plugin-dts from 3.6.4 to 3.7.0 #96 (dependabot)
    • chore(deps): Bump vite-plugin-dts from 3.7.0 to 3.7.1 #111 (dependabot)
    • chore(deps): Bump browserslist-to-esbuild from 1.2.0 to 2.1.1 #105 (dependabot)
  • chore: update workflows from templates #93 (nextcloud-command)

v1.2.0 (2023-12-19)

Full Changelog

🚀 Enhancements

Changed

  • Updated dependencies

v1.1.1 (2023-12-19)

Full Changelog

🐛 Fixed bugs

Changed

  • Updated dependencies

v1.1.0 (2023-10-20)

Full Changelog

🚀 Enhancements

  • feat: add option to customize asset file names #41 (ShGKme)
  • feat(appconfig): Add base path so module preloading works #43 (susnux)

🐛 Fixed bugs

  • fix(appconfig): Fix the default value for inlining CSS #42 (susnux)

Closed pull requests

  • chore(deps): Bump postcss from 8.4.24 to 8.4.31 #37
  • chore(deps-dev): Bump @types/node from 20.8.1 to 20.8.3 #38
  • chore(deps): Bump rollup-plugin-node-externals from 6.1.1 to 6.1.2 #39
  • chore(deps): Bump @rollup/plugin-replace from 5.0.2 to 5.0.3 #40
  • chore(deps): Bump rollup-plugin-esbuild-minify from 1.1.0 to 1.1.1 #44
  • chore(deps-dev): Bump @types/node from 20.8.3 to 20.8.6 #47
  • chore(deps): Bump magic-string from 0.30.4 to 0.30.5 #46
  • chore(deps-dev): Bump typedoc from 0.25.1 to 0.25.2 #45
  • chore(deps-dev): Bump @babel/traverse from 7.23.0 to 7.23.2 #48

v1.0.1 (2023-10-06)

Full Changelog

🐛 Fixed bugs

  • fix: Remove define of process.env from base config #34 (susnux)
  • fix(libConfig): import default in CJS build #35 (ShGKme)

v1.0.0 (2023-10-02)

Full Changelog

🚀 Enhancements

  • Allow to create vite config for Nextcloud apps
  • Allow to create vite config for libraries targetting the Nextcloud ecosystem

🐛 Fixed bugs

  • fix(app): Build in app mode and not in lib mode while building Nextcloud apps #31 (susnux)
  • fix(lib): Make libconfig work when minification and css split is enabled #29 (susnux)
  • fix(lib): Include hash in assets name #16 (susnux)
  • fix(libconfig): Strip off node: prefix on core modules for webpack compatibility #10 (susnux)
  • fix: Make license information for 3rd party modules deterministic #12 (susnux)
  • fix(app): Polyfill node core modules by default when building apps #11 (susnux)

Closed pull requests

  • chore: Prepare new bugfix release #17 (susnux)
  • Allow to properly include CSS in library builds by importing the CSS files #13 (susnux)
  • chore: Prepare first release with new package name (nextcloud namespace) #9 (susnux)
  • docs: Add link for the documentation to the README #8 (susnux)
  • feat: Add typedoc documentation for public API and interfaces #4 (susnux)
  • chore: Add some basic CI workflows #3 (susnux)
  • chore: Rename package to @nextcloud/vite-config #2 (susnux)
  • chore(ci): Add test workflow and scripts #30 (susnux)