Repository navigation
ArchSpec 1.3 moves to Prism 2 and Herb 0.11.2, so it can share a bundle with the current Herb, ReActionView, RuboCop, and Minitest again. Nothing changes in how you declare or check your architecture.
New
- ArchSpec runs on Prism 2 and Herb 0.11.2. Herb writes ERB programs in its bundled Prism's format, and Prism reads only its own major version's output, so the two move together: ArchSpec now requires Prism 2 with Herb 0.11.2 or a later 0.11 release. Run
bundle update archspec herb prismto move. By @crmne.
Fixed
- An incomplete constant path such as
Foo::is still a syntax diagnostic on Prism 2, not a crash. Prism 2 renamed the error it raises for these. By @crmne.
Known limitations
- ArchSpec 1.3 can't share a bundle with a gem that requires Prism 1 or Herb 0.11.1 and older. Stay on ArchSpec 1.2.2 until those gems allow Prism 2; most current releases do, such as rubocop-ast 1.51, minitest 6.1, and flay 2.14.5.
- Ruby files are parsed with the syntax of the Ruby running ArchSpec, Prism 2's default, rather than the newest syntax Prism knows. Run ArchSpec on the Ruby your app uses.
Thanks
@marcoroth for Herb 0.11.2, and @kddnewton and the Prism maintainers for Prism 2.
Full changelog: v1.2.2...v1.3.0