Update preact-compat: 3.18.4 → 3.19.0 (minor)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ preact-compat (3.18.4 → 3.19.0) · Repo
Release Notes
3.19.0
🚨 Reminder: This module is for Preact 8.x and prior - Preact X includes compat by default.
For Preact X, please uninstallpreact-compatand replace your aliases withpreact/compat.
- adds support for
createContext(), courtesy of preact-context (#529, thanks @probablyup!)
3.18.5
Reminder:
preact-compatshould never be used with Preact X.
preact-compatshould never be used with Preact X. Doing so will have unintended consequences including the pollution ofObject.prototype(example).This release of preact-compat changes
peerDependenciesto warn when installing alongside Preact 10+. You can (and should) continue to usepreact-compatin conjunction with Preact 8 and prior.If you're having trouble finding references to
preact-compatin your codebase, try using a Webpack alias:resolve: { alias: { 'preact-compat': 'preact/compat' } }Other things in this release:
- Automatic browserify NODE_ENV support (#510, thanks @evandeininger)
- Export
createRef()(added in Preact 8.4)- Export
hydrate()alias
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 13 commits:
3.19.0Unbundled preact-contextAdd createContext (#529)3.18.5Disable preact-compat with preact 10+ (#527)Add note about Preact X (#522)Use node 10 for Travis (#523)Add hydrate alias (#492)Merge pull request #496 from developit/feature/create-refMerge branch 'master' into feature/create-refAdding Aliasify global transform options (#510)Merge pull request #505 from flxwu/patch-1Update README.md
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)