Skip to content

Commit d1676d5

Browse files
committed
Add upgrading instructions for the upcoming version
1 parent 09eabe2 commit d1676d5

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

UPGRADING.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Upgrading to version 0.5.x
2+
This version includes a new migration to improve recurring tasks. To install it, just run:
3+
4+
```bash
5+
$ bin/rails solid_queue:install:migrations
6+
```
7+
8+
Or, if you're using a different database for Solid Queue:
9+
10+
```bash
11+
$ bin/rails solid_queue:install:migrations DATABASE=<the_name_of_your_solid_queue_db>
12+
```
13+
14+
And then run the migrations.
15+
16+
117
# Upgrading to version 0.4.x
218
This version introduced an _async_ mode to run the supervisor and have all workers and dispatchers run as part of the same process as the supervisor, instead of separate, forked, processes. Together with this, we introduced some changes in how the supervisor is started. Prior this change, you could choose whether you wanted to run workers, dispatchers or both, by starting Solid Queue as `solid_queue:work` or `solid_queue:dispatch`. From version 0.4.0, the only option available is:
319

@@ -26,7 +42,6 @@ the supervisor will run 1 dispatcher and no workers.
2642
2743
2844
# Upgrading to version 0.3.x
29-
3045
This version introduced support for [recurring (cron-style) jobs](https://github.com/rails/solid_queue/blob/main/README.md#recurring-tasks), and it needs a new DB migration for it. To install it, just run:
3146
3247
```bash

0 commit comments

Comments
 (0)