Skip to content

v2.0.1 - The Namespace Whisperer 🔮

Choose a tag to compare

@kerrizor kerrizor released this 08 Jun 16:15
· 22 commits to master since this release

What's New

A quick patch release to keep your namespaced models happy!

Bug Fixes 🐛

  • Fix mermaid syntax errors for namespaced class names (#450, #451)

    Thanks to @aseroff for reporting that models like Admin::User and Api::V1::Resource were causing Mermaid syntax errors! Turns out Mermaid's erDiagram needs double quotes around entity names containing ::. Now your beautifully organized namespaced Rails models render correctly.

  • Fix test helper for namespaced models (#451)

    While fixing the above, we discovered the test helper create_module_model was creating Admin::Author::Author instead of Admin::Author. Oops! 🙈

Internal 🔧

  • Use temp directory for test output files (#453)

    Tests now write diagram files to the system temp directory instead of polluting the project root. Cleaner repo, happier developers.


Full Changelog: v2.0.0...v2.0.1

Installation

gem 'rails-erd', '~> 2.0.1'