Skip to content

Commit adb22a3

Browse files
committed
Update UPGRADING.md
1 parent 680cc37 commit adb22a3

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

UPGRADING.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,40 @@
11
# From 3.x to 4.x
22

3-
## New task internal metadata (Impact: high)
3+
## Renamed environment names (Impact: high)
4+
5+
The following environment variables have been shortened:
6+
- `STACKKIT_CLOUD_TASKS_PROJECT``CLOUD_TASKS_PROJECT`
7+
- `STACKKIT_CLOUD_TASKS_LOCATION``CLOUD_TASKS_LOCATION`
8+
- `STACKKIT_CLOUD_TASKS_QUEUE``CLOUD_TASKS_QUEUE`
9+
- `STACKKIT_CLOUD_TASKS_HANDLER``CLOUD_TASKS_HANDLER`
10+
- `STACKKIT_CLOUD_TASKS_SERVICE_EMAIL``CLOUD_TASKS_SERVICE_EMAIL`
11+
12+
The following environment variables have been renamed to be more consistent:
13+
14+
- `STACKKIT_APP_ENGINE_TASK``CLOUD_TASKS_APP_ENGINE_TASK`
15+
- `STACKKIT_APP_ENGINE_SERVICE``CLOUD_TASKS_APP_ENGINE_SERVICE`
16+
17+
The following environment variable has been removed:
18+
- `STACKKIT_CLOUD_TASKS_SIGNED_AUDIENCE`
19+
20+
## Removed dashboard (Impact: high)
21+
22+
The dashboard has been removed to keep the package minimal. A separate composer package might be created with an updated version of the dashboard.
23+
24+
## New configuration file (Impact: medium)
25+
26+
The configuration file has been updated to reflect the removed dashboard and to add new configurable options.
27+
28+
Please publish the new configuration file:
29+
30+
```shell
31+
php artisan vendor:publish --tag=cloud-tasks --force
32+
```
33+
34+
## Dispatch deadline (Impact: medium)
35+
36+
The `dispatch_deadline` has been removed from the task configuration. You may now use Laravel's timeout configuration to control the maximum execution time of a task.
437

5-
The task internal metadata has been enriched with `queue`, `taskName`, `connection` and `securityKey`.
6-
Existing tasks in the queue cannot be processed because they are missing these fields.
7-
Please ensure that all tasks in the queue are processed before upgrading to 4.x.
838

939
# From 2.x to 3.x
1040

0 commit comments

Comments
 (0)