Skip to content

Commit

Permalink
chore: v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Dec 30, 2024
1 parent bb6d38c commit e75110f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## v6.0.0-dev.1
## v6.0.0

Automatic adaptation allows platform.
**Migration guide**: [https://spry.fun/migration](https://spry.fun/migration#spry-5-to-spry-6)

### What's Changed

- refactor: remove group router (The `app.group`/`app.grouped`).
- refactor: rename `app.stack` to `app.middleware`.
- refactor: remove `useRequest()`, now use `event.request`.
- refactor: remove `useHeaders()`, now use `event.headers`/`event.request.headers`.
- refactor: remove `getClientAddress()`, now use `event.address`.
- refactor: remove `useRequestURI()`, now use `event.url`.
- refactor: remove `useParams()`, now use `event.params`.
- refactor: rename factory `Response.text()` to `Response.fromString()`.
- refactor: rename factory `Response.json()` to `Response.fromJson()`.
- refactor: remove all adapter, now is cross-platform.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ main() {
}
```

👉 [**Learn more about Spry at documentation website.**](https://spry.fun)
👉 [**Learn more about Spry at documentation website.**](https://spry.fun/getting-started)

## Sponsors

Expand Down
11 changes: 10 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
name: spry
description: Spry is a lightweight, composable Dart web framework designed to work collaboratively with various runtime platforms.
version: 6.0.0-dev.1
version: 6.0.0
homepage: https://spry.fun
repository: https://github.com/medz/spry
funding:
- https://github.com/sponsors/medz
- https://opencollective.com/openodroe
topics:
- http
- server
- web
- request
- response

environment:
sdk: ^3.5.0
Expand Down

0 comments on commit e75110f

Please sign in to comment.