Skip to content

Bump rails-erd from 1.7.2 to 2.0.2#6228

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rails-erd-2.0.2
Open

Bump rails-erd from 1.7.2 to 2.0.2#6228
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rails-erd-2.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 11, 2026

Copy link
Copy Markdown
Contributor

Bumps rails-erd from 1.7.2 to 2.0.2.

Release notes

Sourced from rails-erd's releases.

v2.0.2 - Less Is More ✨

Rails ERD 2.0.2 - Less Is More ✨

Sometimes you just want to keep some things private. Your models have secrets, and now Rails ERD respects that. 🤫

✨ New Features

  • Hide attributes on a per-model basis (#421, #457)

    Ever wanted to show User in your ERD but hide those 47 Devise columns? Now you can! The new exclude_attributes option lets you selectively hide attributes for specific models while keeping everything else visible.

    # .erdconfig
    exclude_attributes:
      User:
        - encrypted_password
        - reset_password_token
        - confirmation_token

    Huge thanks to @​RSeven for this contribution! 🙌

🐛 Bug Fixes

  • Fix crash with polymorphic associations on Rails 8 (#454, #455, #456)

    Rails 8 users with polymorphic associations and the exclude option were getting an unwelcome NoMethodError surprise. Not anymore! Thanks to @​kennethgeerts for squashing this one. 🪲➡️💀


Full Changelog: v2.0.1...v2.0.2

RubyGems: https://rubygems.org/gems/rails-erd

v2.0.1 - The Namespace Whisperer 🔮

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 🔧

... (truncated)

Changelog

Sourced from rails-erd's changelog.

2.0.2

Features

  • Add exclude_attributes option to hide attributes on a per-model basis (#421, #457)

Bug Fixes

  • Fix crash when using exclude option with polymorphic associations on Rails 8 (#454, #455, #456)

2.0.1

Bug Fixes

  • Fix mermaid syntax errors for namespaced class names (#450, #451)
  • Fix test helper to correctly create namespaced models (#451)

Internal

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

2.0.0

Breaking Changes

  • Default generator changed from Graphviz to Mermaid (#448)
  • Default filetype changed from PDF to MMD (#448)
  • Default mermaid_style changed from classDiagram to erDiagram (#448)
  • Default direction changed from RL to TB (top-down) (#448)
  • ruby-graphviz gem is now optional (#448)

New Features

  • Mermaid erDiagram style with crow's foot notation and PK/FK markers (#445)
  • CLI now supports all options that rake task supports (#446, #447)
  • Mermaid direction respects orientation option (#448)

Bug Fixes

  • Fix --only flag with single model (#441)
  • Fix nil destination crash (#440)
  • Fix empty .erdconfig crash (#443)
  • Fix CLI string-to-symbol option conversion (#447)
  • Exclude Rails 8 Solid* internal models (#437, #438, #439)
  • Suppress Ruby 3.4 hash key warnings (#436)

Documentation

  • Updated README for Mermaid as default (#444, #448)
  • Added non-Rails usage example (#444)
Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jun 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Review app deployed to https://register-pr-6228.test.teacherservices.cloud

@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from 33b5e1a to 79aa3cc Compare June 13, 2026 00:08
@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from 79aa3cc to 9afa7da Compare June 15, 2026 08:39
@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from 9afa7da to f7e602b Compare June 15, 2026 13:51
@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from f7e602b to 2c55c8c Compare June 15, 2026 19:46
@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from 2c55c8c to 6d3d139 Compare June 16, 2026 00:09
@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from 6d3d139 to 6b79b72 Compare June 16, 2026 00:40
@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from 6b79b72 to ec16ebc Compare June 16, 2026 08:21
@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from ec16ebc to c2e6dc3 Compare June 17, 2026 00:10
Bumps [rails-erd](https://github.com/voormedia/rails-erd) from 1.7.2 to 2.0.2.
- [Release notes](https://github.com/voormedia/rails-erd/releases)
- [Changelog](https://github.com/voormedia/rails-erd/blob/master/CHANGES.md)
- [Commits](https://github.com/voormedia/rails-erd/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: rails-erd
  dependency-version: 2.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/rails-erd-2.0.2 branch from c2e6dc3 to 49ea440 Compare June 17, 2026 00:43
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants