Other changes
- Fix
comma_formatsresolution so a superclass'scommablock reopened after a subclass is defined (including ActiveRecord STI subclasses) is picked up instead of using a stale snapshot. - Raise
Comma::CircularStyleReferenceinstead of a stack overflow when named styles reference each other cyclically via__use__. - Add support for Rails 8.0 and 8.1; update the tested Rails matrix to 7.1.6, 7.2.3.2, 8.0.5.1, and 8.1.3.1.
- Document how to export dynamic, per-instance CSV columns and renamed headers.
What's Changed
- fix: raise Comma::CircularStyleReference on cyclic use instead of stack overflow by @eitoball in #173
- Deduplicate column argument parsing between extractors by @eitoball in #174
- build: bump tested Rails versions to 7.1.6, 7.2.3.2, 8.0.5.1, 8.1.3.1 by @eitoball in #175
- docs: explain dynamic CSV columns by @eitoball in #176
- Centralize CSV/style option parsing by @eitoball in #177
- Extract Rails integration from lib/comma.rb by @eitoball in #178
- Unify collection #to_comma extensions by @eitoball in #179
- Incremental spec suite hygiene by @eitoball in #180
- Release 5.1.0 by @eitoball in #181
Full Changelog: v5.0.0...v5.1.0