Skip to content

chore(release): prepare v0.4.0 - #30

Merged
nao1215 merged 2 commits into
mainfrom
release/v0.4.0
May 22, 2026
Merged

nao1215 merged 2 commits into
mainfrom
release/v0.4.0

Conversation

@nao1215

@nao1215 nao1215 commented May 22, 2026

Copy link
Copy Markdown
Owner

Added

  • qrkit/render/png now exposes the same options-builder shape as qrkit/render/svg and qrkit/render/ascii: default_options(), with_module_size, with_margin, with_dark_color, with_light_color, with_background, and to_bit_array_with(qr, options). The existing to_bit_array(qr, scale:, margin:) is preserved as a thin wrapper over the new path. Colour fields accept #rgb, #rrggbb, and #rrggbbaa strings (the alpha component is read but currently honoured only via the with_background(False) toggle, which marks the light palette entry transparent through a tRNS chunk); unparseable strings keep the previous value rather than failing the call, mirroring the SVG renderer's lenient parsing. Closes the parity gap left by feat(render/ascii): expose with_margin (and/or options builder) like the SVG renderer #8. (feat(render/png): expose options builder like the SVG/ASCII renderers #28)

@coderabbitai

coderabbitai Bot commented May 22, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@nao1215 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 53 minutes and 28 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 83311b31-c33a-4094-b8df-4a9737007553

📥 Commits

Reviewing files that changed from the base of the PR and between c986409 and e13e3c6.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • gleam.toml
  • src/qrkit.gleam
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/v0.4.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nao1215
nao1215 merged commit 042f08f into main May 22, 2026
4 checks passed
@nao1215
nao1215 deleted the release/v0.4.0 branch May 22, 2026 08:37
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