Skip to content

Bump rails-erd from 1.7.2 to 2.0.2#896

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

Bump rails-erd from 1.7.2 to 2.0.2#896
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/bundler/rails-erd-2.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 26, 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 26, 2026
Copilot AI review requested due to automatic review settings June 26, 2026 09:24
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jun 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown

Test coverage

92.04% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/28433374413

@zetter-rpf

Copy link
Copy Markdown
Contributor

Just checking if people are using it here, and will need to find how to decide if graph-viz needs to be included.

@zetter-rpf zetter-rpf self-requested a review June 29, 2026 10:02
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 43d06af to 9fb901a Compare June 29, 2026 15:29

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9fb901a. Configure here.

Comment thread Gemfile.lock Outdated
@raspberrypiherokubot raspberrypiherokubot temporarily deployed to editor-api-p-dependabot-fg6cw4 June 29, 2026 15:35 Inactive
The newer version requires some changes to keep pdfs working
I asked the team and no one is using it so remove, we can add it again if we have a need
I did look at the generated output and it did look overly complex - I think a simplified curated diagram might be more useful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed 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.

3 participants