-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release/0.29.0 #1120
Merged
Merged
release/0.29.0 #1120
Conversation
This file contains 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
thescientist13
added
enhancement
Improve something existing (e.g. no docs, new APIs, etc)
documentation
Greenwood specific docs
Plugins
Greenwood Plugins
CLI
breaking
SSR
labels
Jun 29, 2023
* production SSR workers refactor WIP * initial draft refactoring for no Workers as part of serving SSR builds * decouple SSR module execution from Workers implementation * enable pre-compiled HTML for templates during SSR * ammed static router spec for execute-route-module * get SSR execution module from config * refactor executeRouteModule signature and fix all specs * update lit renderer per execute module refactoring * pre-bundle SSR entry points * refactor entry file to use runtime import.meta.url * use placholder for SSR page entry point path and replace at write with rollup * expand rollup and lit circular reference TODO comment * clean up console logs and track TODOs * update Renderer plugin docs
* create adapter plugin API * add docs for adapter plugin API
…#1138) * have SSR pages return text/html content type * add header test cases for adapter SSR pages
* create initial working version of a netlify adapter plugin * add test case for greeting API route adapter * add test case for SSR page output * README clarifications * add fragments API and HTTP method support from Netlify event * file output setup and zipping refactoring * auto-generate _redirects file based on pages and APIs * redirects should be rewrites instead * document recommended Netlify project configuration setup * document caveats * link to demonstration repo * document adapter netlify on custom plugins page * add netlify-cli as a dependency * Netlify CLI integration and clarifications * disable linting due to typescript version conflicts * clarify redirects and rewrites in README * update pathname handling for windows interop * add test coverage for SSR pages content type * README refresh
* initial implementation of a vercel adapter plugin * add test case for static build output * handle request and response properties * finishing touches to README.md * add to custom plugins docs page * link to edge runtime support issue in caveats sections * handle windows pathname interop
thescientist13
force-pushed
the
release/0.29.0
branch
from
August 12, 2023 16:03
a00a574
to
69a61ca
Compare
thescientist13
added
RFC
Proposal and changes to workflows, architecture, APIs, etc
feature
New feature or request
labels
Aug 12, 2023
…roperties (#1132) * support merging Response status property * support body on incoming requests * handle merging all custom response headers * lock down content-type headers in test cases * handle Response.statusText property * full response support clean and TODOs cleanup * update vercel adapter plugin specs for request and response handling * update netlify adapter plugin specs for request and response handling * add support for request.formData * add request.formData support to adapter plugins * variable name safe handler alias
… in adapter upload bundles (#1149)
…loader URLs (#1162) * gracefully handle bare specifiers when resolve custom loader URLs * handle bare specifiers from relative paths
… SSR page templates (#1155)
#1152) * custom imports for API routes and SSR pages and custom css import test cases * add test cases for import json plugin * all specs passing * refactor rollup id cleaning * import meta url refactoring * normalize bundled import meta URL paths for Windows * full bundling support for custom imports * update final TODO comments * leverage custom imports that can serve for meta import chunk vs asset bundling * refactor custom import detection for found assetUrls * add test case for bundling images with new URL * document new URL and import.meta.url pattern * clarify docs on new URL usage patterns and general content around assets * fix windows specs * callout support for isomorphic asset bundling in docs --------- Co-authored-by: Owen Buckley <owenbuckley@Owens-Air-2.fios-router.home>
…eader (#1160) * filter out content encoding header from proxy request resource * comment callout regarding devServer usage in non development scenarios * add test case
This was
linked to
issues
Oct 14, 2023
2 tasks
#1166) * update documentation around custom imports * update test case descriptions and add placeholder prerender typescript test case * update test case descriptions
* add support for SSR page loader with runtime request object * refactor static export from getFrontmatter to export const prerender * document loaders and prerendering for SSR routes * adopt and document constructor props pattern for SSR page data loading * update develop SSR test case for constructor props * remove desribe.only * refactor graphql plugin for ESM compat * add test case for experimental prerendering with custom .gql imports * upgrade website for breaking changes * update website documentation and graphql plugin package README * add test cases for adapter plugins and SSR constructor props * upgrade wcc to 0.9.0 * misc PR cleanup
3 tasks
* base path configuration support WIP * base path examples * refactor base configuraton within the graph * integrate base path into script, style and link tags * inegrate base path into graphql plugin * integrate base path into static router * all test cases passing * display base path in server URL terminal output * add base path documentation * handle route depths and base path in graphql resolvers * refactor graphql route depths and base path handling * add basic base path test cases for develop and serve commands * fix linting * remove describe.only * upgrade github pages docs with base path callout and configuration * add image tag example to manual base path prefixing in docs * add base path config serve based test cases * refactor test cases to use fetch * flesh out base path test cases for proxies, API routes, and SSR pages * refactor specs to use fetch * add base path support to adapter plugins * restore post rebase misses * have CLI serialize base path into all pages * document base path persistance * remove demo code
* add support for optimizing CSS :has pseudo-selector * add support for :is
…#1172) * Issue 1016: Initital attempt at using fetch over request * Issue-1016: Refactor IP to use localhost url * Issue-1016: Initial POST refactor to fetch * Issue-1016: Progress on removal of request * Issue-1016: Additional removal of request * Issue-1016: Finalize plugin tests * use response.text() * refactor init spec to fetch * all specs refactored to use fetch * refactoring all specs --------- Co-authored-by: Owen Buckley <owenbuckley13@gmail.com>
* release v0.29.0 blog post * add MDN links to URL and import.meta.url * add whats next section content * fix markdown snippet linting * minor grammar and phrasing revisions * PR feedback and revisions * final revisions * feature callouts and embed video example * final nits and grammar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Related Issues
text/html
content type #1138Request
/Response
properties #1132invalid URL
) #1161content-encoding
header) #11595.x
#1136:has
/:is
pseudo-selectors #1106fetch
instead ofrequest
#1016Summary of Changes
Content-Type
Request
/Response
propertiesnew URL
+import.meta.url
5.x
basePath
configuration optionAlpha Release Test Plan
I think to be safe given the level of refactoring, would like to at least make sure this get tested with a few key repos
The plan would be to test against the following projects / workflows as alpha releases are iterated upon:
npx
/init
TODOs
Adapter APIVercel AdapterNetlify AdapterRequest
/Response
instance properties #10485.x
#1136:has
/:is
pseudo-selectors #1106prerender
vs SSR vs CSR) #951 (nice to have)Templates / PagesQuestions / New Issues
N / A