You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/blog/release/v0-32-0.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Release - v0.32.0
3
-
abstract: Introducing our new AWS adapter plugin and adopting built-in TypeScript support.
3
+
abstract: Introducing our new AWS adapter plugin and making TypeScript support built-in to Greenwood.
4
4
published: 2025-4-12
5
5
coverImage: /assets/blog/acorn.webp
6
6
layout: blog
@@ -14,9 +14,9 @@ layout: blog
14
14
15
15
## What's New
16
16
17
-
Along with a round of bug fixes and miscellaneous enhancements, this new Greenwood release brings with it two big new features we are excited to share. We now have an official AWS Adapter for deploying dynamic pages and routes to Lambda functions, as well as now making our TypeScript plugin officially built-in; no more plugin needed anymore! There was also a small minimum version bump for NodeJS.
17
+
Along with a round of enhancements and bug fixes, this new Greenwood release brings with it two big new features we are excited to share. We now have an official AWS Adapter for deploying dynamic SSR pages and API routes to Lambda functions, as well as now making our TypeScript plugin officially built-in; no more plugin needed anymore to use TypeScript with Greenwood! There was also a small minimum version bump for NodeJS.
18
18
19
-
This release was also the by-product of some great feedback, support, and contributions from our community. In particular the built-in TypeScript support was very much a collaborative communication process that really helped to strengthen Greenwood as a project that can be a pragmatic and productive experience to develop with. We very much enjoyed the conversations we had around this topic and the end result we produced. Thank you so much to everyone who got involved with us for this release, it means a lot to use and it's great to see what you're building with Greenwood! 💚
19
+
This release was also the by-product of some great feedback, support, and contributions from our community. In particular the built-in TypeScript support was very much a collaborative process that really helped to strengthen Greenwood as a project that can be open to feedback and help it continue to grow as a productive experience to develop with. We very much enjoyed the conversations we had around this topic and the end result we produced. Thank you so much to everyone who got involved with us for this release, it means a lot to us and it's great to see what you're all building with Greenwood! 💚
20
20
21
21
> Please refer to the [release notes](https://github.com/ProjectEvergreen/greenwood/releases/tag/v0.32.0) for the complete changelog and overview of breaking changes.
22
22
@@ -32,7 +32,7 @@ export default {
32
32
};
33
33
```
34
34
35
-
Taking into consideration that there are many methods and options for deploying to AWS, this adapter plugin is primarily focused on generating consistent and predictable build output that can be complimented by some form of [**IaC (Infrastructure as Code)**](https://en.wikipedia.org/wiki/Infrastructure_as_code) or deployment tooling of your choice. The build output will look similar to Greenwood's own [standard build output](/docs/reference/appendix/#build-output) and will be available in the _.aws-output/_ folder at the root of your project.
35
+
Taking into consideration that there are many methods and options for deploying to AWS, this adapter plugin is primarily focused on generating consistent and predictable build output that can be complimented by some form of [**IaC (Infrastructure as Code)**](https://en.wikipedia.org/wiki/Infrastructure_as_code) or deployment tooling of your choice. The build output will look similar to Greenwood's own [standard build output](/docs/reference/appendix/#build-output) and will be available in the _.aws-output/_ folder at the root of your project after running the build command.
36
36
37
37
```shell
38
38
.aws-output/
@@ -53,10 +53,10 @@ Taking into consideration that there are many methods and options for deploying
53
53
products.route.js
54
54
```
55
55
56
-
For each of the folders in the _api/_ or _routes/_ directories, it would just be a matter of creating a zip file for each folder / route, or ideally pointing your IaC tooling to those output folders. For example, here is a simplified example from our [**SST**](https://sst.dev/) example repo:
56
+
For each of the folders in the _api/_ or _routes/_ directories, it would just be a matter of creating a zip file for each folder / route and uploading those, or ideally pointing your IaC tooling to those output folders. For example, here is a simplified example from our [**SST**](https://sst.dev/) example:
57
57
58
58
```ts
59
-
// 1) Configure SSR pages and API routes in API Gateway
59
+
// 1) Configure an API Gateway for routing SSR pages and API routes
60
60
const api =newsst.aws.ApiGatewayV2("MyApi");
61
61
62
62
// products page
@@ -79,7 +79,7 @@ const frontend = new sst.aws.StaticSite("MyStaticSite", {
79
79
},
80
80
})
81
81
82
-
// 3) Configure CloudFront router with SSR pages, API routes, and static content
82
+
// 3) Configure a CloudFront distribution with behaviors for SSR pages, API routes, and static content
83
83
const router =newsst.aws.Router("MyRouter", {
84
84
routes: {
85
85
"/api/*": api.url,
@@ -95,7 +95,7 @@ const router = new sst.aws.Router("MyRouter", {
95
95
invalidation: true,
96
96
});
97
97
98
-
// 4) Configure SST app
98
+
// 4) Configure the SST app
99
99
exportdefault$config({
100
100
app(input) {
101
101
return {
@@ -115,7 +115,7 @@ export default $config({
115
115
116
116
## Built-in TypeScript Support
117
117
118
-
With this release, Greenwood now provides built-in support for TypeScript, with the ability to fallback to using `tsc` if certain TypeScript features you're using (like Decorators, [enums, namespaces, etc](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/#the---erasablesyntaxonly-option)) are not supported through just type stripping alone. This was motivated due to [NodeJS version `>= 22.6.0`](https://nodejs.org/en/learn/typescript/run-natively) now making type stripping available by using the `--experimental-strip-types` flag. This also means you can remove Greenwood's [TypeScript plugin](https://greenwoodjs.dev/docs/plugins/typescript/) as it is has been deprecated with this release.
118
+
With this release, Greenwood now provides built-in support for TypeScript, with the ability to fallback to using `tsc` if certain TypeScript features you're using (like Decorators, [enums, namespaces, etc](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/#the---erasablesyntaxonly-option)) are not supported through just type stripping alone. This was motivated due to [NodeJS version `>= 22.6.0`](https://nodejs.org/en/learn/typescript/run-natively) now making type stripping available through the `--experimental-strip-types` flag. This also means you can remove Greenwood's [TypeScript plugin](https://greenwoodjs.dev/docs/plugins/typescript/) as it is has been deprecated with this release.
0 commit comments