Documentation Index
Fetch the complete documentation index at: https://docs.ub.bitbros.in/llms.txt
Use this file to discover all available pages before exploring further.
Improvements
SDK v0.4.1 — Updated JavaScript/TypeScript SDK docs and signatures to support token-aware read flows in private RLS mode.getAll, getOne, and count now accept an optional token parameter so publishable-key clients can perform authenticated private reads. View SDK docsBug fixes
- Fixed JS SDK private-RLS read compatibility by forwarding Bearer tokens on
getAll,getOne, andcount - Fixed
getAllresponse handling to correctly unwrap{ items, total, page, limit } - Updated SDK guidance to clarify
public-readvsprivatetoken requirements
New features
Free and Pro plans — urBackend now ships with a multi-tier plan system. The Free plan covers everyday use, while Pro unlocks higher limits and advanced capabilities. Bring-your-own MongoDB (BYOM) is available on every plan; bring-your-own storage (BYOS) and bring-your-own mail key (BYOK) are now Pro features. See limits and quotasRazorpay billing with UPI support — Subscriptions are now powered by Razorpay, with UPI and Indian card support alongside international cards. The upgrade flow opens in a Razorpay Checkout overlay and redirects you back automatically once payment is complete.In-product upgrade flow — A new upgrade modal and paywall surface plan-gated features in context. When you hit a Free-plan limit, you’ll see exactly what’s blocked and how to upgrade. You can also submit a manual Pro request from the dashboard if you’d prefer to talk to us first.Real-time usage tracking on the dashboard — Project pages now show live usage against your plan’s quotas (database, storage, mail, and API calls), so you know where you stand before you hit a limit.Mail templates — Send transactional email using named templates instead of inline HTML. urBackend ships a set of system templates that everyone can use; Pro projects can create and override their own custom templates and preview them from the dashboard. See mail templates · API referencePresigned upload flow for storage — File uploads now use a three-step presigned URL flow that streams the binary directly to your storage backend. The dashboard uploader has been migrated to the new flow, and the same flow is available through the public API and SDK. See the storage guide · API referenceOfficial Python SDK — A newurbackend package for Python is available, covering auth, database, storage, and mail. Install it from PyPI and use the same project credentials as the JavaScript SDK.Improvements
Strip internal metadata from API responses — Public read endpoints accept a new?meta=false query flag to omit internal metadata fields from the response, making payloads smaller and easier to consume on the client.Hardened presigned upload confirmation — The confirm step now tolerates retries and small size drift between the upload and the recorded object, so transient network issues don’t fail an otherwise successful upload.System mail templates available on Free — Built-in system templates (verification, password reset, magic link, etc.) work on every plan. Custom mail templates remain a Pro feature.Bug fixes
- Fixed Razorpay webhook signature verification by capturing the raw request body before parsing
- Excluded the Razorpay webhook endpoint from CSRF protection so callbacks always succeed
- Removed an invalid
callback_urlfield from Razorpay subscription creation that caused some checkouts to fail - Resolved several mail template issues around idempotency, validation, and per-project usage counters
- Fixed the monthly mail quota not always reflecting the latest delivery state
- Patched NoSQL injection vectors in the billing and limit-enforcement paths
New features
Advanced query operators — Filter your data with new query suffixes:_ne (not equal), _in (match any in a list), _exists (check field presence), and _regex (case-insensitive pattern matching). These join the existing _gt, _gte, _lt, and _lte operators. Regex patterns are capped at 128 characters for safety. Learn moreDocument count method — Use client.db.count() in the SDK to count documents in a collection with optional filters, without fetching all the data. View SDK docsDashboard dark mode — Toggle between light and dark themes from the sidebar. Your preference is saved automatically.Database pagination — The database view in the dashboard now includes pagination controls and URL-synced search, making it easier to browse large collections.Improvements
Dashboard UI overhaul — The dashboard has been redesigned with a streamlined “Command Center” layout. Project details, analytics, auth management, storage, and database views have all been refreshed for clarity and speed.SDK CommonJS support — The JavaScript/TypeScript SDK now ships with CommonJS entry points alongside ESM, so it works out of the box in Node.js projects that userequire(). View SDK docsImproved RLS filter controls — Row-level security settings in the dashboard are now more responsive, with optimized filter reactivity.Bug fixes
- Fixed pagination counting logic that could show incorrect totals
- Resolved SDK import and build errors that affected some bundler configurations
- Improved API error responses for invalid query filters — bad filters now return
400 Bad Requestwith a clear message instead of a generic server error
New features
Webhook system — You can now receive HTTP callbacks when data changes in your collections. Webhooks are secured with HMAC-SHA256 signatures, support automatic retries, and include delivery logs. Configure them from the new Webhooks page in the dashboard. Learn moreAggregation API with row-level security — Run MongoDB aggregation pipelines through the REST API. Aggregation queries respect row-level security rules, so authenticated frontend users can run them safely with a publishable key.Bring-your-own-key (BYOK) mail — Connect your own Resend API key to send transactional email from your project. Auth emails (verification, password reset) are automatically routed through your key when configured. Monthly quota tracking is enforced per project. Learn moreRelational population — Use thepopulate query parameter on read endpoints to resolve references between collections in a single request, similar to SQL joins. Pagination limits are clamped automatically for safety. Learn moreAPI health endpoint — A new GET /api/health endpoint returns the status of MongoDB and Redis dependencies, useful for uptime monitoring and deployment checks.Dashboard GitHub OAuth login — Sign in to the urBackend dashboard with your GitHub account. Existing email-based accounts are linked automatically.Improvements
Redesigned dashboard — The main dashboard now shows overall usage across all your projects, including API calls, storage, and mail quotas. An onboarding checklist and quick-links section help you get started faster.SDK v0.2.0 — The JavaScript/TypeScript SDK now covers the full API surface, including auth (social login, password reset, email verification), database operations with populate support, mail, and schema management. View SDK docsHardened social authentication — Query-parameter API keys are now restricted to publishable keys only and are stripped from the request after validation. JWK caching uses single-flight loading to prevent thundering-herd issues.Bug fixes
- Fixed OTP verification failures on the dashboard login flow
- Fixed mail sending from the dashboard UI
- Resolved a password field leak when populating user-linked collections
- Fixed schema index rollback errors when pre-existing indexes conflicted with new schema definitions
- Standardized API response parsing across all endpoints
- Fixed monthly mail quota not rolling back on failed BYOK deliveries
