Releases: SAP/ui5-builder
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v2.11.10
v3.0.1
All changes
v3.0.0
Breaking Changes
- Transform to ES Modules (#790)
a439aa9
- generateJsDoc: Remove internal 'buildContext' parameter
4ec80c8
- Removal of manifestBundler and generateManifestBundle (#838)
07a5be2
- JSDoc: Fail build when jsdoc command failed (#845)
c2916b4
- Remove build execution (#740)
af2e956
- Enable modern preload bundles without dependencies (#739)
97cfa6c
- Require Node.js >= 16.18.0 / npm >= 8
dbf6c06
- generateResourcesJson: Make 'dependencies' parameter mandatory
268dd16
- moduleBundler: Always default to
optimize: true
(#685)de5837c
- libraryLessGenerator: Throw error when import can't be inlined
d2be9bb
BREAKING CHANGE
This package has been transformed to ES Modules. Therefore it no longer provides a CommonJS export.
If your project uses CommonJS, it needs to be converted to ES Modules or use a dynamic import.
For more information see also:
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
The jsdocGenerator
processor and the corresponding generateJsdoc
task will now throw an error when JSDoc reports an error (exit code != 0). This will also fail the build when running ui5 build jsdoc
.
The manifestBundler processor and generateManifestBundle task has been removed because it is no longer required for the HTML5 repository in Cloud Foundry.
- builder.js has been removed. Use ui5-project builder instead
- Tasks now rely on Project instances being available on Resources (see SAP/ui5-fs#381)
- TaskRepository#addTask has been removed. Custom tasks need to be added to the project graph instead
- TaskUtil#get/set/clearTag now requires a Project instance to be provided. Path strings are no longer sufficient
and will cause an exception to be thrown
For library projects, the task "generateComponentPreload" is now
executed after tasks "generateLibraryManifest" and
"generateManifestBundle" instead of before them.
Support for older Node.js and npm releases has been dropped.
Only Node.js v16.18.0 and npm v8 or higher are supported.
The following tasks have been removed:
- createDebugFiles
- uglify
The following processors have been removed:
- debugFileCreator
- resourceCopier
- uglifier
As a replacement, the new 'minify' task and 'minifier' processor can be
used.
Note: The minify task is executed earlier, before the bundling
process takes place. Existing 'beforeTask' and 'afterTask' configuration of
custom tasks might need to be adapted to cater for this change.
Features
- Support ES2022 language features (#848)
f9b8457
- jsdoc: Support destructuring of enums for defaultValue (#775)
523f365
- builder: Improve support for ES6+ syntax (#774)
90385fe
- jsdoc: Improve support for ES6+ syntax (#785)
187a6a3
- generateThemeDesignerResources task: Create css_variables.less (#730)
34e69be
- builder: Add cssVariables option (#728)
30d58e1
- Generate source maps for bundles (#695)
8a20c42
- replaceVersion/Copyright: Also process test-resources (#693)
a0d4bc2
- Support ES2022 language features
e749b6a
- Add minify task and processor (#666)
a3af604
Bug Fixes
- package.json: Downgrade es5-ext dependency
2b71707
- minify: Change default to not omit source map resources
6d75a49
- Avoid redundant bundle creation (#741)
13c8405
- JSModuleAnalyzer: Fix detection of bundle name (#705)
aaeafd4
- generateResourcesJson: Add raw-module info for debug bundles (#736)
3b918e8
- LibraryBuilder: Align task order of "generateComponentPreload"
aea061d
- LocatorResourcePool: Wait for resources in prepare step (#719)
1b7f93f
- XMLTemplateAnalyzer: Analyze core:require of FragmentDefinition
af075ed
- Bundler: Ensure reproducibility for bundles with multiple parts (#689)
6f4588b
- generateResourcesJson: Don't list resources omitted from build result
9608c51
- generateResourcesJson: Analyze debug bundles (#669)
f27513a
- Bundler: Sort raw modules by default
0e11b69
Dependency Updates
- Bump less-openui5 from 0.11.4 to 0.11.5
bf46354
- Bump less-openui5 from 0.11.3 to 0.11.4
b7a507f
- Bump less-openui5 from 0.11.2 to 0.11.3
28e684b
- Bump escope from 3.6.0 to 4.0.0
e25af0d
- Bump rimraf from 3.0.2 to 4.1.1 (#873)
ddb9660
- Bump jsdoc from 3.6.11 to 4.0.0 (#821)
6d05117