1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00

Cherry-pick of release 10.0.0

This commit is contained in:
Jared Beck 2018-09-01 16:30:47 -04:00
parent 0726460a29
commit 6ebdb381d7
3 changed files with 35 additions and 17 deletions

View file

@ -3,10 +3,24 @@
This project follows [semver 2.0.0](http://semver.org/spec/v2.0.0.html) and the
recommendations of [keepachangelog.com](http://keepachangelog.com/).
## 10.0.0 (Unreleased)
## Unreleased
### Breaking Changes
- None
### Added
- None
### Fixed
- None
## 10.0.0 (2018-09-01)
PT 10 tackles some tough issues that required breaking changes. We fixed a
long-standing issue with STI, and saved major disk space in databases with tens
rare issue with STI, and saved major disk space in databases with tens
of millions of version records. Special thanks to @lorint and @seanlinsley,
respectively.
@ -18,8 +32,10 @@ respectively.
### Breaking changes affecting fewer people
- `paper_trail-association_tracking` is no longer a runtime dependency. If you
- [db9c392d](https://github.com/paper-trail-gem/paper_trail/commit/db9c392d) -
`paper_trail-association_tracking` is no longer a runtime dependency. If you
use it (`track_associations = true`) you must now add it to your own `Gemfile`.
See also [PT-AT #7](https://github.com/westonganger/paper_trail-association_tracking/issues/7)
- [#1130](https://github.com/paper-trail-gem/paper_trail/pull/1130) -
Removed `save_changes`. For those wanting to save space, it's more effective
to drop the `object` column. If you need ultimate control over the

View file

@ -13,6 +13,7 @@ has been destroyed.
| Version | Documentation |
| -------------- | ------------- |
| Unreleased | https://github.com/paper-trail-gem/paper_trail/blob/master/README.md |
| 10.0.0 | https://github.com/paper-trail-gem/paper_trail/blob/v10.0.0/README.md |
| 9.2.0 | https://github.com/paper-trail-gem/paper_trail/blob/v9.2.0/README.md |
| 8.1.2 | https://github.com/paper-trail-gem/paper_trail/blob/v8.1.2/README.md |
| 7.1.3 | https://github.com/paper-trail-gem/paper_trail/blob/v7.1.3/README.md |
@ -79,18 +80,19 @@ has been destroyed.
### 1.a. Compatibility
| paper_trail | branch | tags | ruby | activerecord |
| -------------- | ---------- | ------ | -------- | ------------- |
| unreleased | master | | >= 2.3.0 | >= 4.2, < 6 |
| 9 | 9-stable | v9.x | >= 2.3.0 | >= 4.2, < 6 |
| 8 | 8-stable | v8.x | >= 2.2.0 | >= 4.2, < 5.2 |
| 7 | 7-stable | v7.x | >= 2.1.0 | >= 4.0, < 5.2 |
| 6 | 6-stable | v6.x | >= 1.9.3 | >= 4.0, < 5.2 |
| 5 | 5-stable | v5.x | >= 1.9.3 | >= 3.0, < 5.1 |
| 4 | 4-stable | v4.x | >= 1.8.7 | >= 3.0, < 5.1 |
| 3 | 3.0-stable | v3.x | >= 1.8.7 | >= 3.0, < 5 |
| 2 | 2.7-stable | v2.x | >= 1.8.7 | >= 3.0, < 4 |
| 1 | rails2 | v1.x | >= 1.8.7 | >= 2.3, < 3 |
| paper_trail | branch | ruby | activerecord |
| -------------- | ---------- | -------- | ------------- |
| unreleased | master | >= 2.3.0 | >= 4.2, < 6 |
| 10 | 10-stable | >= 2.3.0 | >= 4.2, < 6 |
| 9 | 9-stable | >= 2.3.0 | >= 4.2, < 6 |
| 8 | 8-stable | >= 2.2.0 | >= 4.2, < 5.2 |
| 7 | 7-stable | >= 2.1.0 | >= 4.0, < 5.2 |
| 6 | 6-stable | >= 1.9.3 | >= 4.0, < 5.2 |
| 5 | 5-stable | >= 1.9.3 | >= 3.0, < 5.1 |
| 4 | 4-stable | >= 1.8.7 | >= 3.0, < 5.1 |
| 3 | 3.0-stable | >= 1.8.7 | >= 3.0, < 5 |
| 2 | 2.7-stable | >= 1.8.7 | >= 3.0, < 4 |
| 1 | rails2 | >= 1.8.7 | >= 2.3, < 3 |
### 1.b. Installation

View file

@ -7,8 +7,8 @@ module PaperTrail
# because of this confusion, but it's not worth the breaking change.
# People are encouraged to use `PaperTrail.gem_version` instead.
module VERSION
MAJOR = 9
MINOR = 2
MAJOR = 10
MINOR = 0
TINY = 0
# Set PRE to nil unless it's a pre-release (beta, rc, etc.)