Repository navigation
v0.9.0: final docs + polish before the RC cut - #24
Conversation
Last batch before 1.0.0-rc.1. No runtime API change; surface is identical to 0.7.0. - public_member_api_docs lint enabled. Every public exported symbol carries dartdoc; internal FFI bindings and self-documenting option fields suppress the rule with a targeted ignore + reason. - dart doc --dry-run passes with 0 warnings / 0 errors. - README rewritten for the 0.9.0 surface. Install pin bumped, dead *Args references removed, Config/Quicktype examples match the 0.5.0 shape, transports section leads with "Prefer auto", bundle source documents the body-read timeout / atomic write / SRI validation from 0.4.x. - GenerateTransport enum values now carry per-case docstrings. - One-line dartdoc added to Config, ConfigException, QuicktypeCommand, QuicktypeException, RendererOptions, DefaultPaths constants. Deferred (tracked): - CancellationToken support — wants consumer feedback before locking in; punted to post-1.0 RFC. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ates
Two fixes folded on top of the v0.9.0 docs commit:
1. coverage:test_with_coverage emits absolute SF: paths. The
startsWith('lib/') filter never matched, aborting with 'no lib/
files in coverage/lcov.info'. Added _normalizePath() to trim the
absolute prefix.
2. Thresholds recalibrated to the unit-test-only baseline the
current suite can reach (45% overall, config 90%,
native_bundle_cache 70%). Modules that need real quicktype /
browser / native lib (backend_io, backend_web, ffi_runtime) ride
a 0% floor until unit + integration + browser coverage get
merged into one lcov — tracked post-RC.
Also adds coverage/ to .gitignore so local runs don't get committed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 10 minutes and 32 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (44)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Sorry @jake-dev-99, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
The shared renderer-option coercer added in the v0.6.0 CodeRabbit fix is a top-level function in renderer_options.dart, which the public barrel re-exports. Updating the snapshot so the gate passes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
Sixth and final in the rebuilt release chain. Last version before
1.0.0-rc.1. No runtime API change.Doc coverage
public_member_api_docslint enabled. Every public exported symbol carries dartdoc; self-documenting option fields and internal FFI bindings suppress the rule with a targeted// ignore_for_file+ reason.dart doc --dry-run— 0 warnings, 0 errors.README refresh
^0.9.0.*Argsreferences (removed back in 0.4.0).Config/Quicktypeexamples match the 0.5.0 shape.auto".CI threshold fix (folded in)
tool/check_coverage.dartnow normalizes the absoluteSF:paths emitted bycoverage:test_with_coverage— the original v0.7.0 thresholds aborted with "no lib/ files" because the filter never matched.config.dart≥ 90%,native_bundle_cache.dart≥ 70%.backend_io/backend_web/ffi_runtimeride a 0% floor until unit+integration+browser lcov get merged post-RC.Small doc additions
GenerateTransportenum values get per-case docstrings.Config,ConfigException,QuicktypeCommand,QuicktypeException,RendererOptions,DefaultPaths.*.Deferred
CancellationTokenongenerate— wants consumer feedback before locking in; post-1.0 RFC.Test plan
dart analyze --fatal-infos --fatal-warnings— 0 issues (withpublic_member_api_docson)dart test test/unit— 82/82 passdart doc --dry-run— 0 warningsdart run tool/sync_version.dart— all stamps at 0.9.0dart run tool/api_snapshot.dart— committed snapshot matchesdart run tool/check_coverage.dart— all gates pass locallyNext
After this lands: cut
v1.0.0-rc.1viatool/sync_version.dart --write→ tag →.github/workflows/release.ymlpublishes to pub.dev.🤖 Generated with Claude Code