All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
A list of unreleased changes can be found here.
v3.0.0-rc.3 - 2023-01-24
v3.0.0-rc.2 - 2023-01-23
v3.0.0-rc.1 - 2023-01-11
- libraryLessGenerator: Throw error when import can't be inlined
d2be9bb
v3.0.0-rc.0 - 2022-12-23
v3.0.0-beta.6 - 2022-12-13
v3.0.0-beta.5 - 2022-12-12
- generateJsDoc: Remove internal 'buildContext' parameter
4ec80c8
- Bump less-openui5 from 0.11.4 to 0.11.5
bf46354
v3.0.0-beta.4 - 2022-12-01
v3.0.0-beta.3 - 2022-11-30
v3.0.0-beta.2 - 2022-11-29
- Removal of manifestBundler and generateManifestBundle (#838)
07a5be2
- JSDoc: Fail build when jsdoc command failed (#845)
c2916b4
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.
v3.0.0-beta.1 - 2022-11-07
v3.0.0-alpha.12 - 2022-10-24
This package has been transformed to native ESM. Therefore it no longer provides a CommonJS export. If your project uses CommonJS, it needs to be converted to ESM 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
v3.0.0-alpha.11 - 2022-10-20
- package.json: Downgrade es5-ext dependency
2b71707
- Bump escope from 3.6.0 to 4.0.0
e25af0d
- builder: Improve support for ES6+ syntax (#774)
90385fe
- jsdoc: Improve support for ES6+ syntax (#785)
187a6a3
- [FIX] package.json: Downgrade es5-ext dependency
v3.0.0-alpha.10 - 2022-08-09
v3.0.0-alpha.9 - 2022-07-27
- minify: Change default to not omit source map resources
6d75a49
v3.0.0-alpha.8 - 2022-07-15
v3.0.0-alpha.7 - 2022-06-14
- 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
v3.0.0-alpha.6 - 2022-04-26
- JSModuleAnalyzer: Fix detection of bundle name (#705)
aaeafd4
- generateResourcesJson: Add raw-module info for debug bundles (#736)
3b918e8
v3.0.0-alpha.5 - 2022-04-14
- LibraryBuilder: Align task order of "generateComponentPreload"
aea061d
For library projects, the task "generateComponentPreload" is now executed after tasks "generateLibraryManifest" and "generateManifestBundle" instead of before them.
v3.0.0-alpha.4 - 2022-04-05
v3.0.0-alpha.3 - 2022-03-10
v3.0.0-alpha.2 - 2022-02-25
- XMLTemplateAnalyzer: Analyze core:require of FragmentDefinition
af075ed
- Generate source maps for bundles (#695)
8a20c42
- replaceVersion/Copyright: Also process test-resources (#693)
a0d4bc2
v3.0.0-alpha.1 - 2022-01-25
- Require Node.js >= 16.13.2 / npm >= 8
dbf6c06
- generateResourcesJson: Make 'dependencies' parameter mandatory
268dd16
- moduleBundler: Always default to
optimize: true
(#685)de5837c
- 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
Support for older Node.js and npm releases has been dropped. Only Node.js v16.13.2 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.
v3.0.0-alpha.0 - 2021-12-14
- Bundler: Sort raw modules by default
0e11b69
v2.11.2 - 2021-11-17
- Builder: Emit warning on bundleInfo name without extension
ed0da12
- manifestCreator: Trim whitespace/new-lines for sap.app/title
019cfd7
v2.11.1 - 2021-10-19
- Minification excludes for application projects
7f6fd68
v2.11.0 - 2021-10-19
- manifestCreator: supportedThemes should only list relevant themes
01f3859
v2.10.0 - 2021-10-05
- Introduce build task replaceBuildtime
2ad0960
v2.9.5 - 2021-08-25
- AbstractBuilder: Multiple custom task executions did not run (#636)
c05587a
- Builder: Handle files without extension (#637)
07aaa24
v2.9.4 - 2021-07-23
- XMLTemplateAnalyzer: Include document name for XML parsing errors
3c88ca4
v2.9.3 - 2021-07-01
- LibraryFormatter: Fix handling of paths containing special characters
2093562
v2.9.2 - 2021-06-17
- Switch from esprima to espree (#615)
c3d50e3
- lbt/resources/ResourceCollector: Ensure proper matching of indicator files (#614)
2d3a1d8
v2.9.1 - 2021-06-08
- JSDoc: Use namespace to derive uilib name for jsdoc generator
2077130
- JSDoc: add project name to JSDoc configuration and api.json (#609)
419ce38
- lib/processors/debugFileCreator: Add -dbg suffix only to files (#611)
9da2f7b
- Bump cheerio from 0.22.0 to 1.0.0-rc.9
8bdb146
v2.9.0 - 2021-06-01
v2.8.4 - 2021-05-17
- XMLTemplateAnalyzer: Properly detect conditional dependencies
0f56490
- lbt/bundle/Builder: Preserve comments in bundles
8dfa919
v2.8.3 - 2021-04-19
- Emit warning when including/excluding unknown tasks
854f456
v2.8.2 - 2021-03-11
- LibraryFormatter: Do not throw for missing .library in legacy OpenUI5 theme libraries
f7e22ba
v2.8.1 - 2021-03-04
- generateResourcesJson: Include dependencies of XML resources
0fc364d
- manifestCreator: 'embeds' should list all components (#575)
11f823a
- moduleBundler: Apply defaultFileTypes (#580)
42f6474
- resourceListCreator: Include dependencies of subModules (#588)
fe61d6e
- versionInfoGenerator: fix hasOwnPreload flag (#591)
73a0f8b
v2.8.0 - 2021-02-09
v2.7.2 - 2021-01-29
- Bump less-openui5 from 0.9.0 to 0.10.0
4674fef
v2.7.1 - 2021-01-28
- JSDoc: adapt sdkTransformer to change in transformApiJson.js (#574)
655f731
- versionInfoGenerator: manifest without embeds #486 (#576)
4d86226
v2.7.0 - 2021-01-26
- Versioninfo enrich with manifest infos (#554)
7603ece
- Align JSDoc template & plugin with OpenUI5 1.87.0 (#572)
0cb02ac
v2.6.1 - 2021-01-21
- Theme Build: Only process themes within library namespace (#570)
8cecc01
- processors/libraryLessGenerator: Don't throw in case of import errors
0e25b59
v2.6.0 - 2021-01-14
- Add 'generateThemeDesignerResources' task
03241c0
- Add 'libraryLessGenerator' processor (#560)
a7e1e5c
- manifestBundler: Add support for sap.app/i18n/enhanceWith (#564)
1b7a277
- manifestCreator: enrich manifest with supportedLocales in i18n (for libraries) (#547)
8102034
v2.5.1 - 2020-12-18
- Windows: Correctly handle project paths containing non-ASCII characters
b229bf3
v2.5.0 - 2020-12-15
- manifestCreator: Add component path to error logs
049b9ee
v2.4.5 - 2020-11-30
- generateResourcesJson: Make resources.json generation deterministic
41d3335
- manifestCreator: Only list components with corresponding 'embeddedBy' (#555)
89872d7
v2.4.4 - 2020-11-25
- JSModuleAnalyzer: Properly handle jQuery.sap.registerPreloadedModules calls
9433f6a
v2.4.3 - 2020-11-06
v2.4.2 - 2020-11-04
- [FEATURE] Switch XML minifier from pretty-data to minify-xml
v2.4.1 - 2020-11-03
- Bump minify-xml from 2.1.2 to 2.1.3
839d12b
v2.4.0 - 2020-11-03
- Tag bundles and ignore them in uglify task (#535)
b487366
- Switch XML minifier from pretty-data to minify-xml
be29520
v2.3.0 - 2020-10-22
v2.2.1 - 2020-10-06
- Bundler: Improve error log messages (#466)
6bb6235
- tasks/generateResourcesJson: Handling for sap.ui.integration
1191b3d
v2.2.0 - 2020-09-02
v2.1.0 - 2020-08-11
- Implement TaskUtil class
a7074ae
- generateFlexChangesBundle: Hide bundle input from build result
001183a
v2.0.7 - 2020-08-10
- Pin estraverse to v5.1.0
e5bc455
v2.0.6 - 2020-07-21
v2.0.5 - 2020-07-14
- Node.js API: TypeScript type definition support (#475)
7858810
- XMLTemplateAnalyzer: Handle empty XML view/fragment (#471)
7488d5f
v2.0.4 - 2020-06-15
v2.0.3 - 2020-05-19
- Align JSDoc template and scripts with OpenUI5 1.79 (#460)
c868fa0
- manifestBundler: Add support for i18n object configuration (#458)
85c4e19
v2.0.2 - 2020-05-14
v2.0.1 - 2020-04-30
- Namespaces in API Reference (JSDoc)
b2a9a10
v2.0.0 - 2020-03-31
- Make namespace mandatory for application and library projects (#430)
ee96c00
- Require Node.js >= 10
5451765
- LibraryFormatter: Ignore manifest.json of nested apps
846e929
If a library contains both, a manifest.json and .library file, they must either be located in the same directory or the manifest.json is ignored. In cases where the manifest.json is located on a higher level or different directory on the same level than a .library file, an exception is thrown.
UI5 Project must be able to determine the project's namespace, otherwise an error is thrown.
Support for older Node.js releases has been dropped. Only Node.js v10 or higher is supported.
v1.10.1 - 2020-02-24
- ApplicationBuilder: Fix pattern to glob for .library files
032d9a9
v1.10.0 - 2020-02-10
- Ensure proper handling of multi-byte characters in streams (#411)
e906ec0
- Bundling: Dynamic preload calls should not emit warnings
4d22b37
v1.9.0 - 2020-01-13
- Use 'defaultFileTypes' from bundle configuration (#385)
c21e13e
- Detect dynamic dependencies also when newer APIs are used (#391)
ed1cc9d
- Add new theme-library type (#285)
a59287b
- AbstractBuilder: Allow adding custom tasks for types that have no standard tasks
654450d
v1.8.0 - 2019-12-16
v1.7.1 - 2019-11-18
- Bump less-openui5 from 0.7.0 to 0.8.0
11101d4
v1.7.0 - 2019-11-07
- Bump less-openui5 from 0.6.0 to 0.7.0
fdb0241
- buildThemes: Add "compress" option (#363)
3a0cf6a
- flexChangesBundler: Add flexibility-bundle.json (#353)
cecc97d
v1.6.1 - 2019-10-24
v1.6.0 - 2019-10-24
- Simple Build Extensibility: Pass project namespace to custom tasks
1a167c5
v1.5.3 - 2019-10-11
v1.5.2 - 2019-10-09
- Improve recognition of main module in case of bundles (#341)
7a560b4
- Align set of known file types with runtime (#337)
8b372f1
- manifestCreator: Only consider component files called Component.js (#273)
82fe267
v1.5.1 - 2019-09-04
v1.5.0 - 2019-09-02
v1.4.2 - 2019-08-28
v1.4.1 - 2019-08-14
- Switch to Terser for JavaScript minification
fccb514
- Theme Build: Add compress option to minify output (#295)
eea10ba
- clean build folder: Allows developers to clean build folder before start building a project
04eb695
v1.4.0 - 2019-07-29
- versionInfo: Use correct buildTimestamp format
6d87b3e
v1.3.3 - 2019-07-01
- Bump globby from 9.2.0 to 10.0.0
1ea4a11
v1.3.2 - 2019-06-24
- generateManifestBundle: Only glob files from project namespace
fc7f659
v1.3.1 - 2019-06-14
v1.3.0 - 2019-06-03
v1.2.3 - 2019-05-15
- JSDoc: Implement own tmp dir lifecycle
3f85abf
v1.2.2 - 2019-05-08
- package.json: Fix JSDoc version to 3.5.5
873469d
v1.2.1 - 2019-05-07
- SmartTemplateAnalyzer: Detect dependencies from "pages" object
2d400c2
v1.2.0 - 2019-04-25
- Add option to use hash signatures in cachebuster info file
a4e8338
v1.1.1 - 2019-04-24
v1.1.0 - 2019-04-12
- Build the manifest-bundle.zip for applications and libraries
f53aeea
- Generate the AppCacheBuster index file for apps
dd653c8
v1.0.5 - 2019-04-03
- Generate sap-ui-custom-dbg.js for self-contained build (#234)
d769d98
- Add bundling sap-ui-core-noJQuery.js and sap-ui-core-noJQuery-dbg.js (#235)
e7a7a63
v1.0.4 - 2019-03-27
v1.0.3 - 2019-03-21
v1.0.2 - 2019-02-28
- Warning log of duplicate module declaration
9a790a3
- Bundler: Create sap-ui-core-dbg.js (#176)
feb95e4
- ComponentAnalyzer: Detect model types from dataSource
efc5cef
v1.0.1 - 2019-02-01
v1.0.0 - 2019-02-01
When running a self-contained build on an application project, the index.html will be transformed by adopting the UI5 bootstrap script tag to load the custom bundle file instead.
v0.2.9 - 2019-01-03
- ComponentAnalyzer: Fully handle sap.ui5/routing (#124)
c59b5b1
- XMLTemplateAnalyzer: Ignore properties with data binding
0d5cf50
v0.2.8 - 2018-12-19
- Themes not beeing build
de26564
v0.2.7 - 2018-12-19
- ComponentAnalyzer: Handle sap.ui5/rootView with type string
469e558
- generateLibraryPreload: Fix sap-ui-core.js bootstrap
7a266fd
v0.2.6 - 2018-12-06
v0.2.5 - 2018-11-16
- Builder: Add handling for custom task configurations
9b4ae00
v0.2.4 - 2018-10-29
- Add module type
d7efb8a
v0.2.3 - 2018-10-09
- Replace copyright and version strings in *.json and .library files
f305429
- generateLibraryPreload: Add new sap.ui.core library namespaces
ea901a7
v0.2.2 - 2018-10-05
- processors/versionInfoGenerator: Remove "gav" property
2bf41e1
v0.2.1 - 2018-07-17
- generateLibraryManifest: i18n/css handling
4e52a96
v0.2.0 - 2018-07-11
v0.1.1 - 2018-07-02
v0.1.0 - 2018-06-26
- Bundles should be built one after another
164ba32
- reduce build time at the price of a slightly increased code size (#37)
1fb8d00
- Use the target bundle format to decide decoration (#24)
83703bc
v0.0.2 - 2018-06-21
- Builders: Do not bundle debug files
19800a1
- Restore default component preload
a09bec2
- Add ability to configure component preloads and custom bundles
2241e5f