que 1.3.0 → 2.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +16 -8
- data/.ruby-version +1 -0
- data/CHANGELOG.md +415 -527
- data/Dockerfile +1 -1
- data/README.md +8 -8
- data/bin/command_line_interface.rb +4 -5
- data/docker-compose.yml +3 -2
- data/docs/README.md +9 -10
- data/lib/que/active_job/extensions.rb +46 -29
- data/lib/que/active_record/model.rb +2 -2
- data/lib/que/job.rb +14 -32
- data/lib/que/job_buffer.rb +1 -10
- data/lib/que/job_methods.rb +6 -2
- data/lib/que/locker.rb +0 -4
- data/lib/que/migrations/6/down.sql +8 -0
- data/lib/que/migrations/6/up.sql +8 -0
- data/lib/que/migrations.rb +1 -1
- data/lib/que/poller.rb +8 -3
- data/lib/que/sequel/model.rb +5 -2
- data/lib/que/utils/ruby2_keywords.rb +19 -0
- data/lib/que/version.rb +2 -2
- data/lib/que/worker.rb +1 -1
- data/lib/que.rb +4 -1
- data/que.gemspec +2 -0
- metadata +10 -6
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,129 @@
|
|
1
|
-
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
<!-- MarkdownTOC autolink=true -->
|
4
|
+
|
5
|
+
- [2.0.0.beta1 \(2022-03-24\)](#200beta1-2022-03-24)
|
6
|
+
- [1.4.0 \(2022-03-23\)](#140-2022-03-23)
|
7
|
+
- [1.3.1 \(2022-02-25\)](#131-2022-02-25)
|
8
|
+
- [1.3.0 \(2022-02-25\)](#130-2022-02-25)
|
9
|
+
- [1.2.0 \(2022-02-23\)](#120-2022-02-23)
|
10
|
+
- [1.1.0 \(2022-02-21\)](#110-2022-02-21)
|
11
|
+
- [1.0.0 \(2022-01-24\)](#100-2022-01-24)
|
12
|
+
- [1.0.0.beta5 \(2021-12-23\)](#100beta5-2021-12-23)
|
13
|
+
- [1.0.0.beta4 \(2020-01-17\)](#100beta4-2020-01-17)
|
14
|
+
- [1.0.0.beta3 \(2018-05-18\)](#100beta3-2018-05-18)
|
15
|
+
- [1.0.0.beta2 \(2018-04-13\)](#100beta2-2018-04-13)
|
16
|
+
- [1.0.0.beta \(2017-10-25\)](#100beta-2017-10-25)
|
17
|
+
- [0.14.3 \(2018-03-02\)](#0143-2018-03-02)
|
18
|
+
- [0.14.2 \(2018-01-05\)](#0142-2018-01-05)
|
19
|
+
- [0.14.1 \(2017-12-14\)](#0141-2017-12-14)
|
20
|
+
- [0.14.0 \(2017-08-11\)](#0140-2017-08-11)
|
21
|
+
- [0.13.1 \(2017-07-05\)](#0131-2017-07-05)
|
22
|
+
- [0.13.0 \(2017-06-08\)](#0130-2017-06-08)
|
23
|
+
- [0.12.3 \(2017-06-01\)](#0123-2017-06-01)
|
24
|
+
- [0.12.2 \(2017-06-01\)](#0122-2017-06-01)
|
25
|
+
- [0.12.1 \(2017-01-22\)](#0121-2017-01-22)
|
26
|
+
- [0.12.0 \(2016-09-09\)](#0120-2016-09-09)
|
27
|
+
- [0.11.6 \(2016-07-01\)](#0116-2016-07-01)
|
28
|
+
- [0.11.5 \(2016-05-13\)](#0115-2016-05-13)
|
29
|
+
- [0.11.4 \(2016-03-03\)](#0114-2016-03-03)
|
30
|
+
- [0.11.3 \(2016-02-26\)](#0113-2016-02-26)
|
31
|
+
- [0.11.2 \(2015-09-09\)](#0112-2015-09-09)
|
32
|
+
- [0.11.1 \(2015-09-04\)](#0111-2015-09-04)
|
33
|
+
- [0.11.0 \(2015-09-04\)](#0110-2015-09-04)
|
34
|
+
- [0.10.0 \(2015-03-18\)](#0100-2015-03-18)
|
35
|
+
- [0.9.2 \(2015-02-05\)](#092-2015-02-05)
|
36
|
+
- [0.9.1 \(2015-01-11\)](#091-2015-01-11)
|
37
|
+
- [0.9.0 \(2014-12-16\)](#090-2014-12-16)
|
38
|
+
- [0.8.2 \(2014-10-12\)](#082-2014-10-12)
|
39
|
+
- [0.8.1 \(2014-07-28\)](#081-2014-07-28)
|
40
|
+
- [0.8.0 \(2014-07-12\)](#080-2014-07-12)
|
41
|
+
- [0.7.3 \(2014-05-19\)](#073-2014-05-19)
|
42
|
+
- [0.7.2 \(2014-05-18\)](#072-2014-05-18)
|
43
|
+
- [0.7.1 \(2014-04-29\)](#071-2014-04-29)
|
44
|
+
- [0.7.0 \(2014-04-09\)](#070-2014-04-09)
|
45
|
+
- [0.6.0 \(2014-02-04\)](#060-2014-02-04)
|
46
|
+
- [0.5.0 \(2014-01-14\)](#050-2014-01-14)
|
47
|
+
- [0.4.0 \(2014-01-05\)](#040-2014-01-05)
|
48
|
+
- [0.3.0 \(2013-12-21\)](#030-2013-12-21)
|
49
|
+
- [0.2.0 \(2013-11-30\)](#020-2013-11-30)
|
50
|
+
- [0.1.0 \(2013-11-18\)](#010-2013-11-18)
|
51
|
+
- [0.0.1 \(2013-11-07\)](#001-2013-11-07)
|
52
|
+
|
53
|
+
<!-- /MarkdownTOC -->
|
54
|
+
|
55
|
+
## 2.0.0.beta1 (2022-03-24)
|
56
|
+
|
57
|
+
**Preliminary release of Ruby 3 support**
|
58
|
+
|
59
|
+
**Notable changes**:
|
60
|
+
|
61
|
+
* Support for Ruby 3 introduced
|
62
|
+
* Database schema has changed to split the job arguments `args` column into `args` and `kwargs` columns, for reliable args and kwargs splitting for Ruby 3.
|
63
|
+
- The job schema version is now 2. Note that job schema version is distinct from database schema version and Que version. The `job_schema_version` column of the `que_jobs` table no longer defaults and has a not null constraint, so when manually inserting jobs into the table, this must be specified as `2`. If you have a gem that needs to support multiple Que versions, best not to blindly use the value of `Que.job_schema_version`; instead have different code paths depending on the value of `Que.job_schema_version`. You could also use this to know whether keyword arguments are in `args` or `kwargs`.
|
64
|
+
* Passing a hash literal as the last job argument to be splatted into job keyword arguments is no longer supported.
|
65
|
+
* Dropped support for providing job options as top-level keyword arguments to `Job.enqueue`, i.e. `queue`, `priority`, `run_at`, `job_class`, and `tags`. Job options now need to be nested under the `job_options` keyword argument instead. See [#336](https://github.com/que-rb/que/pull/336)
|
66
|
+
* Dropped support for Ruby < 2.7
|
67
|
+
* Dropped support for Rails < 6.0
|
68
|
+
* The `#by_args` method on the Job model (for both Sequel and ActiveRecord) now searches based on both args and kwargs, but it performs a subset match instead of an exact match. For instance, if your job was scheduled with `'a', 'b', 'c', foo: 'bar', baz: 1`, `by_args('a', 'b', baz: 1)` would find and return the job.
|
69
|
+
* This release contains a database migration. You will need to migrate Que to the latest database schema version (6). For example, on ActiveRecord and Rails 6:
|
70
|
+
|
71
|
+
```ruby
|
72
|
+
class UpdateQueTablesToVersion6 < ActiveRecord::Migration[6.0]
|
73
|
+
def up
|
74
|
+
Que.migrate!(version: 6)
|
75
|
+
end
|
76
|
+
|
77
|
+
def down
|
78
|
+
Que.migrate!(version: 5)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
```
|
82
|
+
|
83
|
+
**Recommended upgrade process**:
|
84
|
+
|
85
|
+
When using Que 2.x, a job enqueued with Ruby 2.7 will run as expected on Ruby 3. We recommend:
|
86
|
+
|
87
|
+
1. Upgrade your project to the latest 1.x version of Que (1.3.1+)
|
88
|
+
- IMPORTANT: adds support for zero downtime upgrade to Que 2.x, see changelog below
|
89
|
+
2. Upgrade your project to Ruby 2.7 and Rails 6.x if it is not already
|
90
|
+
3. Upgrade your project to Que 2.x but stay on Ruby 2.7
|
91
|
+
- IMPORTANT: You will need to continue to run Que 1.x workers until all jobs enqueued using Que 1.x (i.e. with a `job_schema_version` of `1`) have been finished. See below
|
92
|
+
4. Upgrade your project to Ruby 3
|
93
|
+
|
94
|
+
*NOTES:*
|
95
|
+
|
96
|
+
* If you were already running Ruby 2.7 and were not passing a hash literal as the last job argument, you *may* be able to upgrade a running system without draining the queue, though this is not recommended.
|
97
|
+
* For all other cases, you will need to follow the recommended process above or first completely drain the queue (stop enqueuing new jobs and finish processing any jobs in the database, including cleaning out any expired jobs) before upgrading.
|
98
|
+
|
99
|
+
**Deploying Que 1.x and 2.x workers simultaneously**:
|
100
|
+
|
101
|
+
To run workers with two different versions of Que, you'll probably need to temporarily duplicate your gem bundle, with the Que version being the only difference. e.g.:
|
102
|
+
|
103
|
+
- Copy your `Gemfile` and `Gemfile.lock` into a directory called `que-1-gemfile`
|
104
|
+
- Set a suitable Que version in each `Gemfile`
|
105
|
+
- Update the bundle at `que-1-gemfile/Gemfile.lock` using `BUNDLE_GEMFILE=que-1-gemfile/Gemfile bundle`
|
106
|
+
- Create a second deployment of Que, but with your `que` command prefixed with `BUNDLE_GEMFILE=que-1-gemfile/Gemfile`
|
107
|
+
|
108
|
+
## 1.4.0 (2022-03-23)
|
109
|
+
|
110
|
+
- **Fixed**
|
111
|
+
+ The poller will no longer sleep when jobs exist for only some of its priorities. It now skips sleeping when a poll returns more jobs than the lowest priority requested. [#349](https://github.com/que-rb/que/pull/349).
|
112
|
+
* An alternative was considered which skipped polling when only some of the waiting worker priorities would be fully utilised ([diagram explanation](https://github.com/que-rb/que/pull/348#discussion_r819213357)); but this was decided against for code complexity reasons. [#348](https://github.com/que-rb/que/pull/348)
|
113
|
+
- **Deprecated**:
|
114
|
+
+ Deprecated `--minimum-buffer-size` option. It was not actually used, and will be removed in v2.0.0. [#346](https://github.com/que-rb/que/pull/346)
|
115
|
+
* It became used in 1.0.0.beta4, and that changelog entry has been updated to reflect this.
|
116
|
+
- **Documentation**:
|
117
|
+
+ Reformatted the changelog to be more consistent, including adding links to all issue/PR numbers. [#347](https://github.com/que-rb/que/pull/347)
|
118
|
+
+
|
119
|
+
## 1.3.1 (2022-02-25)
|
120
|
+
|
121
|
+
Unfortunately, v1.3.0 was broken. Follow its upgrade instructions, but use this version instead.
|
122
|
+
|
123
|
+
- **Fixed**
|
124
|
+
+ Fixed startup error: `undefined method 'job_schema_version' for Que:Module`, in [#343](https://github.com/que-rb/que/pull/343)
|
125
|
+
|
126
|
+
## 1.3.0 (2022-02-25)
|
2
127
|
|
3
128
|
**ACTION REQUIRED**
|
4
129
|
|
@@ -29,625 +154,388 @@ You must apply the schema migration and deploy to upgrade all workers.
|
|
29
154
|
|
30
155
|
No further action is required from you at this stage. The Que 2 release changelog will provide full upgrade instructions for the process briefly described above of simultaneously running both Que 1 & 2 workers. Note that you won't be required to upgrade from Ruby 2.7 to Ruby 3 at the same time as upgrading to Que 2.
|
31
156
|
|
32
|
-
If you use any Que plugins or custom code that interacts with the `que_jobs` table, before you can upgrade to Que 2, you will need to make sure they are updated for compatibility with Que 2: They'll need to make use of the `kwargs` column, and when inserting jobs, put
|
157
|
+
If you use any Que plugins or custom code that interacts with the `que_jobs` table, before you can upgrade to Que 2, you will need to make sure they are updated for compatibility with Que 2: They'll need to make use of the `kwargs` column, and when inserting jobs, put a `2` into the `job_schema_version` column rather than continue to rely on its soon-to-be-removed default of `1`.
|
33
158
|
|
34
|
-
|
159
|
+
**Other improvements**:
|
160
|
+
|
161
|
+
- **Features**:
|
162
|
+
+ Log config on startup, in [#337](https://github.com/que-rb/que/pull/337)
|
163
|
+
- **Internal**:
|
164
|
+
+ Added Git pre-push hook, in [#338](https://github.com/que-rb/que/pull/338)
|
165
|
+
+ Documented our gem release process, in [#341](https://github.com/que-rb/que/pull/341)
|
166
|
+
|
167
|
+
## 1.2.0 (2022-02-23)
|
35
168
|
|
36
169
|
- **Deprecated**
|
37
170
|
+ Providing job options as top level keyword arguments to Job.enqueue is now deprecated. Support will be dropped in `2.0`. Job options should be nested under the `job_options` keyword arg instead. See [#336](https://github.com/que-rb/que/pull/336)
|
38
171
|
|
39
|
-
|
172
|
+
## 1.1.0 (2022-02-21)
|
40
173
|
|
41
174
|
- **Features**:
|
42
175
|
+ Add backtrace to errors, by [@trammel](https://github.com/trammel) in [#328](https://github.com/que-rb/que/pull/328)
|
43
176
|
- **Internal**:
|
44
177
|
+ Add Dockerised development environment, in [#324](https://github.com/que-rb/que/pull/324)
|
45
178
|
|
46
|
-
|
179
|
+
## 1.0.0 (2022-01-24)
|
47
180
|
|
48
181
|
_This release does not add any changes on top of 1.0.0.beta5._
|
49
182
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
* **Documentation:**
|
62
|
-
* Add link to que-locks for exclusive job locking by [@airhorns](https://github.com/airhorns) in [#263](https://github.com/que-rb/que/pull/263)
|
183
|
+
## 1.0.0.beta5 (2021-12-23)
|
184
|
+
|
185
|
+
- **Bug fixes and improvements**
|
186
|
+
+ Add more context to error message when config files fail to load. by [@trammel](https://github.com/trammel) in [#293](https://github.com/que-rb/que/pull/293)
|
187
|
+
+ Fix lock leak on PostgreSQL 12 and later by [@jasoncodes](https://github.com/jasoncodes) in [#298](https://github.com/que-rb/que/pull/298)
|
188
|
+
+ Fix deadlock issue [#318](https://github.com/que-rb/que/pull/318)
|
189
|
+
+ Fix thread attrition issue [#321](https://github.com/que-rb/que/pull/321)
|
190
|
+
- **Rails fixes:**
|
191
|
+
+ Set schema in table_name for ActiveRecord model by [@nikitug](https://github.com/nikitug) in [#274](https://github.com/que-rb/que/pull/274)
|
192
|
+
- **Documentation:**
|
193
|
+
+ Add link to que-locks for exclusive job locking by [@airhorns](https://github.com/airhorns) in [#263](https://github.com/que-rb/que/pull/263)
|
63
194
|
[`5259303`](https://github.com/que-rb/que/commit/52593031a7eef2d52ac38eceb2d8df776ec74090)
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
* Run GitHub build workflow on push by [@jonathanhefner](https://github.com/jonathanhefner) in [#277](https://github.com/que-rb/que/pull/277)
|
74
|
-
|
75
|
-
|
195
|
+
+ Fix links to Writing Reliable Jobs by [@nikitug](https://github.com/nikitug) in [#273](https://github.com/que-rb/que/pull/273)
|
196
|
+
+ Add build badge to README by [@jonathanhefner](https://github.com/jonathanhefner) in [#278](https://github.com/que-rb/que/pull/278)
|
197
|
+
+ Fix ToC links in docs by [@swrobel](https://github.com/swrobel) in [#287](https://github.com/que-rb/que/pull/287)
|
198
|
+
+ Note all Rails queue names that must be changed by [@swrobel](https://github.com/swrobel) in [#296](https://github.com/que-rb/que/pull/296)
|
199
|
+
+ Add instructions for how to start Que by [@xcskier56](https://github.com/xcskier56) in [#292](https://github.com/que-rb/que/pull/292)
|
200
|
+
- **CI/tests**
|
201
|
+
+ Fix CI failure from Docker Postgres image by [@jonathanhefner](https://github.com/jonathanhefner) in [#275](https://github.com/que-rb/que/pull/275)
|
202
|
+
+ Test with Ruby 2.7 by [@jonathanhefner](https://github.com/jonathanhefner) in [#276](https://github.com/que-rb/que/pull/276)
|
203
|
+
+ Run GitHub build workflow on push by [@jonathanhefner](https://github.com/jonathanhefner) in [#277](https://github.com/que-rb/que/pull/277)
|
76
204
|
**Full Changelog**: [`v1.0.0.beta4...v1.0.0.beta5`](https://github.com/que-rb/que/compare/v1.0.0.beta4...v1.0.0.beta5)
|
77
|
-
|
78
205
|
**Unless an issue is found we intend for this release to become v1.0.0 proper.**
|
79
206
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
-
|
85
|
-
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
*
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
*
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
*
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
*
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
* Que's implementation has been changed from one in which worker threads hold their own PG connections and lock their own jobs to one in which a single thread (and PG connection) locks jobs through LISTEN/NOTIFY and batch polling, and passes jobs along to worker threads. This has many benefits, including:
|
224
|
-
|
225
|
-
* Jobs queued for immediate processing can be actively distributed to workers with LISTEN/NOTIFY, which is more efficient than having workers repeatedly poll for new jobs.
|
226
|
-
|
227
|
-
* When polling is necessary (to pick up jobs that are scheduled for the future or that need to be retried due to errors), jobs can be locked and fetched in batches, rather than one at a time.
|
228
|
-
|
229
|
-
* Individual workers no longer need to monopolize their own (usually idle) connections while working jobs, so Ruby processes will require fewer Postgres connections.
|
230
|
-
|
231
|
-
* PgBouncer or another external connection pool can be used for workers' connections (though not for the connection used to lock and listen for jobs).
|
232
|
-
|
233
|
-
* Other features introduced in this version include:
|
234
|
-
|
235
|
-
* Much better support for all versions of ActiveJob.
|
236
|
-
|
237
|
-
* In particular, you may (optionally) include `Que::ActiveJob::JobExtensions` into `ApplicationJob` to get support for all of Que's job helper methods.
|
238
|
-
|
239
|
-
* Custom middleware that wrap running jobs are now supported.
|
240
|
-
|
241
|
-
* Support for categorizing jobs with tags.
|
242
|
-
|
243
|
-
* Support for configuring a `maximum_retry_count` on individual job classes.
|
244
|
-
|
245
|
-
* Job configuration options are now inheritable, so job class hierarchies are more useful.
|
246
|
-
|
247
|
-
* There are now built-in models for ActiveRecord and Sequel to allow inspecting the queue easily.
|
248
|
-
|
249
|
-
* Jobs that have finished working may optionally be retained in the database indefinitely.
|
250
|
-
|
251
|
-
* To keep a job record, replace the `destroy` calls in your jobs with `finish`. `destroy` will still delete records entirely, for jobs that you don't want to keep.
|
252
|
-
|
253
|
-
* If you don't resolve a job yourself one way or another, Que will still `destroy` the job for you by default.
|
254
|
-
|
255
|
-
* Finished jobs have a timestamp set in the finished_at column.
|
256
|
-
|
257
|
-
* Jobs that have errored too many times will now be marked as expired, and won't be retried again.
|
258
|
-
|
259
|
-
* You can configure a maximum_retry_count in your job classes, to set the threshold at which a job will be marked expired. The default is 15.
|
260
|
-
|
261
|
-
* To manually mark a job as expired (and keep it in the database but not try to run it again) you can call `expire` helper in your job.
|
262
|
-
|
263
|
-
* You can now set job priority thresholds for individual workers, to ensure that there will always be space available for high-priority jobs.
|
207
|
+
## 1.0.0.beta4 (2020-01-17)
|
208
|
+
|
209
|
+
- Rails 6 compatibility: Fix time parsing [#249](https://github.com/que-rb/que/pull/249) and [5ddddd5](https://github.com/que-rb/que/commit/5ddddd5ebac6153d7a683ef08c86bced8e03fb51)
|
210
|
+
- Cleaner sequel usage, in [#257](https://github.com/que-rb/que/pull/257)
|
211
|
+
- Documentation improvements: [#264](https://github.com/que-rb/que/pull/264), [#269](https://github.com/que-rb/que/pull/269), [#261](https://github.com/que-rb/que/pull/261), [#231](https://github.com/que-rb/que/pull/231)
|
212
|
+
- The `--minimum-buffer-size` option is now unused
|
213
|
+
|
214
|
+
## 1.0.0.beta3 (2018-05-18)
|
215
|
+
|
216
|
+
- Added support for customizing log levels for `job_worked` events ([#217](https://github.com/que-rb/que/issues/217)).
|
217
|
+
- Began logging all `job_errored` events at the `ERROR` log level.
|
218
|
+
- Fixed the Railtie when running in test mode ([#214](https://github.com/que-rb/que/issues/214)).
|
219
|
+
- Tweaked the meanings of worker-priorities and worker-count options in the CLI, to better support use cases with low worker counts ([#216](https://github.com/que-rb/que/issues/216)).
|
220
|
+
|
221
|
+
## 1.0.0.beta2 (2018-04-13)
|
222
|
+
|
223
|
+
- **A schema upgrade to version 4 will be required for this release.** See [the migration doc](https://github.com/que-rb/que/blob/master/docs/migrating.md) for information if you're upgrading from a previous release.
|
224
|
+
+ Please note that this migration requires a rewrite of the jobs table, which makes it O(n) with the size of the table. If you have a very large backlog of jobs you may want to schedule downtime for this migration.
|
225
|
+
- Que's implementation has been changed from one in which worker threads hold their own PG connections and lock their own jobs to one in which a single thread (and PG connection) locks jobs through LISTEN/NOTIFY and batch polling, and passes jobs along to worker threads. This has many benefits, including:
|
226
|
+
+ Jobs queued for immediate processing can be actively distributed to workers with LISTEN/NOTIFY, which is more efficient than having workers repeatedly poll for new jobs.
|
227
|
+
+ When polling is necessary (to pick up jobs that are scheduled for the future or that need to be retried due to errors), jobs can be locked and fetched in batches, rather than one at a time.
|
228
|
+
+ Individual workers no longer need to monopolize their own (usually idle) connections while working jobs, so Ruby processes will require fewer Postgres connections.
|
229
|
+
+ PgBouncer or another external connection pool can be used for workers' connections (though not for the connection used to lock and listen for jobs).
|
230
|
+
- Other features introduced in this version include:
|
231
|
+
+ Much better support for all versions of ActiveJob.
|
232
|
+
* In particular, you may (optionally) include `Que::ActiveJob::JobExtensions` into `ApplicationJob` to get support for all of Que's job helper methods.
|
233
|
+
+ Custom middleware that wrap running jobs and executing SQL statements are now supported.
|
234
|
+
+ Support for categorizing jobs with tags.
|
235
|
+
+ Support for configuring a `maximum_retry_count` on individual job classes.
|
236
|
+
+ Job configuration options are now inheritable, so job class hierarchies are more useful.
|
237
|
+
+ There are now built-in models for ActiveRecord and Sequel to allow inspecting the queue easily.
|
238
|
+
+ Jobs that have finished working may optionally be retained in the database indefinitely.
|
239
|
+
* To keep a job record, replace the `destroy` calls in your jobs with `finish`. `destroy` will still delete records entirely, for jobs that you don't want to keep.
|
240
|
+
* If you don't resolve a job yourself one way or another, Que will still `destroy` the job for you by default.
|
241
|
+
* Finished jobs have a timestamp set in the finished_at column.
|
242
|
+
+ Jobs that have errored too many times will now be marked as expired, and won't be retried again.
|
243
|
+
* You can configure a maximum_retry_count in your job classes, to set the threshold at which a job will be marked expired. The default is 15.
|
244
|
+
* To manually mark a job as expired (and keep it in the database but not try to run it again) you can call `expire` helper in your job.
|
245
|
+
+ You can now set job priority thresholds for individual workers, to ensure that there will always be space available for high-priority jobs.
|
246
|
+
+ `Que.job_states` returns a list of locked jobs and the hostname/pid of the Ruby processes that have locked them.
|
247
|
+
+ `Que.connection_proc=` has been added, to allow for the easy integration of custom connection pools.
|
248
|
+
- In keeping with semantic versioning, the major version is being bumped since the new implementation requires some backwards-incompatible changes. These changes include:
|
249
|
+
+ Support for MRI Rubies before 2.2 has been dropped.
|
250
|
+
+ Support for Postgres versions before 9.5 has been dropped (JSONB and upsert support is required).
|
251
|
+
+ JRuby support has been dropped. It will be reintroduced whenever the jruby-pg gem is production-ready.
|
252
|
+
+ The `que:work` rake task has been removed. Use the `que` executable instead.
|
253
|
+
* Therefore, configuring workers using QUE_* environment variables is no longer supported. Please pass the appropriate options to the `que` executable instead.
|
254
|
+
+ The `mode` setter has been removed.
|
255
|
+
* To run jobs synchronously when they are enqueued (the old `:sync` behavior) you can set `Que.run_synchronously = true`.
|
256
|
+
* To start up the worker pool (the old :async behavior) you should use the `que` executable to start up a worker process. There's no longer a supported API for running workers outside of the `que` executable.
|
257
|
+
+ The following methods are not meaningful under the new implementation and have been removed:
|
258
|
+
* The `Que.wake_interval` getter and setter.
|
259
|
+
* The `Que.worker_count` getter and setter.
|
260
|
+
* `Que.wake!`
|
261
|
+
* `Que.wake_all!`
|
262
|
+
+ Since Que needs a dedicated Postgres connection to manage job locks, running Que through a single PG connection is no longer supported.
|
263
|
+
* It's not clear that anyone ever actually did this.
|
264
|
+
+ `Que.worker_states` has been removed, as the connection that locks a job is no longer the one that the job is using to run. Its functionality has been partially replaced with `Que.job_states`.
|
265
|
+
+ When using Rails, for simplicity, job attributes and keys in argument hashes are now converted to symbols when retrieved from the database, rather than being converted to instances of HashWithIndifferentAccess.
|
266
|
+
+ Arguments passed to jobs are now deep-frozen, to prevent unexpected behavior when the args are mutated and the job is reenqueued.
|
267
|
+
+ Since JSONB is now used to store arguments, the order of argument hashes is no longer maintained.
|
268
|
+
* It wouldn't have been a good idea to rely on this anyway.
|
269
|
+
+ Calling Que.log() directly is no longer supported/recommended.
|
270
|
+
+ Features marked as deprecated in the final 0.x releases have been removed.
|
271
|
+
- Finally, if you've built up your own tooling and customizations around Que, you may need to be aware of some DB schema changes made in the migration to schema version #4.
|
272
|
+
+ The `job_id` column has been renamed `id` and is now the primary key. This makes it easier to manage the queue using an ActiveRecord model.
|
273
|
+
+ Finished jobs are now kept in the DB, unless you explicitly call `destroy`. If you want to query the DB for only jobs that haven't finished yet, add a `WHERE finished_at IS NULL` condition to your query, or use the not_finished scope on one of the provided ORM models.
|
274
|
+
+ There is now an `expired_at` timestamp column, which is set when a job reaches its maximum number of retries and will not be attempted again.
|
275
|
+
+ Due to popular demand, the default queue name is now "default" rather than an empty string. The migration will move pending jobs under the "" queue to the "default" queue.
|
276
|
+
+ The `last_error` column has been split in two, to `last_error_message` and `last_error_backtrace`. These two columns are now limited to 500 and 10,000 characters, respectively. The migration will split old error data correctly, and truncate it if necessary.
|
277
|
+
+ Names for queues and job classes are now limited to 500 characters, which is still far longer than either of these values should reasonably be.
|
278
|
+
+ There is now a `data` JSONB column which is used to support various ways of organizing jobs (setting tags on them, etc).
|
279
|
+
|
280
|
+
## 1.0.0.beta (2017-10-25)
|
281
|
+
|
282
|
+
- **A schema upgrade to version 4 will be required for this release.** See [the migration doc](https://github.com/que-rb/que/blob/master/docs/migrating.md) for information if you're upgrading from a previous release.
|
283
|
+
+ Please note that this migration requires a rewrite of the jobs table, which makes it O(n) with the size of the table. If you have a very large backlog of jobs you may want to schedule downtime for this migration.
|
284
|
+
- Que's implementation has been changed from one in which worker threads hold their own PG connections and lock their own jobs to one in which a single thread (and PG connection) locks jobs through LISTEN/NOTIFY and batch polling, and passes jobs along to worker threads. This has many benefits, including:
|
285
|
+
+ Jobs queued for immediate processing can be actively distributed to workers with LISTEN/NOTIFY, which is more efficient than having workers repeatedly poll for new jobs.
|
286
|
+
+ When polling is necessary (to pick up jobs that are scheduled for the future or that need to be retried due to errors), jobs can be locked and fetched in batches, rather than one at a time.
|
287
|
+
+ Individual workers no longer need to monopolize their own (usually idle) connections while working jobs, so Ruby processes will require fewer Postgres connections.
|
288
|
+
+ PgBouncer or another external connection pool can be used for workers' connections (though not for the connection used to lock and listen for jobs).
|
289
|
+
- Other features introduced in this version include:
|
290
|
+
+ Much better support for all versions of ActiveJob.
|
291
|
+
* In particular, you may (optionally) include `Que::ActiveJob::JobExtensions` into `ApplicationJob` to get support for all of Que's job helper methods.
|
292
|
+
+ Custom middleware that wrap running jobs are now supported.
|
293
|
+
+ Support for categorizing jobs with tags.
|
294
|
+
+ Support for configuring a `maximum_retry_count` on individual job classes.
|
295
|
+
+ Job configuration options are now inheritable, so job class hierarchies are more useful.
|
296
|
+
+ There are now built-in models for ActiveRecord and Sequel to allow inspecting the queue easily.
|
297
|
+
+ Jobs that have finished working may optionally be retained in the database indefinitely.
|
298
|
+
* To keep a job record, replace the `destroy` calls in your jobs with `finish`. `destroy` will still delete records entirely, for jobs that you don't want to keep.
|
299
|
+
* If you don't resolve a job yourself one way or another, Que will still `destroy` the job for you by default.
|
300
|
+
* Finished jobs have a timestamp set in the finished_at column.
|
301
|
+
+ Jobs that have errored too many times will now be marked as expired, and won't be retried again.
|
302
|
+
* You can configure a maximum_retry_count in your job classes, to set the threshold at which a job will be marked expired. The default is 15.
|
303
|
+
* To manually mark a job as expired (and keep it in the database but not try to run it again) you can call `expire` helper in your job.
|
304
|
+
+ You can now set job priority thresholds for individual workers, to ensure that there will always be space available for high-priority jobs.
|
305
|
+
+ `Que.job_states` returns a list of locked jobs and the hostname/pid of the Ruby processes that have locked them.
|
306
|
+
+ `Que.connection_proc=` has been added, to allow for the easy integration of custom connection pools.
|
307
|
+
- In keeping with semantic versioning, the major version is being bumped since the new implementation requires some backwards-incompatible changes. These changes include:
|
308
|
+
+ Support for MRI Rubies before 2.2 has been dropped.
|
309
|
+
+ Support for Postgres versions before 9.5 has been dropped (JSONB and upsert support is required).
|
310
|
+
+ JRuby support has been dropped. It will be reintroduced whenever the jruby-pg gem is production-ready.
|
311
|
+
+ The `que:work` rake task has been removed. Use the `que` executable instead.
|
312
|
+
* Therefore, configuring workers using QUE_* environment variables is no longer supported. Please pass the appropriate options to the `que` executable instead.
|
313
|
+
+ The `mode` setter has been removed.
|
314
|
+
* To run jobs synchronously when they are enqueued (the old `:sync` behavior) you can set `Que.run_synchronously = true`.
|
315
|
+
* To start up the worker pool (the old :async behavior) you should use the `que` executable to start up a worker process. There's no longer a supported API for running workers outside of the `que` executable.
|
316
|
+
+ The following methods are not meaningful under the new implementation and have been removed:
|
317
|
+
* The `Que.wake_interval` getter and setter.
|
318
|
+
* The `Que.worker_count` getter and setter.
|
319
|
+
* `Que.wake!`
|
320
|
+
* `Que.wake_all!`
|
321
|
+
+ Since Que needs a dedicated Postgres connection to manage job locks, running Que through a single PG connection is no longer supported.
|
322
|
+
* It's not clear that anyone ever actually did this.
|
323
|
+
+ `Que.worker_states` has been removed, as the connection that locks a job is no longer the one that the job is using to run. Its functionality has been partially replaced with `Que.job_states`.
|
324
|
+
+ When using Rails, for simplicity, job attributes and keys in argument hashes are now converted to symbols when retrieved from the database, rather than being converted to instances of HashWithIndifferentAccess.
|
325
|
+
+ Arguments passed to jobs are now deep-frozen, to prevent unexpected behavior when the args are mutated and the job is reenqueued.
|
326
|
+
+ Since JSONB is now used to store arguments, the order of argument hashes is no longer maintained.
|
327
|
+
* It wouldn't have been a good idea to rely on this anyway.
|
328
|
+
+ Calling Que.log() directly is no longer supported/recommended.
|
329
|
+
+ Features marked as deprecated in the final 0.x releases have been removed.
|
330
|
+
- Finally, if you've built up your own tooling and customizations around Que, you may need to be aware of some DB schema changes made in the migration to schema version #4.
|
331
|
+
+ The `job_id` column has been renamed `id` and is now the primary key. This makes it easier to manage the queue using an ActiveRecord model.
|
332
|
+
+ Finished jobs are now kept in the DB, unless you explicitly call `destroy`. If you want to query the DB for only jobs that haven't finished yet, add a `WHERE finished_at IS NULL` condition to your query, or use the not_finished scope on one of the provided ORM models.
|
333
|
+
+ There is now an `expired_at` timestamp column, which is set when a job reaches its maximum number of retries and will not be attempted again.
|
334
|
+
+ Due to popular demand, the default queue name is now "default" rather than an empty string. The migration will move pending jobs under the "" queue to the "default" queue.
|
335
|
+
+ The `last_error` column has been split in two, to `last_error_message` and `last_error_backtrace`. These two columns are now limited to 500 and 10,000 characters, respectively. The migration will split old error data correctly, and truncate it if necessary.
|
336
|
+
+ Names for queues and job classes are now limited to 500 characters, which is still far longer than either of these values should reasonably be.
|
337
|
+
+ There is now a `data` JSONB column which is used to support various ways of organizing jobs (setting tags on them, etc).
|
338
|
+
|
339
|
+
## 0.14.3 (2018-03-02)
|
340
|
+
|
341
|
+
- Recorded errors now always include the error class, so that empty error messages can still be helpful. ( joehorsnell)
|
342
|
+
- Recorded error messages are now truncated to the first 500 characters.
|
343
|
+
|
344
|
+
## 0.14.2 (2018-01-05)
|
345
|
+
|
346
|
+
- Deprecate the Que.disable_prepared_statements= accessors.
|
347
|
+
- Add Que.use_prepared_statements= configuration accessors.
|
348
|
+
- Update the generated Rails migration to declare a version. (NARKOZ)
|
264
349
|
|
265
|
-
|
350
|
+
## 0.14.1 (2017-12-14)
|
266
351
|
|
267
|
-
|
352
|
+
- Fix a bug with typecasting boolean values on Rails 5+.
|
268
353
|
|
269
|
-
|
354
|
+
## 0.14.0 (2017-08-11)
|
270
355
|
|
271
|
-
|
356
|
+
- Fix incompatibility with Rails 5.1.
|
357
|
+
- Drop support for waking an in-process worker when an ActiveRecord transaction commits.
|
272
358
|
|
273
|
-
|
359
|
+
## 0.13.1 (2017-07-05)
|
274
360
|
|
275
|
-
|
361
|
+
- Fix issue that caused error stacktraces to not be persisted in most cases.
|
276
362
|
|
277
|
-
|
363
|
+
## 0.13.0 (2017-06-08)
|
278
364
|
|
279
|
-
|
365
|
+
- Fix recurring JSON issues by dropping MultiJson support. Previously MultiJson was detected and used automatically, and now it's just ignored and stdlib JSON used instead, so this shouldn't require any code changes.
|
280
366
|
|
281
|
-
|
367
|
+
## 0.12.3 (2017-06-01)
|
282
368
|
|
283
|
-
|
369
|
+
- Fix incompatibility with MultiJson introduced by the previous release.
|
284
370
|
|
285
|
-
|
371
|
+
## 0.12.2 (2017-06-01)
|
286
372
|
|
287
|
-
|
373
|
+
- Fix security vulnerability in parsing JSON from the DB (by specifying create_additions: false). This shouldn't be a concern unless you were passing untrusted user input in your job arguments. (hmac)
|
288
374
|
|
289
|
-
|
375
|
+
## 0.12.1 (2017-01-22)
|
290
376
|
|
291
|
-
|
377
|
+
- Fix incompatibility with Rails 5.0. ([#166](https://github.com/que-rb/que/issues/166)) (nbibler, thedarkone)
|
292
378
|
|
293
|
-
|
379
|
+
## 0.12.0 (2016-09-09)
|
294
380
|
|
295
|
-
|
381
|
+
- The error_handler configuration option has been renamed to error_notifier, which is more descriptive of what it's actually supposed to do. You can still use error_handler for configuration, but you'll get a warning.
|
382
|
+
- Introduced a new framework for handling errors on a per-job basis. See the docs for more information. ([#106](https://github.com/que-rb/que/pull/106), [#147](https://github.com/que-rb/que/issues/147))
|
296
383
|
|
297
|
-
|
384
|
+
## 0.11.6 (2016-07-01)
|
298
385
|
|
299
|
-
|
386
|
+
- Fix for operating in nested transactions in Rails 5.0. ([#160](https://github.com/que-rb/que/pull/160)) (greysteil)
|
300
387
|
|
301
|
-
|
388
|
+
## 0.11.5 (2016-05-13)
|
302
389
|
|
303
|
-
|
390
|
+
- Fix error when running `que -v`. ([#154](https://github.com/que-rb/que/pull/154)) (hardbap)
|
304
391
|
|
305
|
-
|
392
|
+
## 0.11.4 (2016-03-03)
|
306
393
|
|
307
|
-
|
394
|
+
- Fix incompatibility with ActiveRecord 5.0.0.beta3. ([#143](https://github.com/que-rb/que/issues/143), [#144](https://github.com/que-rb/que/pull/144)) (joevandyk)
|
308
395
|
|
309
|
-
|
396
|
+
## 0.11.3 (2016-02-26)
|
310
397
|
|
311
|
-
|
398
|
+
- Fixed bug with displaying the current version of the que executable. ([#122](https://github.com/que-rb/que/pull/122)) (hardbap)
|
399
|
+
- Output to STDOUT when running via the executable or rake task is no longer buffered. This prevented logging in some cases. ([#129](https://github.com/que-rb/que/pull/129)) (hmarr)
|
400
|
+
- Officially added support for Ruby 2.2 and 2.3.
|
401
|
+
- String literals are now frozen on Ruby 2.3.
|
312
402
|
|
313
|
-
|
403
|
+
## 0.11.2 (2015-09-09)
|
314
404
|
|
315
|
-
|
405
|
+
- Fix Job class constantizing when ActiveSupport isn't loaded. ([#121](https://github.com/que-rb/que/pull/121)) (godfat)
|
316
406
|
|
317
|
-
|
407
|
+
## 0.11.1 (2015-09-04)
|
318
408
|
|
319
|
-
|
409
|
+
- The `rake que:work` rake task that was specific to Rails has been deprecated and will be removed in Que 1.0. A deprecation warning will display when it is run.
|
320
410
|
|
321
|
-
|
411
|
+
## 0.11.0 (2015-09-04)
|
322
412
|
|
323
|
-
|
413
|
+
- A command-line program has been added that can be used to work jobs in a more flexible manner than the previous rake task. Run `que -h` for more information.
|
414
|
+
- The worker pool will no longer start automatically in the same process when running the rails server - this behavior was too prone to breakage. If you'd like to recreate the old behavior, you can manually set `Que.mode = :async` in your app whenever conditions are appropriate (classes have loaded, a database connection has been established, and the process will not be forking).
|
415
|
+
- Add a Que.disable_prepared_transactions= configuration option, to make it easier to use tools like pgbouncer. ([#110](https://github.com/que-rb/que/issues/110))
|
416
|
+
- Add a Que.json_converter= option, to configure how arguments are transformed before being passed to the job. By default this is set to the `Que::INDIFFERENTIATOR` proc, which provides simple indifferent access (via strings or symbols) to args hashes. If you're using Rails, the default is to convert the args to HashWithIndifferentAccess instead. You can also pass it the Que::SYMBOLIZER proc, which will destructively convert all keys in the args hash to symbols (this will probably be the default in Que 1.0). If you want to define a custom converter, you will usually want to pass this option a proc, and you'll probably want it to be recursive. See the implementations of Que::INDIFFERENTIATOR and Que::SYMBOLIZER for examples. ([#113](https://github.com/que-rb/que/issues/113))
|
417
|
+
- When using Que with ActiveRecord, workers now call `ActiveRecord::Base.clear_active_connections!` between jobs. This cleans up connections that ActiveRecord leaks when it is used to access mutliple databases. ([#116](https://github.com/que-rb/que/pull/116))
|
418
|
+
- If it exists, use String#constantize to constantize job classes, since ActiveSupport's constantize method behaves better with Rails' autoloading. ([#115](https://github.com/que-rb/que/issues/115), [#120](https://github.com/que-rb/que/pull/120)) (joevandyk)
|
324
419
|
|
325
|
-
|
420
|
+
## 0.10.0 (2015-03-18)
|
326
421
|
|
327
|
-
|
422
|
+
- When working jobs via the rake task, Rails applications are now eager-loaded if present, to avoid problems with multithreading and autoloading. ([#96](https://github.com/que-rb/que/pull/96)) (hmarr)
|
423
|
+
- The que:work rake task now uses whatever logger Que is configured to use normally, rather than forcing the use of STDOUT. ([#95](https://github.com/que-rb/que/issues/95))
|
424
|
+
- Add Que.transaction() helper method, to aid in transaction management in migrations or when the user's ORM doesn't provide one. ([#81](https://github.com/que-rb/que/issues/81))
|
328
425
|
|
329
|
-
|
426
|
+
## 0.9.2 (2015-02-05)
|
330
427
|
|
331
|
-
|
428
|
+
- Fix a bug wherein the at_exit hook in the railtie wasn't waiting for jobs to finish before exiting.
|
429
|
+
- Fix a bug wherein the que:work rake task wasn't waiting for jobs to finish before exiting. ([#85](https://github.com/que-rb/que/pull/85)) (tycooon)
|
332
430
|
|
333
|
-
|
431
|
+
## 0.9.1 (2015-01-11)
|
334
432
|
|
335
|
-
|
433
|
+
- Use now() rather than 'now' when inserting jobs, to avoid using an old value as the default run_at in prepared statements. ([#74](https://github.com/que-rb/que/pull/74)) (bgentry)
|
336
434
|
|
337
|
-
|
435
|
+
## 0.9.0 (2014-12-16)
|
338
436
|
|
339
|
-
|
437
|
+
- The error_handler callable is now passed two objects, the error and the job that raised it. If your current error_handler is a proc, as recommended in the docs, you shouldn't need to make any code changes, unless you want to use the job in your error handling. If your error_handler is a lambda, or another callable with a strict arity requirement, you'll want to change it before upgrading. ([#69](https://github.com/que-rb/que/pull/69)) (statianzo)
|
340
438
|
|
341
|
-
|
439
|
+
## 0.8.2 (2014-10-12)
|
342
440
|
|
343
|
-
|
441
|
+
- Fix errors raised during rollbacks in the ActiveRecord adapter, which remained silent until Rails 4.2. ([#64](https://github.com/que-rb/que/pull/64), [#65](https://github.com/que-rb/que/pull/65)) (Strech)
|
344
442
|
|
345
|
-
|
443
|
+
## 0.8.1 (2014-07-28)
|
346
444
|
|
347
|
-
|
445
|
+
- Fix regression introduced in the `que:work` rake task by the `mode` / `worker_count` disentangling in 0.8.0. ([#50](https://github.com/que-rb/que/issues/50))
|
348
446
|
|
349
|
-
|
447
|
+
## 0.8.0 (2014-07-12)
|
350
448
|
|
351
|
-
|
449
|
+
- A callable can now be set as the logger, like `Que.logger = proc { MyLogger.new }`. Que uses this in its Railtie for cleaner initialization, but it is also available for public use.
|
450
|
+
- `Que.mode=` and `Que.worker_count=` now function independently. That is, setting the worker_count to a nonzero number no longer sets mode = :async (triggering the pool to start working jobs), and setting it to zero no longer sets mode = :off. Similarly, setting the mode to :async no longer sets the worker_count to 4 from 0, and setting the mode to :off no longer sets the worker_count to 0. This behavior was changed because it was interfering with configuration during initialization of Rails applications, and because it was unexpected. ([#47](https://github.com/que-rb/que/issues/47))
|
451
|
+
- Fixed a similar bug wherein setting a wake_interval during application startup would break worker awakening after the process was forked.
|
352
452
|
|
353
|
-
|
453
|
+
## 0.7.3 (2014-05-19)
|
354
454
|
|
355
|
-
|
455
|
+
- When mode = :sync, don't touch the database at all when running jobs inline. Needed for ActiveJob compatibility ([#46](https://github.com/que-rb/que/issues/46)).
|
356
456
|
|
357
|
-
|
457
|
+
## 0.7.2 (2014-05-18)
|
358
458
|
|
359
|
-
|
459
|
+
- Fix issue wherein intermittent worker wakeups would not work after forking ([#44](https://github.com/que-rb/que/issues/44)).
|
360
460
|
|
361
|
-
|
461
|
+
## 0.7.1 (2014-04-29)
|
362
462
|
|
363
|
-
|
463
|
+
- Fix errors with prepared statements when ActiveRecord reconnects to the database. (dvrensk)
|
464
|
+
- Don't use prepared statements when inside a transaction. This negates the risk of a prepared statement error harming the entire transaction. The query that benefits the most from preparation is the job-lock CTE, which is never run in a transaction, so the performance impact should be negligible.
|
364
465
|
|
365
|
-
|
466
|
+
## 0.7.0 (2014-04-09)
|
366
467
|
|
367
|
-
*
|
468
|
+
- `JobClass.queue(*args)` has been deprecated and will be removed in version 1.0.0. Please use `JobClass.enqueue(*args)` instead.
|
469
|
+
- The `@default_priority` and `@default_run_at` variables have been deprecated and will be removed in version 1.0.0. Please use `@priority` and `@run_at` instead, respectively.
|
470
|
+
- Log lines now include the process pid - its omission in the previous release was an oversight.
|
471
|
+
- The [Pond gem](https://github.com/chanks/pond) is now supported as a connection. It is very similar to the ConnectionPool gem, but creates connections lazily and is dynamically resizable.
|
368
472
|
|
369
|
-
|
473
|
+
## 0.6.0 (2014-02-04)
|
370
474
|
|
371
|
-
|
475
|
+
- **A schema upgrade to version 3 is required for this release.** See [the migration doc](https://github.com/que-rb/que/blob/master/docs/migrating.md) for information if you're upgrading from a previous release.
|
476
|
+
- You can now run a job's logic directly (without enqueueing it) like `MyJob.run(arg1, arg2, other_arg: arg3)`. This is useful when a job class encapsulates logic that you want to invoke without involving the entire queue.
|
477
|
+
- You can now check the current version of Que's database schema with `Que.db_version`.
|
478
|
+
- The method for enqueuing a job has been renamed from `MyJob.queue` to `MyJob.enqueue`, since we were beginning to use the word 'queue' in a LOT of places. `MyJob.queue` still works, but it may be removed at some point.
|
479
|
+
- The variables for setting the defaults for a given job class have been changed from `@default_priority` to `@priority` and `@default_run_at` to `@run_at`. The old variables still work, but like `Job.queue`, they may be removed at some point.
|
480
|
+
- Log lines now include the machine's hostname, since a pid alone may not uniquely identify a process.
|
481
|
+
- Multiple queues are now supported. See [the docs](https://github.com/que-rb/que/blob/master/docs/multiple_queues.md) for details. (chanks, joevandyk)
|
482
|
+
- Rubinius 2.2 is now supported. (brixen)
|
483
|
+
- Job classes may now define their own logic for determining the retry interval when a job raises an error. See [error handling](https://github.com/que-rb/que/blob/master/docs/error_handling.md) for more information.
|
372
484
|
|
373
|
-
|
485
|
+
## 0.5.0 (2014-01-14)
|
374
486
|
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
* Fix security vulnerability in parsing JSON from the DB (by specifying create_additions: false). This shouldn't be a concern unless you were passing untrusted user input in your job arguments. (hmac)
|
384
|
-
|
385
|
-
---
|
386
|
-
|
387
|
-
### 0.12.1 (2017-01-22)
|
388
|
-
|
389
|
-
* Fix incompatibility with Rails 5.0. (#166) (nbibler, thedarkone)
|
390
|
-
|
391
|
-
---
|
392
|
-
|
393
|
-
### 0.12.0 (2016-09-09)
|
394
|
-
|
395
|
-
* The error_handler configuration option has been renamed to error_notifier, which is more descriptive of what it's actually supposed to do. You can still use error_handler for configuration, but you'll get a warning.
|
396
|
-
|
397
|
-
* Introduced a new framework for handling errors on a per-job basis. See the docs for more information. (#106, #147)
|
398
|
-
|
399
|
-
---
|
400
|
-
|
401
|
-
### 0.11.6 (2016-07-01)
|
402
|
-
|
403
|
-
* Fix for operating in nested transactions in Rails 5.0. (#160) (greysteil)
|
404
|
-
|
405
|
-
---
|
406
|
-
|
407
|
-
### 0.11.5 (2016-05-13)
|
408
|
-
|
409
|
-
* Fix error when running `que -v`. (#154) (hardbap)
|
410
|
-
|
411
|
-
---
|
412
|
-
|
413
|
-
### 0.11.4 (2016-03-03)
|
414
|
-
|
415
|
-
* Fix incompatibility with ActiveRecord 5.0.0.beta3. (#143, #144) (joevandyk)
|
416
|
-
|
417
|
-
---
|
418
|
-
|
419
|
-
### 0.11.3 (2016-02-26)
|
420
|
-
|
421
|
-
* Fixed bug with displaying the current version of the que executable. (#122) (hardbap)
|
422
|
-
|
423
|
-
* Output to STDOUT when running via the executable or rake task is no longer buffered. This prevented logging in some cases. (#129) (hmarr)
|
424
|
-
|
425
|
-
* Officially added support for Ruby 2.2 and 2.3.
|
426
|
-
|
427
|
-
* String literals are now frozen on Ruby 2.3.
|
428
|
-
|
429
|
-
---
|
430
|
-
|
431
|
-
### 0.11.2 (2015-09-09)
|
432
|
-
|
433
|
-
* Fix Job class constantizing when ActiveSupport isn't loaded. (#121) (godfat)
|
434
|
-
|
435
|
-
---
|
436
|
-
|
437
|
-
### 0.11.1 (2015-09-04)
|
438
|
-
|
439
|
-
* The `rake que:work` rake task that was specific to Rails has been deprecated and will be removed in Que 1.0. A deprecation warning will display when it is run.
|
440
|
-
|
441
|
-
---
|
442
|
-
|
443
|
-
### 0.11.0 (2015-09-04)
|
444
|
-
|
445
|
-
* A command-line program has been added that can be used to work jobs in a more flexible manner than the previous rake task. Run `que -h` for more information.
|
446
|
-
|
447
|
-
* The worker pool will no longer start automatically in the same process when running the rails server - this behavior was too prone to breakage. If you'd like to recreate the old behavior, you can manually set `Que.mode = :async` in your app whenever conditions are appropriate (classes have loaded, a database connection has been established, and the process will not be forking).
|
448
|
-
|
449
|
-
* Add a Que.disable_prepared_transactions= configuration option, to make it easier to use tools like pgbouncer. (#110)
|
450
|
-
|
451
|
-
* Add a Que.json_converter= option, to configure how arguments are transformed before being passed to the job. By default this is set to the `Que::INDIFFERENTIATOR` proc, which provides simple indifferent access (via strings or symbols) to args hashes. If you're using Rails, the default is to convert the args to HashWithIndifferentAccess instead. You can also pass it the Que::SYMBOLIZER proc, which will destructively convert all keys in the args hash to symbols (this will probably be the default in Que 1.0). If you want to define a custom converter, you will usually want to pass this option a proc, and you'll probably want it to be recursive. See the implementations of Que::INDIFFERENTIATOR and Que::SYMBOLIZER for examples. (#113)
|
452
|
-
|
453
|
-
* When using Que with ActiveRecord, workers now call `ActiveRecord::Base.clear_active_connections!` between jobs. This cleans up connections that ActiveRecord leaks when it is used to access mutliple databases. (#116)
|
454
|
-
|
455
|
-
* If it exists, use String#constantize to constantize job classes, since ActiveSupport's constantize method behaves better with Rails' autoloading. (#115, #120) (joevandyk)
|
456
|
-
|
457
|
-
---
|
458
|
-
|
459
|
-
### 0.10.0 (2015-03-18)
|
460
|
-
|
461
|
-
* When working jobs via the rake task, Rails applications are now eager-loaded if present, to avoid problems with multithreading and autoloading. (#96) (hmarr)
|
462
|
-
|
463
|
-
* The que:work rake task now uses whatever logger Que is configured to use normally, rather than forcing the use of STDOUT. (#95)
|
464
|
-
|
465
|
-
* Add Que.transaction() helper method, to aid in transaction management in migrations or when the user's ORM doesn't provide one. (#81)
|
466
|
-
|
467
|
-
---
|
468
|
-
|
469
|
-
### 0.9.2 (2015-02-05)
|
470
|
-
|
471
|
-
* Fix a bug wherein the at_exit hook in the railtie wasn't waiting for jobs to finish before exiting.
|
472
|
-
|
473
|
-
* Fix a bug wherein the que:work rake task wasn't waiting for jobs to finish before exiting. (#85) (tycooon)
|
474
|
-
|
475
|
-
---
|
476
|
-
|
477
|
-
### 0.9.1 (2015-01-11)
|
478
|
-
|
479
|
-
* Use now() rather than 'now' when inserting jobs, to avoid using an old value as the default run_at in prepared statements. (#74) (bgentry)
|
480
|
-
|
481
|
-
---
|
482
|
-
|
483
|
-
### 0.9.0 (2014-12-16)
|
484
|
-
|
485
|
-
* The error_handler callable is now passed two objects, the error and the job that raised it. If your current error_handler is a proc, as recommended in the docs, you shouldn't need to make any code changes, unless you want to use the job in your error handling. If your error_handler is a lambda, or another callable with a strict arity requirement, you'll want to change it before upgrading. (#69) (statianzo)
|
486
|
-
|
487
|
-
---
|
488
|
-
|
489
|
-
### 0.8.2 (2014-10-12)
|
490
|
-
|
491
|
-
* Fix errors raised during rollbacks in the ActiveRecord adapter, which remained silent until Rails 4.2. (#64, #65) (Strech)
|
492
|
-
|
493
|
-
---
|
494
|
-
|
495
|
-
### 0.8.1 (2014-07-28)
|
496
|
-
|
497
|
-
* Fix regression introduced in the `que:work` rake task by the `mode` / `worker_count` disentangling in 0.8.0. (#50)
|
498
|
-
|
499
|
-
---
|
500
|
-
|
501
|
-
### 0.8.0 (2014-07-12)
|
502
|
-
|
503
|
-
* A callable can now be set as the logger, like `Que.logger = proc { MyLogger.new }`. Que uses this in its Railtie for cleaner initialization, but it is also available for public use.
|
504
|
-
|
505
|
-
* `Que.mode=` and `Que.worker_count=` now function independently. That is, setting the worker_count to a nonzero number no longer sets mode = :async (triggering the pool to start working jobs), and setting it to zero no longer sets mode = :off. Similarly, setting the mode to :async no longer sets the worker_count to 4 from 0, and setting the mode to :off no longer sets the worker_count to 0. This behavior was changed because it was interfering with configuration during initialization of Rails applications, and because it was unexpected. (#47)
|
506
|
-
|
507
|
-
* Fixed a similar bug wherein setting a wake_interval during application startup would break worker awakening after the process was forked.
|
508
|
-
|
509
|
-
---
|
510
|
-
|
511
|
-
### 0.7.3 (2014-05-19)
|
512
|
-
|
513
|
-
* When mode = :sync, don't touch the database at all when running jobs inline. Needed for ActiveJob compatibility (#46).
|
514
|
-
|
515
|
-
---
|
516
|
-
|
517
|
-
### 0.7.2 (2014-05-18)
|
518
|
-
|
519
|
-
* Fix issue wherein intermittent worker wakeups would not work after forking (#44).
|
520
|
-
|
521
|
-
---
|
522
|
-
|
523
|
-
### 0.7.1 (2014-04-29)
|
524
|
-
|
525
|
-
* Fix errors with prepared statements when ActiveRecord reconnects to the database. (dvrensk)
|
526
|
-
|
527
|
-
* Don't use prepared statements when inside a transaction. This negates the risk of a prepared statement error harming the entire transaction. The query that benefits the most from preparation is the job-lock CTE, which is never run in a transaction, so the performance impact should be negligible.
|
528
|
-
|
529
|
-
---
|
530
|
-
|
531
|
-
### 0.7.0 (2014-04-09)
|
532
|
-
|
533
|
-
* `JobClass.queue(*args)` has been deprecated and will be removed in version 1.0.0. Please use `JobClass.enqueue(*args)` instead.
|
534
|
-
|
535
|
-
* The `@default_priority` and `@default_run_at` variables have been deprecated and will be removed in version 1.0.0. Please use `@priority` and `@run_at` instead, respectively.
|
536
|
-
|
537
|
-
* Log lines now include the process pid - its omission in the previous release was an oversight.
|
538
|
-
|
539
|
-
* The [Pond gem](https://github.com/chanks/pond) is now supported as a connection. It is very similar to the ConnectionPool gem, but creates connections lazily and is dynamically resizable.
|
540
|
-
|
541
|
-
---
|
542
|
-
|
543
|
-
### 0.6.0 (2014-02-04)
|
544
|
-
|
545
|
-
* **A schema upgrade to version 3 is required for this release.** See [the migration doc](https://github.com/que-rb/que/blob/master/docs/migrating.md) for information if you're upgrading from a previous release.
|
546
|
-
|
547
|
-
* You can now run a job's logic directly (without enqueueing it) like `MyJob.run(arg1, arg2, other_arg: arg3)`. This is useful when a job class encapsulates logic that you want to invoke without involving the entire queue.
|
548
|
-
|
549
|
-
* You can now check the current version of Que's database schema with `Que.db_version`.
|
550
|
-
|
551
|
-
* The method for enqueuing a job has been renamed from `MyJob.queue` to `MyJob.enqueue`, since we were beginning to use the word 'queue' in a LOT of places. `MyJob.queue` still works, but it may be removed at some point.
|
552
|
-
|
553
|
-
* The variables for setting the defaults for a given job class have been changed from `@default_priority` to `@priority` and `@default_run_at` to `@run_at`. The old variables still work, but like `Job.queue`, they may be removed at some point.
|
554
|
-
|
555
|
-
* Log lines now include the machine's hostname, since a pid alone may not uniquely identify a process.
|
556
|
-
|
557
|
-
* Multiple queues are now supported. See [the docs](https://github.com/que-rb/que/blob/master/docs/multiple_queues.md) for details. (chanks, joevandyk)
|
558
|
-
|
559
|
-
* Rubinius 2.2 is now supported. (brixen)
|
560
|
-
|
561
|
-
* Job classes may now define their own logic for determining the retry interval when a job raises an error. See [error handling](https://github.com/que-rb/que/blob/master/docs/error_handling.md) for more information.
|
562
|
-
|
563
|
-
---
|
564
|
-
|
565
|
-
### 0.5.0 (2014-01-14)
|
566
|
-
|
567
|
-
* When running a worker pool inside your web process on ActiveRecord, Que will now wake a worker once a transaction containing a queued job is committed. (joevandyk, chanks)
|
568
|
-
|
569
|
-
* The `que:work` rake task now has a default wake_interval of 0.1 seconds, since it relies exclusively on polling to pick up jobs. You can set a QUE_WAKE_INTERVAL environment variable to change this. The environment variable to set a size for the worker pool in the rake task has also been changed from WORKER_COUNT to QUE_WORKER_COUNT.
|
570
|
-
|
571
|
-
* Officially support Ruby 1.9.3. Note that due to the Thread#kill problems (see "Remove Que.stop!" below) there's a danger of data corruption when running under 1.9, though.
|
572
|
-
|
573
|
-
* The default priority for jobs is now 100 (it was 1 before). Like always (and like delayed_job), a lower priority means it's more important. You can migrate the schema version to 2 to set the new default value on the que_jobs table, though it's only necessary if you're doing your own INSERTs - if you use `MyJob.queue`, it's already taken care of.
|
574
|
-
|
575
|
-
* Added a migration system to make it easier to change the schema when updating Que. You can now write, for example, `Que.migrate!(version: 2)` in your migrations. Migrations are run transactionally.
|
576
|
-
|
577
|
-
* The logging format has changed to be more easily machine-readable. You can also now customize the logging format by assigning a callable to Que.log_formatter=. See the new doc on [logging](https://github.com/que-rb/que/blob/master/docs/logging.md)) for details. The default logger level is INFO - for less critical information (such as when no jobs were found to be available or when a job-lock race condition has been detected and avoided) you can set the QUE_LOG_LEVEL environment variable to DEBUG.
|
578
|
-
|
579
|
-
* MultiJson is now a soft dependency. Que will use it if it is available, but it is not required.
|
580
|
-
|
581
|
-
* Remove Que.stop!.
|
487
|
+
- When running a worker pool inside your web process on ActiveRecord, Que will now wake a worker once a transaction containing a queued job is committed. (joevandyk, chanks)
|
488
|
+
- The `que:work` rake task now has a default wake_interval of 0.1 seconds, since it relies exclusively on polling to pick up jobs. You can set a QUE_WAKE_INTERVAL environment variable to change this. The environment variable to set a size for the worker pool in the rake task has also been changed from WORKER_COUNT to QUE_WORKER_COUNT.
|
489
|
+
- Officially support Ruby 1.9.3. Note that due to the Thread#kill problems (see "Remove Que.stop!" below) there's a danger of data corruption when running under 1.9, though.
|
490
|
+
- The default priority for jobs is now 100 (it was 1 before). Like always (and like delayed_job), a lower priority means it's more important. You can migrate the schema version to 2 to set the new default value on the que_jobs table, though it's only necessary if you're doing your own INSERTs - if you use `MyJob.queue`, it's already taken care of.
|
491
|
+
- Added a migration system to make it easier to change the schema when updating Que. You can now write, for example, `Que.migrate!(version: 2)` in your migrations. Migrations are run transactionally.
|
492
|
+
- The logging format has changed to be more easily machine-readable. You can also now customize the logging format by assigning a callable to Que.log_formatter=. See the new doc on [logging](https://github.com/que-rb/que/blob/master/docs/logging.md)) for details. The default logger level is INFO - for less critical information (such as when no jobs were found to be available or when a job-lock race condition has been detected and avoided) you can set the QUE_LOG_LEVEL environment variable to DEBUG.
|
493
|
+
- MultiJson is now a soft dependency. Que will use it if it is available, but it is not required.
|
494
|
+
- Remove Que.stop!.
|
582
495
|
|
583
496
|
Using Thread#raise to kill workers is a bad idea - the results are unpredictable and nearly impossible to spec reliably. Its purpose was to prevent premature commits in ActiveRecord/Sequel when a thread is killed during shutdown, but it's possible to detect that situation on Ruby 2.0+, so this is really better handled by the ORMs directly. See the pull requests for [Sequel](https://github.com/jeremyevans/sequel/pull/752) and [ActiveRecord](https://github.com/rails/rails/pull/13656).
|
584
497
|
|
585
498
|
Now, when a process exits, if the worker pool is running (whether in a rake task or in a web process) the exit will be stalled until all workers have finished their current jobs. If you have long-running jobs, this may take a long time. If you need the process to exit immediately, you can SIGKILL without any threat of commiting prematurely.
|
586
499
|
|
587
|
-
|
588
|
-
|
589
|
-
### 0.4.0 (2014-01-05)
|
590
|
-
|
591
|
-
* Que.wake_all! was added, as a simple way to wake up all workers in the pool.
|
500
|
+
## 0.4.0 (2014-01-05)
|
592
501
|
|
593
|
-
|
594
|
-
|
595
|
-
|
502
|
+
- Que.wake_all! was added, as a simple way to wake up all workers in the pool.
|
503
|
+
- Que.sleep_period was renamed to the more descriptive Que.wake_interval.
|
504
|
+
- When queueing a job, Que will wait until the current transaction commits and then wake a background worker, if possible. This allows newly queued jobs to be started immediately instead of waiting for a worker to wake up and poll, which may be up to `Que.wake_interval` seconds.
|
596
505
|
|
597
506
|
This feature currently only works with Sequel, since there doesn't seem to be a clean way to do it on ActiveRecord (if anyone can figure one out, please let me know). Note that if you're using ActiveRecord, you can always manually trigger a single worker to wake up and check for work by manually calling Que.wake! after your transaction completes.
|
507
|
+
- Add Que.job_stats, which queries the database and returns statistics on the different job classes - for each class, how many are queued, how many are currently being worked, what is the highest error_count, and so on.
|
508
|
+
- Add Que.worker_states, which queries the database and returns all currently-locked jobs and info on their workers' connections - what and when was the last query they ran, are they waiting on locks, and so on.
|
509
|
+
- Have Que only clear advisory locks that it has taken when locking jobs, and not touch any that may have been taken by other code using the same connection.
|
510
|
+
- Add Que.worker_count, to retrieve the current number of workers in the pool of the current process.
|
511
|
+
- Much more internal cleanup.
|
598
512
|
|
599
|
-
|
600
|
-
|
601
|
-
* Add Que.worker_states, which queries the database and returns all currently-locked jobs and info on their workers' connections - what and when was the last query they ran, are they waiting on locks, and so on.
|
602
|
-
|
603
|
-
* Have Que only clear advisory locks that it has taken when locking jobs, and not touch any that may have been taken by other code using the same connection.
|
513
|
+
## 0.3.0 (2013-12-21)
|
604
514
|
|
605
|
-
|
606
|
-
|
607
|
-
* Much more internal cleanup.
|
608
|
-
|
609
|
-
---
|
610
|
-
|
611
|
-
### 0.3.0 (2013-12-21)
|
612
|
-
|
613
|
-
* Add Que.stop!, which immediately kills all jobs being worked in the process.
|
515
|
+
- Add Que.stop!, which immediately kills all jobs being worked in the process.
|
614
516
|
|
615
517
|
This can leave database connections and such in an unpredictable state, and so should only be used when the process is exiting.
|
616
|
-
|
617
|
-
* Use Que.stop! to safely handle processes that exit while Que is running.
|
518
|
+
- Use Que.stop! to safely handle processes that exit while Que is running.
|
618
519
|
|
619
520
|
Previously, a job that was in the middle of a transaction when the process was killed with SIGINT or SIGTERM would have had its work committed prematurely.
|
521
|
+
- Clean up internals and hammer out several race conditions.
|
620
522
|
|
621
|
-
|
622
|
-
|
623
|
-
---
|
523
|
+
## 0.2.0 (2013-11-30)
|
624
524
|
|
625
|
-
|
626
|
-
|
627
|
-
* Officially support JRuby 1.7.5+. Earlier versions may work.
|
525
|
+
- Officially support JRuby 1.7.5+. Earlier versions may work.
|
628
526
|
|
629
527
|
JRuby support requires the use of the `jruby-pg` gem, though that gem seems to currently be incompatible with ActiveRecord, so the ActiveRecord adapter specs don't pass (or even run). It works fine with Sequel and the other adapters, though.
|
528
|
+
- Officially support Rubinius 2.1.1+. Earlier versions may work.
|
529
|
+
- Use `multi_json` so we always use the fastest JSON parser available. (BukhariH)
|
530
|
+
- :sync mode now ignores scheduled jobs (jobs queued with a specific run_at).
|
630
531
|
|
631
|
-
|
632
|
-
|
633
|
-
* Use `multi_json` so we always use the fastest JSON parser available. (BukhariH)
|
634
|
-
|
635
|
-
* :sync mode now ignores scheduled jobs (jobs queued with a specific run_at).
|
636
|
-
|
637
|
-
---
|
638
|
-
|
639
|
-
### 0.1.0 (2013-11-18)
|
640
|
-
|
641
|
-
* Initial public release, after a test-driven rewrite.
|
642
|
-
|
643
|
-
Officially support Ruby 2.0.0 and Postgres 9.2+.
|
644
|
-
|
645
|
-
Also support ActiveRecord and bare PG::Connections, in or out of a ConnectionPool.
|
646
|
-
|
647
|
-
Added a Railtie for easier setup with Rails, as well as a migration generator.
|
532
|
+
## 0.1.0 (2013-11-18)
|
648
533
|
|
649
|
-
|
534
|
+
- Initial public release, after a test-driven rewrite.
|
535
|
+
- Officially support Ruby 2.0.0 and Postgres 9.2+.
|
536
|
+
- Also support ActiveRecord and bare PG::Connections, in or out of a ConnectionPool.
|
537
|
+
- Added a Railtie for easier setup with Rails, as well as a migration generator.
|
650
538
|
|
651
|
-
|
539
|
+
## 0.0.1 (2013-11-07)
|
652
540
|
|
653
|
-
|
541
|
+
- Copy-pasted from an app of mine. Very Sequel-specific. Nobody look at it, let's pretend it never happened.
|