Merged
Conversation
7654eb9 to
cd6bf75
Compare
cd6bf75 to
ecdf2ec
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
wmr@2.0.0
Major Changes
7561dc7#576 Thanks @marvinhagemeister! - Rework prerendering API for tags indocument.head. Previously the API is based on a subset of the actualdocument.headobject. But in supplying adocumentglobal we rendered third party library checks invalid which usually use a variant oftypeof document === "undefined"to determine if they're in a server environment or not. Since every library uses a different subset of the DOM API, it's impossible to support everyone. Instead using the server code paths of those libraries is a much more reliable approach.Any tags that should land in
document.headcan be added to the return value of theprerenderfunction:Minor Changes
c10f534#585 Thanks @JoviDeCroock! - Support injecting prerender data by returning adatakey from the prerender functionbb77f83#574 Thanks @marvinhagemeister! - Add --debug flag as an alternative to DEBUG=true. It's easier on windows to pass a flag than to set an environment variable6e3bac1#529 Thanks @marvinhagemeister! - Add defineConfig helper for better intellisense in config filesPatch Changes
ba2e29f#575 Thanks @marvinhagemeister! - Don't attempt to prerender external script urls79496a3#590 Thanks @marvinhagemeister! - Fix deeply nested CSS class not being hashed480d3b5#578 Thanks @rschristian! - Instead of deleting the build output folder, it is instead emptied, allowing references to it to remain intact.01c4501#569 Thanks @marvinhagemeister! - Allow plugins to pick any specifier for virtual modulescreate-wmr@0.3.4
Patch Changes
56a5492#584 Thanks @marvinhagemeister! - Switch from preact-iso subpackage imports to main import096e6a8#579 Thanks @rschristian! - Bumping wmr template deps1183a41#583 Thanks @marvinhagemeister! - Use Route components in create template to make it easier for potential TypeScript users