C
CanxJS
v1.6.2
  • Learn
  • Blog
  • Showcase
C
CanxJS

Ultra-fast async MVC backend framework for Bun. Build production-ready APIs with elegance and speed.

Resources

  • Documentation
  • Learn
  • Blog
  • Showcase

Documentation

  • Introduction
  • Installation
  • Core Concepts
  • CLI Commands
  • API Reference

Legal

  • Privacy Policy
  • Terms of Service

© 2026 CanxJS. All rights reserved.

Built with ❤️ for Candra Kirana

  • Release Notes
  • Upgrade Guide
  • Downgrade Guide
  • Contribution Guide
Maintenance

Upgrade Guide

Keep your CanxJS application up-to-date with the latest features and security patches.

Upgrading to v1.6.2

Latest

1. Update Dependencies

Run the following command to update canxjs to the latest version:

bash
bun update canxjs

New Features in 1.6

  • WebSocket Support: Built-in real-time communication.
  • Native JSX: Removed React dependency for faster SSR.
  • Global Helpers: route() helper for named reverse routing.
  • Controller API: render() helper for easier view rendering.

Upgrading from 1.4.x to 1.5.x

Breaking Changes

Type Definitions

Stricter type definitions were introduced for Middleware and Controller based classes. Ensure your custom middleware implements the correct CanxMiddleware interface.

General Upgrade Strategy

We follow Semantic Versioning. Major version bumps (2.0.0) indicate breaking changes, while minor (1.6.0) and patch (1.6.2) releases are backward compatible.

  • Always check the Release Notes before upgrading.
  • Run your test suite completely after upgrading: bun test.
  • Check for deprecated warnings in your console output.