@adobe-commerce/elsie 1.9.0-beta.3 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -4
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @adobe-commerce/elsie
|
|
2
2
|
|
|
3
|
+
## 1.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- af62897: Update minimum Node.js requirement to 22 LTS
|
|
8
|
+
|
|
9
|
+
Packages are now built with Node.js 22. `elsie` requires `>=22`; browser-only packages (`fetch-graphql`, `event-bus`, `recaptcha`, `storefront-design`, `build-tools`) do not declare an `engines` field as they do not run in Node.js.
|
|
10
|
+
|
|
11
|
+
- 62adf1c: Reduce HTTP requests on page load through three bundling optimizations. The preact runtime is isolated in its own vendor chunk so it no longer co-locates into other chunks. Dropin API and internal component modules are consolidated into `chunks/api.js` and `chunks/components.js` respectively, replacing the previous pattern of one chunk file per function or component. All SVG icons are consolidated into a single `chunks/icons.js` chunk instead of one chunk per icon.
|
|
12
|
+
|
|
13
|
+
Drop-ins must be rebuilt against this release to get the reduced request footprint. No source changes are required.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- d2aacc7: Fix: GraphQL fragment source files are no longer incorrectly bundled into `chunks/api.js`. The `manualChunks` function now walks the full importer graph (with cycle protection) to determine whether an api-directory module is owned by the fragments barrel, so fragment files stay in the fragments output chunk even when accessed through intermediate sub-barrels.
|
|
18
|
+
- 5c64620: Implement a new `fragment-import-redirect` build plugin that automatically detects and redirects any dropin source file that directly imports a fragment source file (bypassing the barrel). The import is silently redirected to the fragments barrel at build time and a warning is emitted identifying the file so it can be corrected in source. This ensures fragment constants always appear as local declarations in `fragments.js` regardless of how dropin source code references them.
|
|
19
|
+
|
|
3
20
|
## 1.9.0-beta.3
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -24,10 +41,6 @@
|
|
|
24
41
|
|
|
25
42
|
### Minor Changes
|
|
26
43
|
|
|
27
|
-
- f55a79c: Migrate to Node.js 24 LTS
|
|
28
|
-
|
|
29
|
-
Minimum required Node.js version is now 24. Updated `engines.node` from `>=16`/`>=18` to `>=24` across all packages. Regenerated lockfile under Node 24. Updated CI workflows to use `storefront-workflows@v6` with Node 24 support.
|
|
30
|
-
|
|
31
44
|
- 62adf1c: Reduce HTTP requests on page load through three bundling optimizations. The preact runtime is isolated in its own vendor chunk so it no longer co-locates into other chunks. Dropin API and internal component modules are consolidated into `chunks/api.js` and `chunks/components.js` respectively, replacing the previous pattern of one chunk file per function or component. All SVG icons are consolidated into a single `chunks/icons.js` chunk instead of one chunk per icon.
|
|
32
45
|
|
|
33
46
|
Drop-ins must be rebuilt against this release to get the reduced request footprint. No source changes are required.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe-commerce/elsie",
|
|
3
|
-
"version": "1.9.0
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"description": "Domain Package SDK",
|
|
6
6
|
"engines": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"postpublish": "node ./scripts/publish-tools.mjs"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@adobe-commerce/event-bus": "~1.1.0
|
|
32
|
-
"@adobe-commerce/fetch-graphql": "~1.3.0
|
|
33
|
-
"@adobe-commerce/recaptcha": "1.2.0
|
|
34
|
-
"@adobe-commerce/storefront-design": "~1.1.0
|
|
35
|
-
"@dropins/build-tools": "~1.2.0
|
|
31
|
+
"@adobe-commerce/event-bus": "~1.1.0",
|
|
32
|
+
"@adobe-commerce/fetch-graphql": "~1.3.0",
|
|
33
|
+
"@adobe-commerce/recaptcha": "1.2.0",
|
|
34
|
+
"@adobe-commerce/storefront-design": "~1.1.0",
|
|
35
|
+
"@dropins/build-tools": "~1.2.0",
|
|
36
36
|
"preact": "~10.22.1",
|
|
37
37
|
"vite-plugin-banner": "^0.8.0"
|
|
38
38
|
},
|