Files
NativeScript/packages/webpack5/CHANGELOG.md
2025-03-22 18:56:46 -07:00

20 KiB

5.0.24 (2025-03-23)

🚀 Features

  • webpack: support @nativescript-community/svelte-native (41ac6d970)

5.0.23 (2025-02-26)

🚀 Features

  • Node-API engine support (#10710)
  • apple view filtering (#10681)
  • allow the passing of a bundle suffix (#10614)
  • core: ability to embed into platform host projects (#10465)
  • webpack: allow custom 'projectName' on Xcode project name from config (#10550)
  • wepback: custom buildPathsupport (#10477)
  • webpack: place hidden sourceMaps in platforms folder (#10352)
  • webpack: angular 16.1 support (#10317)
  • webpack: support tsconfig.app.json when present (#10221)
  • TypeScript 4.8+ support and NativeClass decorator improvements (#10081)
  • webpack: add --env.stats to disable printing stats (e80ec0787)
  • webpack: allow disabling nativescriptLibPath warning with a boolean (fefac9f55)
  • webpack: emit hrm boot status (91d2c57ea)
  • testID property for use with e2e testing without interfering with a11y (#9793)
  • support webpack profiling (#9804)
  • webpack: add support for .mjs files (#9747)
  • webpack: allow watching node_modules (#9781)
  • webpack: read nativescript.config.ts main if set before fallback to package.json (#9769)
  • webpack: disable aot flag, optional angular dep and tsconfig utils (#9711)
  • webpack: support NG 13 and zone async/await (#9676)
  • webpack: -v and --version flags (f00f82caa)
  • webpack: export merge helper (4c393cd83)
  • webpack: try resolving compiler, but don't fail if not found (97dda9502)
  • webpack: use svelte-loader and fallback to svelte-loader-hot (9f807ef7e)
  • webpack: improved svelte HMR (#9497)
  • handle config name (3bf55b7a0)
  • webpack: angular12 support & looser dependencies (#9441)
  • webpack: support for angular polyfills.ts (7322ead72)
  • add xml support to all flavors (20a8beaeb)
  • sourceMap improvements (cfd98d367)
  • warnOnce & graceful error handling (1627f5204)
  • look for loaders in project node_modules first (fb2c29106)
  • app-css-loader & suppress env warning in ng projects (0999d6fe3)
  • drop webpack-filter-warnings-plugin in favor of built-in ignoreWarnings (7d5f4a48a)
  • env based replacements (#9286)
  • core-hmr handling & watch ignore (6cc0ce3d5)
  • support workspace configs (437c3b41f)
  • add worker support (d2abd5817)
  • ips helper, ts config, cleanups (aa0daba6a)
  • parse --env. [WIP] (b794b9969)
  • add DotEnv support (84fdc11a8)
  • webpack: filter common undesirable warnings by default (#9253)
  • extract platforms (54dd20e90)
  • add postcss-loader by default (0f14fc9d4)
  • addCopyRule removeCopyRule helpers (1086c6f9b)
  • platform suffix resolution [wip] (518176932)
  • add entryDir helper + update aliases (d537fa0e6)
  • ported xml-namespace-loader (696389d03)
  • webpackChain options (e1abbd9d6)
  • add ForkTsChecker (e8888719b)
  • svelte config (#9061)
  • add micro cli for initializing the config (19e38f8c2)
  • apply-css-loader hmr code (9e091c4bf)
  • make react config functional (bb80853db)
  • export Utils (a1abd07c7)
  • add merging logic (d46d59abe)
  • external config loading (575130c71)
  • css loading (2bd7c4403)
  • implement basic public api (cb7108d33)
  • basic react config (4e9750398)
  • additional base setup (362ff6a46)
  • basic webpack-chain setup (aaae0d4f2)
  • webpack5: initial project files (9f436695a)
  • parse --env. [WIP] (0a1ba1643)
  • add DotEnv support (3c44a553c)
  • webpack: filter common undesirable warnings by default (#9253)
  • extract platforms (2f39cf5ed)
  • add postcss-loader by default (7df2f09cf)
  • addCopyRule removeCopyRule helpers (fa70654bf)
  • platform suffix resolution [wip] (65b214b84)
  • add entryDir helper + update aliases (ca78bc5ae)
  • ported xml-namespace-loader (5b182c0d5)
  • webpackChain options (803958266)
  • initial angular support + clean up tests (d9a93040f)
  • add ForkTsChecker (015d337e2)
  • svelte config (#9061)
  • add micro cli for initializing the config (e544b4506)
  • apply-css-loader hmr code (2f5cd2bb8)
  • make react config functional (241c4102f)
  • export Utils (741d4b242)
  • add merging logic (39949182e)
  • external config loading (46853d2c8)
  • css loading (288444c05)
  • implement basic public api (c1d240d66)
  • basic ract config (b2ce0402c)
  • additional base setup (b22e1c236)
  • basic webpack-chain setup (9250bf222)
  • webpack5: initial project files (49a47fef2)

🩹 Fixes

  • webpack: union type (#10575)
  • webpack: set exitCode if the configuration failed (#10327)
  • webpack: handle single appComponents env flag (#10401)
  • testing: e2e flag no longer needed, testID is now applicable in dev or prod builds (#10396)
  • webpack: set keep_quoted_props: true in TerserOptions (#10382)
  • webpack: force experimentalDecorators on NativeClass (#10356)
  • webpack: angular 16 build with terser (#10302)
  • webpack: notify CLI even if there are compilation errors (#10141)
  • webpack: fix regex for PlatformSuffixPlugin (#10169)
  • webpack: support angular 15.x (#10106)
  • webpack: prevent hmr from patching __onLiveSync multiple times (#10103)
  • webpack: make NativeClass transformer backwards compatible (59624a4eb)
  • webpack: close compiler after run (#10080)
  • revert copy rule glob filter (a96445f53)
  • webpack: remove copy rules that don't match any files to avoid false watch triggers (eedc9c9eb)
  • hmr: emit boot log at boot instead of the 1st livesync (5a0043832)
  • webpack: NativeClass decorator should run after angular transformers in AOT mode (#9908)
  • webpack: unit test runner with node 18+ (#9952)
  • webpack: pin vue-loader version to the latest working version (c2d554bf0)
  • webpack: xml-namespace-loader incorrect dependency mapping (#9780)
  • webpack: exclude other platforms from require.context (#9686)
  • webpack: typescript imports in non-ts projects (#9714)
  • webpack: prepend NativeClass transformer in angular config (#9698)
  • webpack: prepend NativeClass transformer in angular config (#9698)
  • webpack5: include hmr handling only when enabled (#9685)
  • webpack: map 'svelte' to 'svelte/internal' to avoid forced ssr (#9627)
  • webpack: exclude files starting with _ from require.context (#9596)
  • webpack: using multiple workers in a single file (1ceea571e)
  • include bundle-entry-points by default (5ff85bfae)
  • webpack5: angular scss rule not ignoring regular scss (#9502)
  • webpack: use async type-checking in watch mode (5309f2d0a)
  • webpack: add virtualEntry before main entry (5a3a35d37)
  • webpack: angular component css handling (#9434)
  • webpack: don't ignore compilation errors (#9369)
  • webpack5: change .d.ts filter regex (#9470)
  • vue scoped css (14edc7033)
  • don't exclude node_modules from worker processing (2d47cf327)
  • webpack5: allow platform specific template files (#9459)
  • hmr with runtimeChunk single (dea18978d)
  • webpack5: add AngularWebpackPlugin transformers (#9435)
  • webpack: avoid module reevaluation (e26e202af)
  • webpack|angular: platform suffixed files printing error when changed (a9eed7e4c)
  • webpack|angular: styleUrls with platform suffixes (759f05a53)
  • watchIgnore should be a full path (0601ca763)
  • don't externalize node built-ins (f053403d8)
  • prevent App_Resources from being copied (#9325)
  • use acorn and drop babel-loader by default (#9320)
  • terser options (279b0b1d2)
  • angular: styleURLs (6afd5a65c)
  • context regext to match the dot, exclude .d.ts (458c4eba8)
  • exclude App_Resources from context (13b3364e6)
  • resolving loaders from non-hoisted deps (d8067a553)
  • copy stubs step (7edb1e90b)
  • node_module resolution when using relative packages (1025270fa)
  • read CSS_PARSER from config (#9290)
  • app-css-loader to look for platform specific app s?css files too (f7530fe4e)
  • fileReplacements should be relative to app root (687bc641a)
  • print errorDetails with env.verbose (c2297464b)
  • make nsv template compiler optional (44c8ef999)
  • hmr runtime for core/ts (0b32d5a88)
  • look for tsconfig.app.json in ng projects (f8cc505a9)
  • patch vue-loader for hmr (3a28f9eef)
  • handle appComponents (#9126)
  • handle empty env for app resources (d3e51bbd3)
  • ngcc default format to use module field (bf34966ce)
  • bash prefix (ed4848770)
  • correctly sanitize project name (#9193)
  • xml namespace loader test (c9455e67a)
  • supress A11y warnings for svelte (f967606b3)
  • svelte and css2json-loader (34987d666)
  • sass + add copy plugin (93db85a59)
  • sass handling (cabf62624)
  • load globals first (110ec9233)
  • NativeClass transformer import (877c513a1)
  • use compiler object (96799ac17)
  • clean path should be absolute (caae91325)
  • handle appComponents (#9126)
  • handle empty env for app resources (60293bb81)
  • ngcc default format to use module field (d6d6e0014)
  • bash prefix (de2297c7a)
  • correctly sanitize project name (#9193)
  • xml namespace loader test (6e0407e5e)
  • supress A11y warnings for svelte (1ede4dbf5)
  • svelte and css2json-loader (86a46b46c)
  • sass + add copy plugin (30c31a252)
  • sass handling (f09d746cc)
  • load globals first (403fa6b30)
  • NativeClass transformer import (b29918f5a)
  • use compiler object (fe0d6403a)
  • clean path should be absolute (fa879ba49)

❤️ Thank You

  • Adam Bird @Archez
  • apburgess @apburgess
  • Canmert
  • Dimitris-Rafail Katsampas @CatchABus
  • Eduardo Speroni @edusperoni
  • farfromrefuge
  • François KLINGLER
  • halfnelson
  • Ian MacDonald
  • Igor Randjelovic
  • insytes
  • Janos Hrubos @janoshrubos
  • Jason Cassidy @jcassidyav
  • Manuel Roat
  • Martin Guillon
  • Michael DeGiovanni
  • Nathan Walker
  • Osei Fortune @triniwiz
  • Pier Fumagalli @pfumagalli
  • rigor789
  • Ruslan Lekhman @lekhmanrus
  • Samuel Schultze
  • Vladimir Mutafov @vmutafov