> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/trailbaseio/trailbase/llms.txt
> Use this file to discover all available pages before exploring further.

# Roadmap

> Future plans and development roadmap for TrailBase

TrailBase is under active development with regular releases. This roadmap outlines planned features, improvements, and the direction of the project.

<Note>
  TrailBase is currently in **alpha** status. The API may change as we work toward a stable 1.0 release. See the [changelog](/resources/changelog) for recent changes.
</Note>

## Current Status

TrailBase is production-capable but still evolving:

* **Version**: 0.24.x (alpha)
* **Stability**: APIs are stabilizing but may still change
* **Production Use**: Used in real projects, but expect some rough edges
* **Release Cadence**: Frequent updates with new features and improvements

<Info>
  Check the [GitHub releases](https://github.com/trailbaseio/trailbase/releases/) page for the latest version and release notes.
</Info>

## Path to 1.0

Our focus for reaching a stable 1.0 release:

<CardGroup cols={2}>
  <Card title="API Stability" icon="lock">
    Finalize core APIs and minimize breaking changes
  </Card>

  <Card title="Documentation" icon="book">
    Comprehensive guides, examples, and API references
  </Card>

  <Card title="Testing" icon="vial">
    Extensive test coverage and real-world validation
  </Card>

  <Card title="Performance" icon="gauge-high">
    Continue optimizations and benchmark improvements
  </Card>
</CardGroup>

## Near-Term Priorities

Features and improvements planned for upcoming releases:

### Admin UI Enhancements

<Accordion title="Mobile Experience">
  * ✅ Responsive layout improvements (ongoing)
  * ⏳ Touch-optimized controls
  * ⏳ Mobile-specific data entry forms
  * ⏳ Offline admin capabilities
</Accordion>

<Accordion title="Data Management">
  * ✅ Visual ERD schema browser
  * ✅ Column sorting in table explorer
  * ⏳ Advanced filtering UI
  * ⏳ Bulk edit operations
  * ⏳ Data import/export wizard
  * ⏳ Query builder interface
</Accordion>

<Accordion title="Developer Experience">
  * ✅ SQL editor with syntax highlighting
  * ✅ Dry-run for schema changes
  * ⏳ GraphQL API generation
  * ⏳ API playground improvements
  * ⏳ Better error messages and debugging
</Accordion>

### Geospatial Features

<Accordion title="GeoJSON & Spatial Queries">
  * ✅ GeoJSON geometry support (v0.24.0)
  * ✅ Spatial filter operators (@within, @intersects, @contains)
  * ✅ LiteGIS SQLite extension
  * ⏳ Map-based data editing in admin UI
  * ⏳ Spatial index optimization
  * ⏳ More geometry types and operations
  * ⏳ Routing and distance calculations
</Accordion>

TrailBase now has first-class geospatial support! We're continuing to improve the developer experience and add more spatial capabilities.

### WASM Extensibility

<Accordion title="Component System">
  * ✅ WASM component model (wasmtime-based)
  * ✅ JavaScript, TypeScript, and Rust guest support
  * ✅ Custom HTTP endpoints
  * ✅ Background jobs
  * ✅ Custom SQLite extension functions
  * ⏳ Middleware hooks
  * ⏳ Component marketplace/registry
  * ⏳ Simplified component development workflow
  * ⏳ More host APIs available to guests
</Accordion>

<Accordion title="Performance & Capabilities">
  * ✅ Shared executor and work stealing
  * ✅ Hot-reload in dev mode (SIGHUP)
  * ⏳ Component-model async support
  * ⏳ Streaming request/response bodies
  * ⏳ Component-to-component communication
  * ⏳ More language support (Python, Ruby, etc.)
</Accordion>

### Multi-Database Support

<Accordion title="Database Management">
  * ✅ Multiple independent databases (v0.22.0)
  * ✅ Config-driven DB lifecycle
  * ✅ Per-DB migrations and file uploads
  * ⏳ Database templates for multi-tenancy
  * ⏳ Automatic sharding support
  * ⏳ Cross-database transaction coordination
  * ⏳ Simplified multi-DB configuration UI
</Accordion>

### Authentication & Authorization

<Accordion title="Auth Features">
  * ✅ OAuth providers (Google, GitHub, Discord, etc.)
  * ✅ OIDC support
  * ✅ User import from Auth0
  * ✅ PKCE flow for mobile/desktop
  * ⏳ User import from more providers (Firebase, Supabase)
  * ⏳ Social login improvements
  * ⏳ Two-factor authentication (2FA)
  * ⏳ Magic link authentication
  * ⏳ WebAuthn/passkey support
</Accordion>

<Accordion title="Access Control">
  * ✅ Row-level security rules
  * ✅ Record API access configuration
  * ⏳ Column-level permissions
  * ⏳ Time-based access rules
  * ⏳ Role-based access control (RBAC) helpers
  * ⏳ Attribute-based access control (ABAC)
</Accordion>

## Mid-Term Goals

Features planned for the next 6-12 months:

### Developer Experience

* **CLI improvements**: Better tooling for development, testing, and deployment
* **Type generation**: Automatic TypeScript/Dart/Swift types from schema
* **GraphQL API**: Generated GraphQL endpoint alongside REST
* **OpenAPI enhancements**: Complete OpenAPI 3.0 specification
* **Dev mode improvements**: Better debugging, logging, and error messages
* **Testing utilities**: Built-in testing harness for WASM components and APIs

### Collaboration Features

* **Operational transforms**: Better conflict resolution for collaborative editing
* **Presence awareness**: Real-time user presence tracking
* **Cursors and selections**: Share cursor positions across clients
* **Comments and annotations**: Built-in commenting system

### Data Management

* **Full-text search**: Integrated FTS5 support in Record APIs
* **Vector search improvements**: Better integration with sqlite-vec
* **Audit logging**: Comprehensive change tracking
* **Data versioning**: Track record history and enable time-travel queries
* **Soft deletes**: Configurable soft-delete behavior

### Infrastructure

* **Replication**: SQLite replication for read scaling
* **Backup automation**: Scheduled backups with retention policies
* **Monitoring**: Built-in metrics and health checks
* **Distributed tracing**: OpenTelemetry integration improvements
* **High availability**: Multi-node deployment options

### Platform Support

* **Mobile embedding**: TrailBase as an embedded database for mobile apps
* **Edge runtime**: Optimized builds for edge platforms
* **Browser WASM**: TrailBase compiled to WebAssembly for browser use
* **Smaller binaries**: Reduced binary size through better optimization

## Long-Term Vision

Where we see TrailBase going:

### Plugin Ecosystem

* **Component marketplace**: Discover and install community components
* **Official plugins**: Pre-built components for common use cases
* **Template library**: Starter templates for different application types
* **Component versioning**: Semantic versioning and compatibility

### Horizontal Mobility

* **Import/export utilities**: Easy migration to and from other platforms
* **Adapter layer**: Compatibility with Firebase/Supabase SDKs
* **Portable components**: WASM components that work across platforms
* **Standard formats**: Follow open standards wherever possible

### AI Integration

* **Embeddings API**: Built-in vector embedding generation
* **RAG helpers**: Retrieval-augmented generation utilities
* **AI-powered queries**: Natural language to SQL translation
* **Schema suggestions**: AI-assisted schema design

### Enterprise Features

* **Audit compliance**: SOC2, GDPR, HIPAA helpers
* **SSO integration**: SAML, LDAP support
* **Advanced monitoring**: Enterprise observability integrations
* **Commercial support**: Paid support and licensing options

## Community Requests

Frequently requested features we're considering:

* **PostgreSQL backend option**: Alternative to SQLite for specific use cases
* **Real-time collaboration SDK**: Higher-level collaboration primitives
* **CMS capabilities**: Content management features
* **Workflow engine**: State machines and approval flows
* **Scheduling**: Cron-like job scheduling
* **Email templates**: Visual email template editor
* **SMS integration**: Built-in SMS provider support

<Info>
  Want to influence the roadmap? Join the discussion on [GitHub Discussions](https://github.com/trailbaseio/trailbase/discussions) or Discord!
</Info>

## Contributing to the Roadmap

You can help shape TrailBase's future:

<CardGroup cols={2}>
  <Card title="Feature Requests" icon="lightbulb" href="https://github.com/trailbaseio/trailbase/issues/new">
    Propose new features on GitHub Issues
  </Card>

  <Card title="Discussions" icon="comments" href="https://github.com/trailbaseio/trailbase/discussions">
    Join roadmap discussions
  </Card>

  <Card title="Vote on Issues" icon="thumbs-up" href="https://github.com/trailbaseio/trailbase/issues">
    React to issues you care about
  </Card>

  <Card title="Contribute Code" icon="code" href="/resources/contributing">
    Implement features yourself
  </Card>
</CardGroup>

## Release Notes

For detailed information about recent changes:

* **[Changelog](/resources/changelog)**: Version history and release notes
* **[GitHub Releases](https://github.com/trailbaseio/trailbase/releases/)**: Full release information
* **[Blog](https://trailbase.io/blog)**: Deep dives into major features

## Stability Guarantees

As we work toward 1.0:

### Current (Alpha)

* ⚠️ APIs may change between minor versions
* ⚠️ Database migrations may be required
* ⚠️ Configuration format may evolve
* ✅ Client libraries updated alongside server
* ✅ Deprecation warnings before removal

### Post-1.0 (Planned)

* ✅ Semantic versioning
* ✅ No breaking changes in patch releases
* ✅ Deprecation cycle for breaking changes
* ✅ Long-term support (LTS) releases
* ✅ Stable plugin API

## Stay Updated

Follow TrailBase development:

* **GitHub**: Watch the [repository](https://github.com/trailbaseio/trailbase) for updates
* **Twitter**: Follow [@trailbaseio](https://twitter.com/trailbaseio)
* **Discord**: Join the community Discord server
* **Blog**: Read updates at [trailbase.io/blog](https://trailbase.io/blog)
* **Newsletter**: Subscribe for major announcements (coming soon)

<Card title="Support TrailBase" icon="star" href="https://github.com/trailbaseio/trailbase">
  Star the project on GitHub to show your support and stay updated! ⭐
</Card>
