Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix locator resource pool #717

Closed
wants to merge 42 commits into from
Closed

fix locator resource pool #717

wants to merge 42 commits into from

Conversation

flovogt
Copy link
Member

@flovogt flovogt commented Mar 8, 2022

  • [INTERNAL] Enable CI for branches next, main
  • [INTERNAL] Bump @ui5/logger from 2.0.1 to 3.0.0-next.0
  • [FIX] Bundler: Sort raw modules by default
  • [INTERNAL] Enhance replaceVersion task to handle ${project.version} pattern
  • [INTERNAL] Enable buildThemes for libraries without .library
  • In-range update of npm dependencies
  • [INTERNAL] Bump @ui5/logger from 3.0.0-next.0 to 3.0.0-alpha.0
  • [INTERNAL] Bump @ui5/fs from 2.0.6 to 3.0.0-alpha.0
  • Release 3.0.0-alpha.0
  • [INTERNAL] Bump @ui5/logger from 3.0.0-alpha.0 to 3.0.1-alpha.0
  • [INTERNAL] Bump @ui5/fs from 3.0.0-alpha.0 to 3.0.0-alpha.1
  • [FEATURE] Add minify task and processor ([FEATURE] Add minify task and processor #666)
  • In-range update of npm dependencies
  • In-range update of npm dependencies
  • [INTERNAL] Align JSdoc generation with npm 8 workspace setup
  • [FIX] generateResourcesJson: Analyze debug bundles ([FIX] generateResourcesJson: Analyze debug bundles #669)
  • [BREAKING] moduleBundler: Always default to optimize: true ([BREAKING] moduleBundler: Always default to optimize: true #685)
  • [INTERNAL] Fix tests failing in npm workspace environment
  • [INTERNAL] minify: Omit .js.map from build results
  • [FIX] generateResourcesJson: Don't list resources omitted from build result
  • [INTERNAL] Update tests
  • [BREAKING] generateResourcesJson: Make 'dependencies' parameter mandatory
  • In-range update of npm dependencies
  • [BREAKING] Require Node.js >= 16.13.2 / npm >= 8
  • [INTERNAL] Upgrade ESlint / Use ES2021
  • [FEATURE] Support ES2021 language features
  • [FIX] Bundler: Ensure reproducibility for bundles with multiple parts ([FIX] Bundler: Ensure reproducibility for bundles with multiple parts #689)
  • In-range update of npm dependencies
  • [INTERNAL] Bump @ui5/logger from 3.0.1-alpha.0 to 3.0.1-alpha.1
  • [INTERNAL] Bump @ui5/fs from 3.0.0-alpha.1 to 3.0.0-alpha.2
  • Release 3.0.0-alpha.1
  • [INTERNAL] npm release: Add missing CHANGELOG file
  • [FEATURE] replaceVersion/Copyright: Also process test-resources ([FEATURE] replaceVersion/Copyright: Also process test-resources #693)
  • [INTERNAL] Upgrade espree to v9.3.1
  • [FEATURE] Generate source maps for bundles ([FEATURE] Generate source maps for bundles #695)
  • In-range update of npm dependencies
  • [FIX] XMLTemplateAnalyzer: Analyze core:require of FragmentDefinition
  • [INTERNAL] Remove unused expected build results
  • [INTERNAL] git-chglog: Fix mutli-release-branch setup
  • [INTERNAL] generateFlexChangesBundle: Fix minUI5Version check for UI5 v1.100.0+
  • Release 3.0.0-alpha.2
  • [FIX] LocatorResourcePool wait for resources in prepare step

RandomByte and others added 30 commits November 24, 2021 11:19
Unlike the documentation states, topological sorting of modules within
'raw' sections was not enabled by default.

Sorting is based on dependencies only, so enabling it by default should
only solve issues in case dependencies are declared but sort was not
enabled.
If no dependencies are defined, the order will not change.

This could only break use cases where dependencies have been wrongly
declared and a user relies on the current unsorted order.
…attern

Ensures that the build task "replaceVersion" replaces
the pattern ${project.version} equally to ${version}.

JIRA: CPOUI5FOUNDATION-423
Fixes that libraries using a "library.js" file but no ".library"
file can also build theming files.
Combines debug-file creation, source-map generation and minification.
Replaces existing tasks/processors 'uglify' and 'createDebugFiles'.

Also introduce new global tags `IsDebugVariant` and `HasDebugVariant`.

BREAKING CHANGE:
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.
bundleOptions are often omitted. So document them as optional and always
default 'optimize' to true, even if bundleOptions are specified.
Source maps are currently only required during the build process
(e.g. for creating source maps of bundles) but not as build output.
Therefore they will be omitted from the build result.
…result

Resources that are tagged to be omitted from the build result should not
be listed in the resources.json as it should represent a listing of
files that are part of the build output.
Resources of dependencies should also not be used for dependency lookups
if they are omitted from the results as they also won't be listed in the
resources.json of that dependency.
BREAKING CHANGE:
Support for older Node.js and npm releases has been dropped.
Only Node.js v16.13.2 and npm v8 or higher are supported.
By upgrading espree to the latest version, ES2021 language features
are now supported.
…#689)

Sort modules in preload sections alphabetically.
This caused different bundle contents based on the order of modules that
the resolver provides, which is not deterministic.

Remove terser from size estimation as modules are now already optimized
if the 'optimize' bundle option is enabled.
This caused incorrect estimations about the bundle size which resulted
into size differences of the individual parts.
matz3 and others added 12 commits January 25, 2022 10:40
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
Resolves SAP/ui5-tooling#472
Supersedes #282
Based on SAP/ui5-tooling#583
JIRA: CPOUI5FOUNDATION-434

Co-authored-by: Matthias Osswald <mat.osswald@sap.com>
The FragmentDefinition node should be skipped, but it may still contain
a core:require definition.
This is in line with the current runtime which also reads the require
and loads the module.
Folders have been added by mistake and are not used by any test.
* Always sort by semver instead of date to fix changelog generation when different branches are tagged at intersecting times
* For release notes on the current next branch, ignore any tags <=v2 to ensure that we always compare to a v3 tag
  (sorting by semver doesn't seem to work here)
@flovogt flovogt closed this Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants