online_migrations 0.33.0 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f092b18d7bc864ba2232a41727e136bb86469279bdc3ad4c04a49a49628fb95
4
- data.tar.gz: b7349d9b1c818ed4fefd078f7262bb380bb22a34109be13d2ead3191f338dbc9
3
+ metadata.gz: 5ea2552d8a879bacf5a5f8360a13aeafa9b36bec50943b359eb2d0501532ceb0
4
+ data.tar.gz: 251b3bee148c70f37d86892ce985a93ee664a2623111de38b9fcff47b6be4baa
5
5
  SHA512:
6
- metadata.gz: 4a52e29b327dbecae7f1c31fa4020fa5b428c5f830ea34215695bfd827c787c90146dda6dd12045a5c7f4cc2136741bb1a08b76b2a3ad7273f69c028d192a764
7
- data.tar.gz: 6175ee34939fbdc6c21605320c36cfdeca971458381e1d6e465e7b464b302914f87f69c7bbcfc50c3b150fc9b9d6d8d34e0d0a1fd2a0573940aa1efa36e983a5
6
+ metadata.gz: 295c89b41757157ce16b7b2585d3516cd2900b1ba0291523c2e689991002669e08ba3928fc23b1047a92dbd0f225436f0b2f8ed9c7b6803fee8a4e56c4ef4239
7
+ data.tar.gz: 16c0ada6d9a4e07271eae3a1a509f23a4756a5af3eebf172ca4971680b1c799f148c2f7bbeeffdcfce2e600cf24095e1663f03d6de00dd692af803ccdad22f62
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## master (unreleased)
2
2
 
3
+ ## 0.33.1 (2026-02-05)
4
+
5
+ - Allow "running" to "enqueued" state transition for stuck background data migrations
6
+
3
7
  ## 0.33.0 (2026-02-04)
4
8
 
5
9
  - Change background migrations default status to "pending"
@@ -13,12 +13,14 @@ module OnlineMigrations
13
13
  # enqueued -> failed occurs when the migration job fails to be enqueued, or
14
14
  # if the migration is deleted before is starts running.
15
15
  "enqueued" => ["running", "paused", "cancelled", "failed"],
16
+ # running -> enqueued occurs when the migration is stuck and rescheduled by the scheduler.
16
17
  # running -> succeeded occurs when the migration completes successfully.
17
18
  # running -> pausing occurs when a user pauses the migration as it's performing.
18
19
  # running -> cancelling occurs when a user cancels the migration as it's performing.
19
20
  # running -> errored occurs when the migration raised an error during the last run.
20
21
  # running -> failed occurs when the migration raises an error when running and retry attempts exceeded.
21
22
  "running" => [
23
+ "enqueued",
22
24
  "succeeded",
23
25
  "pausing",
24
26
  "cancelling",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OnlineMigrations
4
- VERSION = "0.33.0"
4
+ VERSION = "0.33.1"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: online_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.33.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - fatkodima
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-02-04 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activerecord
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.6.2
118
+ rubygems_version: 4.0.3
119
119
  specification_version: 4
120
120
  summary: Catch unsafe PostgreSQL migrations in development and run them easier in
121
121
  production