chore(deps): update dependency @stencil/core to v2#114
Closed
renovate[bot] wants to merge 1 commit intomasterfrom
Closed
chore(deps): update dependency @stencil/core to v2#114renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
0a3dee3 to
53032c7
Compare
53032c7 to
ab6c42e
Compare
ab6c42e to
444abd9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.17.2->2.3.0Release Notes
ionic-team/stencil
v2.3.0Compare Source
Features
Bug Fixes
v2.2.0Compare Source
Bug Fixes
Features
🍗 2.1.2 (2020-10-26)
Bug Fixes
🎂 2.1.1 (2020-10-23)
Bug Fixes
v2.1.2Compare Source
Bug Fixes
v2.1.1Compare Source
Bug Fixes
v2.1.0Compare Source
Features
TypeScript 4.0.3
Rollup 2.32.0
Terser 5.3.7
Jest 26.6.0
Puppeteer 5.3.1
Open 7.3.0
Node Fetch 2.6.1
prerender: hash assets and add version querystring (e20c284)
prerender: hash assets in page.state static content (baeb842)
prerender: add buildId, hydrate externals, DOMContentLoaded (4d49c63)
prerender: server-side only bundle modules w/ .server directory (d8fcb60)
prerender: write page.state.json data from hydrat
add setErrorHandler() (#2704) (5d2780a)
docs-custom: add config argument (#2696) (d285879)
sys: add encoding option to readFile (99ef518)
sys: add sys.generateFileHash() for more efficient file hashing (d762c6d)
dev-server: add ssr option for dev server for prerending dev (2574094)
e2e: e2e timeout configurable (8b69731), closes #2662
nodeRequire: export nodeRequire utility from compiler (10ea2fb)e builds (a2c93f6)
Bug Fixes
🍮 2.0.3 (2020-09-03)
Bug Fixes
Features
🐡 2.0.2 (2020-09-02)
Bug Fixes
👽 2.0.1 (2020-08-31)
Bug Fixes
Features
v2.0.3Compare Source
Bug Fixes
Features
v2.0.2Compare Source
Bug Fixes
v2.0.1Compare Source
Bug Fixes
Features
v2.0.0Compare Source
In keeping with Semver, Stencil
2.0.0was released due to changes in the API (mainly from some updates to the config API). But even though this is a new major version, there are few breaking changes, and any changes will be flagged and described by the compiler during development. For the most part, most of the changes are removal of deprecated APIs that have been printing out warning logs for quite some time now.Opt-in for IE11, Edge 16-18 and Safari 10 Builds
A change in Stencil 2 is that the IE11, Edge 16-18 and Safari 10 builds will not be enabled by default. However, the ability to opt-in is still available, and can be enabled by setting each
extrasconfig flag totrue. An advantage of this is less runtime within your builds. See the config.extras docs for more info.Opt-in for ES5 and SystemJS Builds
Just like having to opt-in for IE11, the same goes for opting-in for ES5 and SystemJS builds. For a production build in Stencil 1, it would build both ES2017/ESM files, and ES5/SystemJS files. As of Stencil 2, both dev and prod builds do not create ES5/SystemJS builds. An advantage of this is having faster production builds by not having to also downlevel to es5. See the buildEs5 for more info.
Use
disconnectedCallback()instead ofcomponentDidUnload()When Stencil is used within other frameworks, DOM elements may be reused, making it impossible for
componentDidUnload()to be accurate 100% of the time if it is disconnected, then re-connected, and disconnected again. Instead,disconnectedCallback()is the preferred way to always know if a component was disconnected from the DOM.Note that the runtime still works for any collections that have been built with componentDidUnload(). However, updates to Stencil 2 will require it's changed to disconnectedCallback().
Default to
asynctask queueUpdate taskQueue default to "async". Stencil 1 default was "congestionAsync". See config.taskQueue for more info.
Restore Stencil 1 defaults
dist package.json
To ensure the extensions are built for the future and work with today's bundlers, we've found it best to use
.cjs.jsextension for CommonJS files, and.jsfor ESM files, with the idea that cjs files will no longer be needed some day, and the ESM files are the standard. (We were using.mjsfiles, but not all of today's tooling and bundlers work well with that extension).If you're using the
distoutput target, update thepackage.jsonin the root of your project, like this:{ - "main": "dist/index.js", + "main": "dist/index.cjs.js", - "module": "dist/index.mjs", + "module": "dist/index.js", - "es2015": "dist/esm/index.mjs", + "es2015": "dist/esm/index.js", - "es2017": "dist/esm/index.mjs", + "es2017": "dist/esm/index.js", - "jsnext:main": "dist/esm/index.mjs", + "jsnext:main": "dist/esm/index.js", }Additionally the
dist/loaderoutput directory has renamed its extensions too, but since itsdist/loader/package.jsonfile is auto-generated, the entries were renamed too. So unless you were referencing the loader files directly you will not have to do external updates.See the Output Folder Structure Defaults for more info.
NodeJS Update
With the major release, now's a good time to update the minimum and recommended version of NodeJS.
TypeScript 4
The other change is the update to TypeScript 4. With Stencil 2, TypeScript will no longer be a
dependency, but instead included within the Stencil compiler. There are a few advantages to this we'll be experimenting with:dependencyof@stencil/core, so not having TypeScript as a dependency of@stencil/coresimplifies the dependency graph for end-users and libraries.Removal of Deprecated APIs
Removal of
ContextThe
Contextobject was originally added in the0.x.xversions of Stencil, before ES Modules were widely adopted. Since then we've deprecated it in Stencil 1, and have ported any external libraries off of it. The remaining one was@stencil/redux, and we've released0.2.0to be used with Stencil 2 (and can also work with Stencil 1). Additionally, now might be a good time to look into using @stencil/store instead.Bug Fixes
Features
⛱ 1.17.3 (2020-08-04)
Bug Fixes
☎️ 1.17.2 (2020-07-28)
Bug Fixes
🐚 1.17.1 (2020-07-26)
Bug Fixes
@rollup/plugin-commonjs(#2589) (be1bdd1)v1.17.4Compare Source
Bug Fixes
v1.17.3Compare Source
Bug Fixes
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.