All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Bump
pg
to~> 1.3.1
- Bump
pgslice
to0.4.7
- Bump various development dependencies
- Rubocop project
- Add
required_ruby_version >= 3.0.0
- Added better examples/docs.
- Bump
pg
to~> 1.2.2
- Fix #31 where the new connection retry code was eagerly initializing the logger
- Fix #19 where PgDice wouldn't recover from a broken PG::Connection by adding new retry behavior
- Fix bug where partitioning by months would break when the month was < 10
- Add
only:
option toassert_tables
so users can assert on onlypast
orfuture
tables if they wish. - Fix #21 by adding documentation on how to migrate existing data from unpartitioned tables
- Do not eagerly initialize the
pg_connection
as this can cause some normalrails
tasks to break (like database dropping). #24
- Fix behavior of
undo_partitioning
to drop intermediate tables ifpartition_table
failed before swapping tables.
- Bump up
approved_tables
toPgDice
module.
- Delegate methods from the management classes onto the
PgDice
module itself.- This means the api for this project is significantly more simple to use.
- Renamed
PartitionManager.list_batched_droppable_partitions
toPartitionManager.list_droppable_partitions_by_batch_size
- Readme updated
- Changelog added