Skip to content
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

Merged
merged 4 commits into from
Apr 9, 2023

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented Apr 1, 2023

Related Issue

#1034

Summary of Changes

  1. Release blog post for v0.28.0

TODO

  1. PR feedback
  2. Find another image besides NodeJS logo?

@thescientist13 thescientist13 mentioned this pull request Apr 1, 2023
22 tasks

## 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!

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"

Copy link
Member Author

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!


### 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! 💯
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimum


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
Copy link
Member Author

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


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
Copy link
Member Author

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

const body = await fs.promises.readFile(url, 'utf-8');

return new Response(body, {
headers: {
Copy link
Member Author

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

@thescientist13 thescientist13 force-pushed the content/release-v0.28.0-blog-post branch from 204d13a to eccba35 Compare April 9, 2023 01:19
@thescientist13 thescientist13 merged commit 5d31fe3 into release/0.28.0 Apr 9, 2023
@thescientist13 thescientist13 deleted the content/release-v0.28.0-blog-post branch April 9, 2023 01:27
thescientist13 added a commit that referenced this pull request Apr 9, 2023
* v0.28.0 release blog post

* PR feedback

* PR feedback

* grammar
thescientist13 added a commit that referenced this pull request Apr 9, 2023
* v0.28.0 release blog post

* PR feedback

* PR feedback

* grammar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants