Skip to content

Version 5.1.0

Latest

Choose a tag to compare

@eitoball eitoball released this 06 Sep 06:40
9ff92ce

Other changes

  • Fix comma_formats resolution so a superclass's comma block reopened after a subclass is defined (including ActiveRecord STI subclasses) is picked up instead of using a stale snapshot.
  • Raise Comma::CircularStyleReference instead 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