This repository has been archived by the owner on Oct 3, 2021. It is now read-only.
[major] react 17 and other major dependency upgrades #347
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:
10.1.1
->11.0.0
10.0.27
->11.0.0
1.17.4
->2.3.0
25.2.3
->26.0.20
16.14.2
->17.0.0
16.9.10
->17.0.0
5.0.16
->6.1.0
16.9.4
->17.0.0
2.34.0
->4.14.0
2.34.0
->4.14.0
24.9.0
->26.6.3
5.6.0
->6.2.1
6.8.0
->7.18.0
6.15.0
->7.1.0
2.5.1
->4.2.0
7.24.0
->8.2.3
10.0.32
->11.0.0
16.14.0
->17.0.1
16.14.0
->17.0.1
3.4.4
->4.0.1
16.14.0
->17.0.1
0.0.75
->1.1.13
3.9.7
->4.1.3
3.9.0
->4.3.0
Release Notes
emotion-js/emotion
v11.0.0
Compare Source
Major Changes
b8476e08
#1675 Thanks @mitchellhamilton! - Renamejest-emotion
to@emotion/jest
. Please replace"snapshotSerializers": ["jest-emotion"]
with"snapshotSerializers": ["@​emotion/jest/serializer"]
if you're using the snapshot serializer. Also replace any imports ofjest-emotion
with@emotion/jest
or use the@emotion/pkg-renaming
ESLint rule from@emotion/eslint-plugin
.ionic-team/stencil
v2.3.0
Compare Source
Features
Bug Fixes
v2.2.0
Compare Source
Bug Fixes
Features
🍗 2.1.2 (2020-10-26)
Bug Fixes
🎂 2.1.1 (2020-10-23)
Bug Fixes
v2.1.2
Compare Source
Bug Fixes
v2.1.1
Compare Source
Bug Fixes
v2.1.0
Compare 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.3
Compare Source
Bug Fixes
Features
v2.0.2
Compare Source
Bug Fixes
v2.0.1
Compare Source
Bug Fixes
Features
v2.0.0
Compare Source
In keeping with Semver, Stencil
2.0.0
was 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
extras
config 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
async
task 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.js
extension for CommonJS files, and.js
for 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.mjs
files, but not all of today's tooling and bundlers work well with that extension).If you're using the
dist
output target, update thepackage.json
in the root of your project, like this:Additionally the
dist/loader
output directory has renamed its extensions too, but since itsdist/loader/package.json
file 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:dependency
of@stencil/core
, so not having TypeScript as a dependency of@stencil/core
simplifies the dependency graph for end-users and libraries.Removal of Deprecated APIs
Removal of
Context
The
Context
object was originally added in the0.x.x
versions 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.0
to 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)typescript-eslint/typescript-eslint
v4.14.0
Compare Source
Features
object-curly-spacing
rule (#2892) (32bd18d)v4.13.0
Compare Source
Bug Fixes
Features
v4.12.0
Compare Source
Bug Fixes
Features
sort-type-union-intersection-members
(#2913) (9092c04)4.11.1 (2020-12-28)
Bug Fixes
v4.11.1
Compare Source
Bug Fixes
v4.11.0
Compare Source
Bug Fixes
Features
v4.10.0
Compare Source
Bug Fixes
method
andproperty
meta selectors (#2856) (9a6c362)Features
non-nullable-type-assertion-style
(#2624) (7eee44f)4.9.1 (2020-12-07)
Bug Fixes
v4.9.1
Compare Source
Bug Fixes
Renovate configuration
📅 Schedule: "before 3am on the first day of the month" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.