Unreleased
Planned
bazable doctordiagnostic command.bazable envfor environment management.
1.3.5 — 2026-08-29
Added
- Newman / Postman integration:
bazable export --postmanto generate a Postman Collection v2.1.bazable test --newmanto run tests through Newman.bazable ci --newmanto include a Newman step in the generated GitHub Actions workflow.bazable serve --verifyto automatically run Newman against the mock server.bazable gen backend --postmanto generate a Postman collection alongside backend stubs.--reporterand--env-varoptions for Newman inbazable test.
- New internal utilities:
src/utils/postman.js,src/utils/newmanRunner.js,src/utils/security.js,src/utils/spawnSafe.js. - Added
postman-collectionas a dependency.
Changed
exportnow supports both OpenAPI and Postman formats (OpenAPI remains the default).testsupports optional Newman execution (additive, backward compatible).servesupports an optional--verifyflag (default off).gen backendsupports optional--postmanand--testflags.- All child processes now use safe spawn (no shell) via
spawnSafe.js.
1.3.4
Added
- Trusted publishing support:
publishConfig.provenanceandpublishConfig.accessinpackage.json. npm run securityscript for local audit.enginesandfilesfields to reduce package surface.SECURITY.mdfor vulnerability reporting policy.
Changed
watchnow uses the Bazable Cloud API (/projects/:id/contracts/latest) instead of Supabase, reusing the cloud token.watch: auto-fix (inspect --fix) is now opt‑in via the--auto-fixflag.- Replaced
execSyncinwatchwith safe spawn (child_process.spawnwithout a shell). - Updated
.github/workflows/publish.ymlto use OIDC trusted publishing (noNPM_TOKEN).
Fixed
- Replaced
cubrin.comemail in the mock server withexample.comto avoid scanner flags. - Added URL validation (SSRF protection) in
watchfor remote URLs and WebSocket URLs. - Added WebSocket message validation and rate limiting to prevent abuse.
Removed
postinstallscript removed to eliminate install-time code execution risk.
1.3.3
Added
bazable reviewto show provenance and inference confidence.- Provenance tracking: each extracted API URL now records
file,line, andcolumn. - Field-level inference metadata (
confidence,source_value,source_type) stored inrequest_meta.
Changed
extractnow stores provenance andrequest_metainbazable.config.json.inferRequestSchemasFromFileresolves variables across script blocks in the same file.
Fixed
- Accurate line numbers in HTML script blocks for provenance.
1.3.2
Security
- ReDoS protections for glob/regex inputs (
isSafeGlobPattern,isSafeRegex). - SSRF protections for URLs (
isUrlAllowed). - Path traversal prevention via
safeJoin. - Redaction helper for secrets in logs.
1.3.0
Added
bazable lsp(Language Server Protocol).bazable mcp(Model Context Protocol server).bazable curl(raw HTTP request with logging, CORS bypass).gen contextsubcommand for AI agent context files.gen dbsubcommand for Prisma / Supabase SQL.- WebSocket real-time sync in
watch. - CSV seed support for
serve.
Changed
- Cloud sync (
push,sync,watch) now uses device-code OAuth and WebSocket. bazable --versionreads frompackage.json.
1.2.0
Added
explain,propose, andacceptfor AI-assisted contract negotiation.review(early version).exportto produce an OpenAPI spec.hookto install a pre-push Git hook.cito generate a GitHub Actions workflow.uifor the local dashboard.docsto generate static API documentation.importfor OpenAPI / Swagger / Postman / CSV.testwith mock mode and auto-login.typesandclientgeneration.
Changed
- Extraction engine improved with presets, template literals, and multi-base URL support.
servenow supports CSV seeding.
1.1.0
Added
- Basic contract management:
init,add,extract,inspect,config,login,errors. diffto compare the stored schema with a live API.errorsto view and clear the persistent error log.