Skip to content

build(deps): bump goa.design/model from 1.8.0 to 1.11.2 #668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2025

Bumps goa.design/model from 1.8.0 to 1.11.2.

Release notes

Sourced from goa.design/model's releases.

v1.11.2

Bug Fix: Fixed webapp rendering error that prevented the graphical editor from loading

  • Resolved a critical runtime error: TypeError: (j[r.toLowerCase(...)] || j.rectangle) is not a function
  • Fixed shape fallback compatibility between Go backend and frontend
  • The graphical editor now loads correctly when using Shape(ShapeBox) in Go DSL code

Background: This issue was introduced in v1.11.0 during the graphical editor enhancement. The frontend code was changed to expect Rectangle as the default shape, but the Go backend continued to serialize ShapeBox as "Box", causing a mismatch that broke editor rendering.

Impact: Users with models using box shapes (the default shape type) could not load the graphical editor. This particularly affected:

  • Models using the default shape styling
  • Code explicitly using Shape(ShapeBox)
  • The shapes example in /examples/shapes/

Thanks to https://github.com/Not4sure for identifying and reporting this issue!


This release maintains full backward compatibility with existing Go DSL code while restoring editor functionality.

v1.11.1

What's Changed

Fix build issue with v1.11.0 by @​raphael in goadesign/model#943

v1.11.0 Release Notes:

Model v1.11.0 Release Notes

Major Graphical Editor Overhaul

This release represents a significant step forward for the Model graphical editor. We've completely redesigned the user interface and added a comprehensive set of productivity features that make working with architecture diagrams much more efficient.

The most visible change is the new modern toolbar that organizes all editor functions into logical groups. Each button now includes helpful tooltips that show the appropriate keyboard shortcuts for your platform (Cmd on Mac, Ctrl on PC). The toolbar provides visual feedback when features like grid visibility or snap-to-grid are active, making it easier to understand the current editor state.

One of the biggest workflow improvements is the new drag mode system. The editor now has two distinct modes that you can toggle between with the T key or the toolbar button. In select mode, clicking and dragging lets you select elements and move them around - this is perfect when you're actively positioning elements in your diagram. In pan mode, clicking and dragging moves the entire view around, which is ideal when you're navigating large diagrams or just reviewing your work. The cursor changes to indicate which mode you're in, and the toolbar button shows the current state. This eliminates the frustration of accidentally moving elements when you meant to pan the view, or vice versa.

We've introduced a full grid system that transforms how you position elements. You can toggle the grid overlay on and off, enable snap-to-grid for precise alignment, and even snap all existing elements to the grid with a single command. This makes creating clean, professionally aligned diagrams much easier.

The keyboard shortcut system has been completely overhauled with cross-platform support. You can now align elements horizontally and vertically, distribute them with equal spacing, move them with fine or coarse precision, and control every aspect of the grid system without touching the mouse. The editor also supports comprehensive zoom controls and a full undo/redo system.

Multi-element selection has been improved with better visual feedback and more intuitive behavior. You can select multiple elements by shift-clicking or dragging a selection box, then use the alignment and distribution tools to organize them precisely. The selection behavior respects the current drag mode - in select mode, shift-dragging creates a selection box, while in pan mode, the same gesture pans the view.

We've also enhanced the overall user experience with dynamic page titles that show the current view name in your browser tab, making it easier to work with multiple diagrams. The build process for the web application has been streamlined, and we've updated various dependencies to improve performance and security.

Technical Details

... (truncated)

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 9, 2025
Bumps [goa.design/model](https://github.com/goadesign/model) from 1.8.0 to 1.11.2.
- [Release notes](https://github.com/goadesign/model/releases)
- [Commits](goadesign/model@v1.8.0...v1.11.2)

---
updated-dependencies:
- dependency-name: goa.design/model
  dependency-version: 1.11.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/goa.design/model-1.11.2 branch from c944027 to fcabaed Compare June 10, 2025 03:57
@github-actions github-actions bot added the Stale label Jun 21, 2025
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 go Pull requests that update Go code Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants