new-issue
new-issue copied to clipboard
Upgrade preact-render-to-string: 4.1.0 → 5.0.6 (major)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ preact-render-to-string (4.1.0 → 5.0.6) · Repo
Release Notes
5.0.6
- Fix each text node printed on a separate line. Adjacent text nodes are now combined together as a single text block. Note that you may need to update your snapshot tests if you're using
preact-render-to-stringwith jest.
5.0.0
Support for Preact 10+.
This release contains only the backwards-incompatible changes necessary to move to Preact's new VNode format.
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 40 commits:
Release 5.0.6Join adjacent text nodes (#109)Fix build tools deprecation warnings (#110)Fix eslint warningFix mocha compilers deprecation warningRelease 5.0.5 (#107)Merge pull request #106 from preactjs/pretty_renderFix pretty option doing nothingMerge pull request #83 from 9renpoto/fix/typesfix(tsconfig) remove unused optionsfixed jsxFactoryfix(tsconfig) use react jsxAdded type definition tests[TS] Make options optional (#101)Release 5.0.4 (#98)Fix options.render is private in core (#97)Wrap arrays in Fragment to allow proper rendering (#96)Release 5.0.3 (#91)Switch from mjs -> js (#89)Support createContext of preact x (#88)Add test for nested ProviderSupport falsy context valueSupport createContext of preact xAllow preact x beta as peer dep (#87)Merge pull request #85 from developit/fix_select_valueUse loose equality check for select valueFix select value not passed through componentsPass select value as arg instead of via contextFix select value not marking option as selectedRelease 5.0.2Add support for Fragments (#79)Resolve crash when using hooks (#77)5.0.01preserve component<->vnode linkage properties when instantiating class componentsFix wrong value for useContextAdd basic support for hooksRun tests on latest node LTS 10.x (#75)remove commented out code5.0.0: move to preact 10[WIP] Update for Preact 10 (#70)
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)