Skip to content

Commit d77a878

Browse files
committed
feat: add the current app instance to the Request and Response object
1 parent 5965e86 commit d77a878

28 files changed

Lines changed: 160 additions & 30 deletions

examples/basic-app/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @h3ravel/example
22

3+
## 1.1.0
4+
5+
### Minor Changes
6+
7+
- feat: add the current app instance to the Request and Response object
8+
9+
### Patch Changes
10+
11+
- Updated dependencies
12+
- @h3ravel/router@1.4.0
13+
- @h3ravel/shared@0.12.0
14+
- @h3ravel/http@4.2.0
15+
- @h3ravel/config@1.0.8
16+
- @h3ravel/core@1.0.8
17+
- @h3ravel/cache@4.0.8
18+
- @h3ravel/console@4.0.8
19+
- @h3ravel/database@4.0.8
20+
- @h3ravel/mail@4.0.8
21+
- @h3ravel/queue@4.0.8
22+
323
## 1.0.6
424

525
### Patch Changes

examples/basic-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@h3ravel/example",
3-
"version": "1.0.6",
3+
"version": "1.1.0",
44
"description": "Example H3ravel App.",
55
"type": "module",
66
"main": "dist/index.js",

examples/basic-app/src/bootstrap/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default class {
1717
const serve = app.make('http.serve')
1818

1919
const kernel = new Kernel((event) => ({
20-
request: new Request(event),
21-
response: new Response(event)
20+
request: new Request(event, app),
21+
response: new Response(event, app)
2222
}), [new LogRequests()])
2323

2424
h3App.use((event) => kernel.handle(event, async () => undefined))

packages/cache/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @h3ravel/cache
22

3+
## 4.0.8
4+
5+
### Patch Changes
6+
7+
- @h3ravel/core@1.0.8
8+
39
## 4.0.7
410

511
### Patch Changes

packages/cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@h3ravel/cache",
3-
"version": "4.0.7",
3+
"version": "4.0.8",
44
"description": "Cache system with multiple drivers for H3ravel.",
55
"type": "module",
66
"main": "dist/index.js",

packages/config/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @h3ravel/config
22

3+
## 1.0.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @h3ravel/shared@0.12.0
9+
- @h3ravel/core@1.0.8
10+
- @h3ravel/support@0.7.1
11+
312
## 1.0.7
413

514
### Patch Changes

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@h3ravel/config",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Environment/config loading and management system for H3ravel.",
55
"type": "module",
66
"main": "dist/index.js",

packages/console/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @h3ravel/console
22

3+
## 4.0.8
4+
5+
### Patch Changes
6+
7+
- @h3ravel/core@1.0.8
8+
39
## 4.0.7
410

511
### Patch Changes

packages/console/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@h3ravel/console",
3-
"version": "4.0.7",
3+
"version": "4.0.8",
44
"description": "CLI utilities for scaffolding, running migrations, tasks and for H3ravel.",
55
"type": "module",
66
"main": "dist/index.js",

packages/core/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @h3ravel/core
22

3+
## 1.0.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @h3ravel/shared@0.12.0
9+
310
## 1.0.7
411

512
### Patch Changes

0 commit comments

Comments
 (0)