Releases: DamageLabs/paper_trail_manager
Releases · DamageLabs/paper_trail_manager
v1.0.0 🎉
Paper Trail Manager 1.0 — the first major release since the 2026 modernization.
What's New in 1.0
- Default stylesheet for changes views (event color coding, diff highlighting, responsive layout)
- Rails install generator (
rails generate paper_trail_manager:install) - I18n support for all UI strings (30 translation keys)
- Date range filtering (
?from=and?to=query parameters) - Authorization security fix (
allow_show?now uses correct block) - 50 tests across authorization, helpers, response formats, and date filtering
Compatibility
- Ruby 3.1, 3.2, 3.3
- Rails 7.0, 7.1
- PaperTrail 12.x, 15.x
- Kaminari or WillPaginate
Full Changelog
See CHANGELOG.md for complete history from 0.0.0 to 1.0.0.
v0.9.0
- Add date range filtering to changes index via
fromandtoquery parameters - Add date filter UI with date inputs, filter button, and clear link
- Add Rails install generator (
rails generate paper_trail_manager:install) - Add I18n support for all UI strings (30 translation keys, default English locale)
- Add authorization integration tests
- Add unit tests for ChangesHelper methods
- Add specs for JSON and Atom response formats
- Host apps can override any translation key
- Test count: 19 → 50
v0.8.0
- Fix
allow_show?callingallow_index_blockinstead ofallow_show_block(security fix) - Fix gemspec
authorsfield being overwritten by misplacedemailassignment - Fix
PER_PAGEconstant (50) not being used as default pagination - Fix broken HTML structure in show view (nested
<tr>tags) and index view (unwrapped<td>) - Add date range filtering to changes index via
fromandtoquery parameters - Add date filter UI with date inputs, filter button, and clear link
- Add authorization integration tests
- Add unit tests for ChangesHelper methods
- Add specs for JSON and Atom response formats
- Add date range filter tests
- Drop support for Rails < 7.0
- Add support for Ruby 3.1, 3.2, and 3.3
- Add support for PaperTrail 12.x and 15.x
v0.7.0
v0.6.0
- Add support for linking changes to user records via
PaperTrailManager.whodunnit_name_methodandPaperTrailManager.user_path_method - Add new
PaperTrailManager.item_name_methodconfiguration option - Add support for paper_trail 4.x
- Refactoring, code simplification, and performance improvements
v0.5.0
- Added support for pagination with Kaminari in addition to will_paginate.
- [!] Removed direct dependency on will_paginate. You must now include either
will_paginateorkaminariin your Gemfile. - Fixed a bug with route generation when paper_trail_manager is used within another Rails engine.
v0.4.0
v0.3.0
v0.2.0
- Add support for Rails 3.1 and 3.2, while retaining support for Rails 3.0.
- Add test suite to check engine against multiple versions. This test suite is derived from Mike Dalessio's "loofah-activerecord" gem, available at https://github.com/flavorjones/loofah-activerecord