Skip to content

Latest commit

 

History

History
625 lines (458 loc) · 33.7 KB

CHANGELOG.md

File metadata and controls

625 lines (458 loc) · 33.7 KB

Changelog

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.

[v4.0.2] - 2024-08-01

Bug Fixes

  • decorateBootstrapModule should default to "false" b2a420a

[v4.0.1] - 2024-07-31

Dependency Updates

[v4.0.0] - 2024-07-23

Breaking Changes

  • Drop node v21 support b017633
  • Make '@ui5/builder' an optional peerDependency cb2e99d
  • Rename ui5HomeDir to ui5DataDir in APIs (#707) 5103c3e
  • Set default workspaceName to "default" for API usage (#706) a2d8f9d
  • Require Node.js 20.11.x/>=21.2.0 and npm >=10 6a444a0

Dependency Updates

  • Bump rimraf from 5.0.9 to 6.0.1 9c3c70f
  • Bump pacote from 17.0.7 to 18.0.6 c6b17c4
  • Bump read-pkg-up from 10.1.0 to 11.0.0 83e93aa
  • Bump read-pkg from 8.1.0 to 9.0.1 0279ac9
  • Bump globby from 13.2.2 to 14.0.1 eb9d6d8

Features

  • Apply specVersion defaults from ui5.yaml.json schema (#733) e3e8f85
  • Schema: Introduce specVersion 4.0 (#731) c5a9fde
  • manifest.json: Auto-fill supportedLocales (#683) c905d4f

BREAKING CHANGE

Consumers of the Node.js API that make use of the ProjectGraph#build

Installers and Resolvers' argument ui5HomeDir is now renamed to ui5DataDir

JIRA: CPOUI5FOUNDATION-802 Relates to: SAP/ui5-tooling#701

Set default workspaceName to "default" for API usage (#586)

JIRA: CPOUI5FOUNDATION-802 Relates to: SAP/ui5-tooling#701


Support for older Node.js and npm releases has been dropped. Only Node.js 20.11.x and >=21.2.0 as well as npm v10 or higher are supported.

[v3.9.2] - 2024-06-24

Dependency Updates

  • Bump pacote from 17.0.7 to 18.0.6 9b6d580

[v3.9.1] - 2024-03-27

[v3.9.0] - 2023-12-12

Features

  • ProjectBuilder: Add outputStyle option to request flat build output (#624) 79312fc
  • specVersion 3.2: depCache bundling mode (#673) 68c5278

[v3.8.0] - 2023-11-20

Bug Fixes

  • application: Improve error message for missing manifest.json 016a846

Features

  • TaskUtil: Add 'force' flag to cleanup task callback (#677) a0a21b7

[v3.7.3] - 2023-10-20

Bug Fixes

  • ProjectBuilder now can be executed in parallel (#669) f652461

[v3.7.2] - 2023-10-11

Dependency Updates

  • Bump make-fetch-happen from 11.1.1 to 13.0.0 f2e264e
  • Bump pacote from 15.2.0 to 17.0.4 f071399
  • Bump @npmcli/config from 6.4.0 to 8.0.0 c9f5218

[v3.7.1] - 2023-10-02

Bug Fixes

  • Allow usage of after/before task assignment for all standard tasks (#628) 1a272d2

[v3.7.0] - 2023-09-06

Bug Fixes

  • Ensure usage of provided UI5 data dir 1e0503a
  • NodePackageDependencies: Implement validation for missing package.json attributes b070972
  • ProjectGraph: Improve error message when adding duplicate projects or extensions 2b4a49e
  • pacote: Use npm cache within UI5 data dir f1e2178

Features

  • Resolvers: Allow ranges / npm tags for version resolution 2841004
  • Resolvers: Use npm tags for determining 'latest' 5cde95a

[v3.6.0] - 2023-08-22

Features

  • Add specVersion 3.1 and builder resource excludes for modules (#639) 2ac053e
  • AbstractResolver: Resolve version ranges specifying major version only 1f8cfdf

[v3.5.1] - 2023-08-18

Bug Fixes

  • Resolve UI5 data directory relative to project (#642) 228b14c

[v3.5.0] - 2023-08-09

Features

  • Allow to configure location of UI5 home directory (#635) 8c86083

[v3.4.2] - 2023-07-13

Bug Fixes

  • Application: Fallback to manifest.appdescr_variant if manifest.json is not found (#631) 43c6b22

Dependency Updates

  • Bump read-pkg-up from 9.1.0 to 10.0.0 557cb36

[v3.4.1] - 2023-07-03

Bug Fixes

[v3.4.0] - 2023-06-21

Bug Fixes

  • maven/Registry: Prevent socket timeouts when installing framework libraries 3de767f

Features

  • Sapui5MavenSnapshotResolver: Use npm-dist.zip artifact for 1.116.0 and later (#622) 45dcee0

[v3.3.2] - 2023-06-06

Bug Fixes

  • ui5Framework: Treat 'optional' dependencies of root project as non-optional f3318f0
  • ui5Framework: Choose correct resolver for snapshot framework version overrides ba860de

Dependency Updates

  • Bump xml2js from 0.5.0 to 0.6.0 aa7d853

[v3.3.1] - 2023-05-23

Bug Fixes

  • Workspace: Ignore empty npm workspace modules (#614) 66e82a3
  • projectGraphBuilder: Add module cache invalidation (#612) 65496ea

[v3.3.0] - 2023-05-05

Bug Fixes

  • Resolve properly package.json dependency aliases (#608) f8753e5

Features

  • Sapui5MavenSnapshotResolver: Expose cacheMode parameter through all APIs (#607) 78eb482

[v3.2.2] - 2023-04-27

Bug Fixes

  • ui5Framework: Respect npm proxy configuration to fetch libraries 5e3da0c

[v3.2.1] - 2023-04-21

Bug Fixes

  • Configuration: Rename toJSON => toJson 4dfbf28

[v3.2.0] - 2023-04-21

Dependency Updates

Features

[v3.1.1] - 2023-04-12

Dependency Updates

  • Bump xml2js from 0.4.23 to 0.5.0 d6d86c9
  • Bump read-pkg from 7.1.0 to 8.0.0 9800c06

[v3.1.0] - 2023-03-31

Bug Fixes

  • Taskrunner: pass new taskutil options to determineRequiredDependencies hook 94bcd99
  • ui5Framework: Prevent install of libraries within workspace (#589) 8ffc676

Features

  • Specification: Add getId method 7bdb47a
  • Workspace: Add getModules method 1e2aa0e

[v3.0.4] - 2023-03-10

Bug Fixes

  • Resolve properly absolute path for ui5HomeDir (#588) 9b414a7

[v3.0.3] - 2023-03-01

Bug Fixes

  • jsdoc: enable generateVersionInfo task a58e5eb

[v3.0.2] - 2023-02-17

Bug Fixes

  • ComponentProject#getWorkspace: Apply builder resource excludes 5257e59

[v3.0.1] - 2023-02-16

Bug Fixes

  • Prevent socket timeouts when installing framework libraries a198356
  • Library: Do not throw for missing .library file 1163821
  • Project#getReader: Do not apply builder resource excludes for style 'runtime' 1cd94f7
  • TaskUtil: Provide framework configuration getters to custom tasks (#580) 6a40927
  • graph: Always resolve rootConfigPath to CWD ef3e569
  • projectGraphBuilder: Apply extensions of the same module only once 6d753a8
  • ui5Framework: Improve error handling for duplicate lib declaration fb1db6d

[v3.0.0] - 2023-02-09

Breaking Changes

  • Implement Project Graph, build execution 161f462
  • Run 'generateThemeDesignerResources' only on framework libs e4bb108

BREAKING CHANGE

Support for older Node.js and npm releases has been dropped for all UI5 Tooling modules. Only Node.js versions v16.18.0, v18.12.0 or higher as well as npm v8 or higher are supported.

All packages have been transformed to ES Modules. Therefore modules are no longer provides a CommonJS exports. If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import for consuming UI5 Tooling modules.

For more information see also:

Features

  • specVersion 3.0 (#522) c5070e5
  • Introduce SpecificationVersion class (#431) e57842b
  • TaskRunner: Provide taskName and logger instance to custom tasks 36cd2d8
  • TaskUtil: Add resourceFactory API to v3 interface 2e863cf
  • TaskUtil: Add getProject/getDependencies API to interface 51f2949

Bug Fixes

  • npm/Installer: Do not wrap promise provided by rimraf v4 2d1ccda
  • ProjectBuilder: Fix verbose logging for already built projects f04ffd2
  • ProjectBuilder: Skip build for projects that do not require to be built ac5f1f8
  • Specification: Fix migration for legacy projects that are not applications or libraries d89d804
  • Fix build manifest creation b1459eb

Dependency Updates

[v2.6.0] - 2021-10-19

Bug Fixes

  • ui5Framework: Skip processing of framework libs (#424) 539d953

Features

[v2.5.0] - 2021-07-23

Features

[v2.4.0] - 2021-06-01

Features

[v2.3.1] - 2021-03-04

Bug Fixes

  • ui5Framework: Don't access metadata of deduped projects 0255f8f

Dependency Updates

[v2.3.0] - 2021-02-09

Features

[v2.2.6] - 2021-01-28

Bug Fixes

  • ui5Framework.Installer: Ensure target directory does not exist before rename (#390) f107cdf

[v2.2.5] - 2021-01-26

Bug Fixes

  • ui5Framework.Installer: Ensure atomic install process 72568a9

[v2.2.4] - 2020-11-06

Performance Improvements

  • Reduce install size by removing 'string.prototype.matchall' dependency b69d75e
  • validator: Lazy load dependencies 609346b

[v2.2.3] - 2020-10-22

Bug Fixes

  • Schema: Add missing bundle section "name" ba2d601

[v2.2.2] - 2020-09-15

Bug Fixes

  • ui5Framework.mergeTrees: Do not abort merge if a project has already been processed 264c353

[v2.2.1] - 2020-09-02

[v2.2.0] - 2020-08-11

Features

[v2.1.5] - 2020-07-14

Bug Fixes

  • Node.js API: TypeScript type definition support (#335) c610305

[v2.1.4] - 2020-05-29

Bug Fixes

  • ui5Framework: Allow providing exact prerelease versions (#326) 6ce985c

[v2.1.3] - 2020-05-14

[v2.1.2] - 2020-05-11

Bug Fixes

  • framework t8r: Allow use of specVersion 2.1 961847d

[v2.1.1] - 2020-05-11

Bug Fixes

  • Allow the use of specVersion 2.1 for projects a42172f

[v2.1.0] - 2020-05-05

Features

  • specVersion 2.1: Add support for "customConfiguration" (#308) 201aaab

[v2.0.4] - 2020-04-30

Bug Fixes

  • Workaround missing dependency info for OpenUI5 packages in version 1.77.x 3dfb812
  • Namespaces in API Reference (JSDoc) 3174d9f

[v2.0.3] - 2020-04-02

Bug Fixes

  • Schema: Add missing metadata properties 16894e1
  • package.json: Downgrade pacote from 11.1.4 to 9.5.12 c76fb49

[v2.0.2] - 2020-04-01

Bug Fixes

  • ui5Framework t8r: Resolve versionOverride string 4fffabe

[v2.0.1] - 2020-04-01

Bug Fixes

  • ui5Framework.mergeTrees: Do not process the same project multiple times 1377ec2

[v2.0.0] - 2020-03-31

Breaking Changes

Features

  • Add Configuration Schema (#274) eb961c3
  • Support for spec version 2.0 (#277) 770a56f
  • Add ui5Framework translator and resolvers (#265) 5183e5c
  • projectPreprocessor: Log warning when using a deprecated or restricted dependency (#268) b776a4f

BREAKING CHANGE

Support for older Node.js releases has been dropped. Only Node.js v10 or higher is supported.

[v1.2.0] - 2020-01-13

Features

[v1.1.1] - 2019-11-07

[v1.1.0] - 2019-07-11

Features

  • projectPreprocessor: Add handling for server-middleware extensions 2ce964c

[v1.0.3] - 2019-06-25

Bug Fixes

  • projectPreprocessor: Do not remove already removed dependencies (#189) 4600d63

[v1.0.2] - 2019-04-12

Bug Fixes

  • ProjectPreprocessor: Fix dependency resolution 0671a8b

Dependency Updates

[v1.0.1] - 2019-02-14

Bug Fixes

  • npm translator: Remove deduped optional dependencies from tree 3481154

Dependency Updates

[v1.0.0] - 2019-01-10

Breaking Changes

  • normalizer: Rename optional parameter "translator" 92321e0

Dependency Updates

Features

  • Add specification version 1.0 b0c02f6

BREAKING CHANGE

Renamed parameter "translator" of functions generateDependencyTree and generateProjectTree to "translatorName"

[v0.2.5] - 2018-12-19

Bug Fixes

  • npm translator: Deduplicate subtrees of pending dependencies 7e55ae3
  • npm translator: Fix handling of indirect dependency cycles c99d6d3

[v0.2.4] - 2018-12-17

Bug Fixes

  • npm t8r: Add deduplication of npm dependencies 2717088
  • projectPreprocessor: Ignore deduped modules 84f7b25

[v0.2.3] - 2018-11-20

Bug Fixes

  • npm t8r: Again, handle npm optionalDependencies correctly 9fd78dc

[v0.2.2] - 2018-11-17

Bug Fixes

  • npm t8r: Handle npm optionalDependencies correctly da707d7

Features

  • projectPreprocessor: Add handling for task extensions 0722865
  • projectPreprocessor: Allow application project dependency on non-root level b8a59d5

[v0.2.1] - 2018-10-29

Features

[v0.2.0] - 2018-07-11

[v0.1.0] - 2018-06-26

Bug Fixes

  • Fix some typos in log messages (#17) 1f2f2fd
  • npm translator: Fix endless loop in case of dependency cycles (#15) cf31112

v0.0.1 - 2018-06-06

Bug Fixes