Skip to content

Bump rails-erd from 1.7.2 to 2.0.2#896

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#896
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 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 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

Copy link
Copy Markdown

Test coverage

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

@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
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.

2 participants