Skip to content

fix(cli): prepare 0.2.2 release and update documentation - #414

Merged
yash-pouranik merged 2 commits into
mainfrom
cli/0.2.2
Nov 2, 2026
Merged

yash-pouranik merged 2 commits into
mainfrom
cli/0.2.2

Conversation

@yash-pouranik

@yash-pouranik yash-pouranik commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

cli fixes

Summary by CodeRabbit

  • Updates
    • The CLI now reports its version from the package release, and -v displays the version and exits successfully.
    • Analytics limits now include a webhook limit.
    • Promotional emails now use an urBackend sender and reply-to address by default; these can still be overridden through environment settings.
  • Documentation
    • Updated the CLI documentation link to the current documentation site.

@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ur-backend-web-dashboard Ready Ready Preview Nov 2, 2026 6:57pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
urbackend Skipped Skipped Nov 2, 2026 6:57pm UTC

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 40 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f389c596-53d5-4a9d-b3f5-b217cb92f691
Commits

Reviewing files that changed from the base of the PR and between 7249c8a and 4c43e1e.

Files ignored due to path filters: 5
  • sdks/urbackend-cli/dist/index.cjs is excluded by !**/dist/**
  • sdks/urbackend-cli/dist/index.cjs.map is excluded by !**/dist/**, !**/*.map
  • sdks/urbackend-cli/dist/index.js is excluded by !**/dist/**
  • sdks/urbackend-cli/dist/index.js.map is excluded by !**/dist/**, !**/*.map
  • sdks/urbackend-cli/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 2
  • sdks/urbackend-cli/package.json
  • sdks/urbackend-cli/src/core/constants.ts
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 75b979c9-2b61-4726-9570-e7d696620a56
Commits

Reviewing files that changed from the base of the PR and between d42f680 and 7249c8a.

Files ignored due to path filters: 5
  • sdks/urbackend-cli/dist/index.cjs is excluded by !**/dist/**
  • sdks/urbackend-cli/dist/index.cjs.map is excluded by !**/dist/**, !**/*.map
  • sdks/urbackend-cli/dist/index.js is excluded by !**/dist/**
  • sdks/urbackend-cli/dist/index.js.map is excluded by !**/dist/**, !**/*.map
  • sdks/urbackend-cli/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 6
  • sdks/urbackend-cli/README.md
  • sdks/urbackend-cli/package.json
  • sdks/urbackend-cli/src/index.ts
  • sdks/urbackend-cli/src/services/analytics.service.ts
  • sdks/urbackend-cli/src/types/analytics.ts
  • tools/promotional-emails.js

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The CLI now reads its version from package metadata and uses updated version flags. The README link and package version changed. The analytics limits shape adds webhooksLimit. Promotional email defaults use updated sender and reply-to addresses.

Changes: CLI Version Reporting

Layer / File(s) Summary
CLI version and documentation
sdks/urbackend-cli/package.json, sdks/urbackend-cli/src/index.ts, sdks/urbackend-cli/README.md
The package version is now 0.2.2. The CLI reads its version from package.json; -V and --version use Commander’s built-in version option, and -v prints the version and exits successfully. The README link now points to https://docs.urbackend.in/.

Analytics Limits

Layer / File(s) Summary
Analytics limits shape
sdks/urbackend-cli/src/services/analytics.service.ts, sdks/urbackend-cli/src/types/analytics.ts
GlobalStats.limits adds the numeric webhooksLimit field. The other included lines show no behavior or declaration change.

Promotional Email Defaults

Layer / File(s) Summary
Promotional email address defaults
tools/promotional-emails.js
The default sender is now Yash from urBackend <yash@urbackend.in>, and the default reply-to address is yash@urbackend.in. The environment-variable overrides remain.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: Low · previous review 7249c

The version import presents a bounded CLI typecheck concern that should be checked before release. No broken installation or email-delivery failure was established.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly summarizes the main changes: preparing the CLI 0.2.2 release and updating its documentation.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 4 files. (2 skipped: 2 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

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

  • Fix comments: Fix CodeRabbit comments on this PR

Comment thread sdks/urbackend-cli/src/index.ts Resolved
@yash-pouranik
yash-pouranik temporarily deployed to cli/0.2.2 - urBackend-frankfrut PR #414 November 2, 2026 18:55 — with Render Destroyed
@vercel
vercel Bot temporarily deployed to Preview – urbackend November 2, 2026 18:55 Inactive
@yash-pouranik
yash-pouranik merged commit fe2943c into main Nov 2, 2026
15 checks passed

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – ur-backend-web-dashboard — 4c43e1ef Deployed Nov 2, 2026 by vercel[bot]
Preview – urbackend — 4c43e1ef Deployed Nov 2, 2026 by vercel[bot]
cli/0.2.2 - urBackend-frankfrut PR #414 — 4c43e1ef Deployed Nov 2, 2026 by yash-pouranik
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