-
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
v0.28.0 release blog post #1086
v0.28.0 release blog post #1086
Conversation
www/pages/blog/release/v0-28-0.md
Outdated
|
||
## What's Next | ||
|
||
In addition to the above mentioned features, this release also lays the ground work for our foray into [Serverless and Edge runtime support](https://github.com/ProjectEvergreen/greenwood/issues/1008). Anticipated for our next release, Greenwood will be able to fully embrace running beyond the server with hosting providers like Netlify and Vercel all while benefiting from the capabilities of fully embracing web standards. We [see this trend becoming more ubiquitous](https://wintercg.org/) as more and more hosting providers coalesce around these standards too, so now is a great time to get started! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @thescientist13, I didn't notice any other spelling mistakes but perhaps we can improve 134 to become less wordy:
"In anticipation of our next release, Greenwood will be able to fully embrace running beyond the server with hosting providers such as Netlify and Vercel, all while benefiting from the capabilities of fully adhering to web standards"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, yeah, I would see tweaking this a bit. Gotta pump up that FOMO!
www/pages/blog/release/v0-28-0.md
Outdated
|
||
### Node 18 | ||
|
||
With this release, Greenwood has set the minium version of NodeJS to 18. This NodeJS release is especially profound to us as it brings with it (amongst other things) native support for the [**Fetch API**](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). You can now use `fetch` directly in your server side code like our SSR pages! 💯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minimum
www/pages/blog/release/v0-28-0.md
Outdated
|
||
This was especially beneficial to our [Resource Plugin API](/plugins/resource/) as it was already modeling this request / response behavior anyway, and so it was a natural fit to adopt these APIs. To give an idea of this transformation, here is a before snippet of Greenwood's internal plugin for handling CSS. | ||
```js | ||
// eslint-disable-next-line no-unused-vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eslint ignore rules should go outside the post as HTML comments, otherwise they show up in the code snippets
www/pages/blog/release/v0-28-0.md
Outdated
|
||
And here is what it looks like now, exclusively based on Web APIs. Nothing ad-hoc anymore! ✨ | ||
```js | ||
// eslint-disable-next-line no-unused-vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same thing: eslint ignore rules
www/pages/blog/release/v0-28-0.md
Outdated
const body = await fs.promises.readFile(url, 'utf-8'); | ||
|
||
return new Response(body, { | ||
headers: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example should use new Headers
204d13a
to
eccba35
Compare
* v0.28.0 release blog post * PR feedback * PR feedback * grammar
* v0.28.0 release blog post * PR feedback * PR feedback * grammar
Related Issue
#1034
Summary of Changes
TODO