Skip to content

Commit

Permalink
Version Packages (#408)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed May 3, 2024
1 parent b191ba3 commit ee57945
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 39 deletions.
38 changes: 0 additions & 38 deletions .changeset/rotten-trees-kiss.md

This file was deleted.

39 changes: 39 additions & 0 deletions packages/open-next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# open-next

## 3.0.0

### Major Changes

- b191ba3: OpenNext V3

This is the V3 of OpenNext. It includes some breaking changes and cannot be used as a drop-in replacement for V2. If your IAC is using OpenNext V2, you will need to update it to use V3.

If you are using OpenNext V2, please refer to the [migration guide](https://open-next.js.org/migration#from-opennext-v2) to upgrade to V3.

### New Features

- Add support for function splitting
- Add support for external middleware
- Custom config file support : `open-next.config.ts`
- Support for other deployment targets than lambda (Node.js, Docker and partial support for Cloudflare Workers)
- Allow for customizing the outputs bundle :
- Wrapper
- Converter
- Incremental Cache (Fetch cache and HTML/JSON/RSC cache)
- Tag Cache
- Queue (Used to trigger ISR revalidation)
- Origin Resolver (Only for external middleware)
- Image Loader (Only for image optimization)
- Invoke function (For the warmer function)
- Create an `open-next.output.json` file for easier integration with IAC tools

### Breaking Changes

- Edge runtime don't work out of the box anymore. You need to deploy them on a separate function see [the config for more info](https://open-next.js.org/config)
- Output directory structure has changed to support function splitting
- Removed build arguments in favor of `open-next.config.ts`

### Internal Changes

- Use OpenNextNodeResponse instead of ServerResponse (It uses transform stream to properly handle the stream)
- Big refactor of the codebase to support function splitting
- Added new plugins to support the new features and make the codebase more modular

## 2.3.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/open-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"access": "public"
},
"name": "open-next",
"version": "2.3.9",
"version": "3.0.0",
"bin": {
"open-next": "./dist/index.js"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/tests-unit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

### Patch Changes

- Updated dependencies [b191ba3]
- open-next@3.0.0

## null

### Patch Changes

- Updated dependencies [5c80192]
- Updated dependencies [2118ba2]
- Updated dependencies [6a3c69a]
Expand Down

0 comments on commit ee57945

Please sign in to comment.