Skip to content

Release 2.0.0 - #16

Merged
h0rv merged 2 commits into
mainfrom
release-2.0.0
Oct 23, 2026
Merged

h0rv merged 2 commits into
mainfrom
release-2.0.0

Conversation

@h0rv

@h0rv h0rv commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Bumps the version to 2.0.0. Since 1.0.0 there are breaking changes:

  • Python 3.11 or newer is required.
  • Bad colors and out-of-range numbers raise ValueError when an object is built.
  • text_transform="title" is now "capitalize", and the inside-* label positions are replaced by the plain positions. D2 never accepted the old values.
  • A name or label you quoted yourself is now treated as literal text.
  • The example command and the d2.main module are removed.

The release notes are drafted and go in the GitHub release.

🤖 Generated with Claude Code

h0rv and others added 2 commits October 23, 2026 11:25
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	pyproject.toml
@h0rv
h0rv merged commit c541f80 into main Oct 23, 2026
17 of 18 checks passed
@h0rv
h0rv deleted the release-2.0.0 branch October 23, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant