What's New in nself


๐Ÿš€ Latest Updates - v0.3.8 (August 17th, 2025)

v0.3.8 - Enterprise-Grade Features & Advanced Automation

Revolutionary release that transforms nself into an enterprise-ready platform while maintaining its signature simplicity.

Key Features:

  • Zero-Config Automatic SSL: Auto-detection across domains, daily renewal checks, seamless certificate management
  • Enterprise Monitoring Suite: Live monitoring dashboard, comprehensive metrics collection, Prometheus/Datadog integration
  • Advanced Backup System: 10+ backup commands with S3 support, automated retention policies, integrity verification
  • Container Operations & Scaling: Secure exec with environment injection, intelligent resource scaling, auto-scaling functionality
  • Recovery & Rollback: Comprehensive rollback system for version, database, and configuration states
  • 33 CLI Commands: Expanded from simple 3-command setup to enterprise-grade toolkit (still just 3 commands to get started!)
  • 115+ Shell Scripts: Robust functionality with 58 library files for modular architecture

New Commands:

  • nself validate - Advanced configuration validation with profile-based validation
  • nself exec - Secure container command execution with environment injection
  • nself metrics - Comprehensive metrics collection system
  • nself monitor - Live monitoring dashboard with real-time service health
  • nself scale - Intelligent resource scaling with CPU/memory control
  • nself rollback - Comprehensive rollback system
  • nself backup + 10 subcommands - Advanced backup management

๐ŸŽฏ v0.3.7 Updates (August 16th, 2025)

v0.3.7 - Critical Fixes & Release Infrastructure

Critical fixes and complete release infrastructure for production-ready deployments.

Key Features:

  • Complete Release Infrastructure: Automated GitHub releases, multi-platform Docker images, release automation
  • Critical Bug Fixes: Fixed nginx SSL certificate path resolution, http2 deprecation warnings, logs command execution
  • Standardized Output Formatting: Unified help system with consistent command output across the CLI
  • CI/CD Pipeline: GitHub Actions with ShellCheck compliance and multi-arch support (amd64, arm64)
  • Production Configuration Fixes: Resolved filename generation issues for production environment files
  • 100% Backward Compatibility: Patch release with all tests passing on Linux, macOS, and WSL

๐ŸŽฏ v0.3.6 & v0.3.5 Updates (August 15th, 2025)

v0.3.6 - Enhanced Command Structure & Container Reliability

Cleaner command structure with improved container recovery and health management.

Key Features:

  • New Primary Commands: nself start and nself stop for intuitive control (up/down still work)
  • Fixed Container Recovery: Resolved nginx and auth container auto-fixer failures
  • Enhanced Error Detection: Better handling of minimal Docker images and OCI runtime errors
  • Improved Health Checks: Smarter recovery strategies for container health issues
  • 100% Backward Compatibility: Existing scripts continue working without changes

v0.3.5 - Complete SSL/HTTPS Support & 100% Service Reliability

Production-ready SSL support with automatic certificate generation and perfect service reliability.

Key Features:

  • Automatic SSL Certificates: Uses mkcert for dual domain support: *.localhost and *.local.nself.org
  • 100% Service Success Rate: All 17/17 services now run successfully with enhanced reliability monitoring
  • Green Lock Browser Compatibility: HTTP to HTTPS redirect ensures secure connections
  • Smart Port Allocation: Reserved 3000-3099 for frontend apps, system services moved to 3100+ range
  • Fixed Volume & Module Issues: Source-only volume mounting, eliminated Node.js module loading errors

๐Ÿš€ v0.3.4 & v0.3.3 Updates (August 14th, 2025)

v0.3.4 - Standardized Headers & Improved Stability

Professional CLI experience with standardized command headers and critical stability improvements.

Key Features:

  • Standardized Command Headers: Consistent professional headers with blue borders across all commands
  • Service Detection Fixes: Resolved container state detection and management issues
  • Auto-Fix System Improvements: Fixed syntax errors and multi-line output issues in health checks
  • Nginx Configuration Updates: Fixed storage port mismatch and updated to modern http2 directive
  • Better Visual Hierarchy: Bold command titles with dim descriptive subtitles

v0.3.3 - Intelligent Auto-Fix System

Revolutionary release that transforms how nself handles issues with automatic problem resolution by default.

Key Features:

  • Auto-Fix Now Default: ALWAYS_AUTOFIX=true automatically resolves configuration issues
  • New `nself clean` Command: Manage Docker resources with precision, reclaim disk space instantly
  • Service Auto-Generation: Automatically creates missing NestJS, BullMQ, Go, Python services
  • Advanced Port Resolution: Proactive port checking with automatic reassignment
  • 30 Retry Attempts: Robust problem resolution with zero manual intervention
  • Build System Enhancements: Fully idempotent build command with graceful partial build handling

๐ŸŽฏ v0.3.0 - v0.3.2 Updates (August 11-12, 2025)

v0.3.2 - Critical Command Resolution Fixes

Patch release fixing critical command resolution issues and improving the installation experience.

Key Fixes:

  • Command Resolution: Fixed bug where nself --version, help, and other commands were failing
  • SCRIPT_DIR Corruption: Resolved issues with sourced utility files overwriting CLI script directory
  • Installation Improvements: Enhanced install script with proper ASCII art and professional formatting
  • All 19 Commands Working: Full functionality restored across all documented commands

v0.3.1 - Enhanced Configuration Validation

Dramatically improved robustness with comprehensive configuration validation and automatic error fixing.

Key Features:

  • 25+ Validation Checks: Comprehensive validation for .env files with detailed error reporting
  • Smart Auto-Fix System: 25+ automated fixes for common configuration errors
  • Professional Output Formatting: Perfect text alignment in all boxed messages and banners
  • Environment File Priority: Strict hierarchy: .env > .env.local > .env.dev (no merging)
  • Advanced Validations: IP addresses, SSL configs, timezones, and service list validation

v0.3.0 - Major Architecture Refactor

Complete architectural overhaul introducing modular src-centric design with smart defaults.

Major Changes:

  • Modular Architecture: Complete refactor from monolithic to src-centric modular design
  • Smart Defaults System: Zero configuration required with intelligent cascading
  • Simplified Commands: nself init only creates env files, build generates project structure
  • Real-time Service Monitoring: Color-coded status indicators with improved log filtering
  • Full macOS Compatibility: Complete bash 3.2 support with Docker Desktop auto-start

๐ŸŽฏ v0.2.x Updates (August 6-9, 2025)

v0.2.4 - Complete Email Management

The latest release focuses on production-ready email capabilities with zero-configuration development setup and comprehensive provider support.

Key Features:

  • Zero-Config Development: MailPit automatically captures and displays all emails sent in development
  • 16+ Email Providers: Full support for SendGrid, AWS SES, Mailgun, SMTP, and more
  • Interactive Setup Wizard: nself email setup guides you through provider configuration
  • Smart Provider Detection: Automatic configuration based on environment variables
  • 2-Minute Production Setup: Get production email working in under 2 minutes

v0.2.3 - SSL Trust & Developer Experience

This release eliminates browser security warnings and improves the local development experience.

Key Features:

  • Automatic SSL Trust: Uses mkcert to eliminate "Not Secure" warnings in development
  • Nhost Dashboard Access: Local dashboard now works seamlessly with trusted certificates
  • Enhanced CLI Commands: New nself trust and nself diff commands
  • Critical Bug Fixes: Resolved JWT secret parsing, environment variables, and service port issues
  • Hot Reload System: Experimental hot reload for faster development iterations

๐ŸŽฏ v0.2.0 Major Release (August 6th, 2025)

nself v0.2.0 represents a major milestone in the evolution of the nself platform. This release introduces comprehensive database management capabilities, enhanced developer experience, and significant improvements to the overall CLI interface.

Major New Features

Comprehensive Database Management Suite

The headline feature of v0.2.0 is a complete database management system that transforms how you work with your PostgreSQL database:

Schema-First Development with DBML

  • DBML Integration: Define your database schema using the intuitive Database Markup Language
  • Automatic Migration Generation: Generate SQL migrations automatically from schema changes
  • Visual Schema Design: Seamless integration with dbdiagram.io for collaborative visual design
  • Schema Validation: Built-in validation to catch errors before deployment

Advanced Migration System

  • Up/Down Migrations: Full migration rollback support for safe database changes
  • Migration History: Track and manage all database changes with complete history
  • Production Safety: Enhanced safety checks and confirmation prompts for production deployments
  • Batch Operations: Process multiple migrations efficiently

Database Seeding & Testing

  • Flexible Seeding: Support for JSON and SQL seed data formats
  • Environment-Specific Data: Different seed datasets for development, staging, and production
  • Automated Seeding: Optional automatic seeding during project initialization

Enhanced CLI Experience

Improved Command Interface

  • Intuitive Commands: Reorganized command structure with logical grouping
  • Interactive Mode: Guided workflows for complex operations
  • Rich Output: Better formatting, progress indicators, and colored output
  • Comprehensive Help: Improved help system with examples and best practices

Developer Experience Enhancements

  • Auto-completion: Shell completion support for all commands
  • Configuration Validation: Real-time validation of configuration files
  • Error Reporting: Better error messages with actionable solutions
  • Debug Mode: Enhanced debugging capabilities with detailed logging

๐Ÿš€ Performance Improvements

Startup Performance

  • 40% faster project initialization
  • 60% faster Docker image builds
  • Parallel processing for service generation
  • Optimized templates for quicker scaffolding

Runtime Optimizations

  • Improved memory usage during large operations
  • Better resource management for long-running processes
  • Optimized file I/O for faster file operations

๐Ÿ”ง Microservices Enhancements

NestJS Improvements

  • Updated to NestJS 10.x: Latest framework version with all improvements
  • Enhanced TypeScript support: Better type safety and IntelliSense
  • Improved GraphQL integration: Better Hasura integration patterns
  • Advanced testing templates: Comprehensive test setups

BullMQ Worker Templates

  • Job flow management: Built-in support for complex job workflows
  • Enhanced monitoring: Better dashboard integration and metrics
  • Retry strategies: Configurable retry logic with exponential backoff
  • Priority queues: Support for job prioritization

Go & Python Services

  • Go 1.21 support: Latest Go version with performance improvements
  • Python 3.11 integration: FastAPI templates with async/await patterns
  • Cross-service communication: gRPC and HTTP client templates
  • Container optimization: Smaller, more efficient Docker images

๐Ÿ“Š Monitoring & Observability

Health Checks

  • Service health monitoring: Built-in health check endpoints
  • Database health tracking: Connection and query performance monitoring
  • External service checks: Monitor dependencies like Redis and external APIs

Logging Improvements

  • Structured logging: JSON-formatted logs for better parsing
  • Log aggregation: Centralized logging across all services
  • Debug tracing: Enhanced debug information for troubleshooting

๐Ÿ” Security Enhancements

Production Hardening

  • Security headers: Automatic security header configuration
  • SSL/TLS improvements: Better certificate management
  • Environment isolation: Enhanced environment separation
  • Secret management: Improved handling of sensitive configuration

Development Security

  • Local HTTPS: Easy HTTPS setup for local development
  • CORS configuration: Better cross-origin request handling
  • API security: Built-in rate limiting and validation

๐ŸŒ Integration Improvements

dbdiagram.io Integration

  • Bidirectional sync: Two-way synchronization between code and visual designs
  • Team collaboration: Better support for team-based design workflows
  • Version control: Track visual design changes alongside code

CI/CD Enhancements

  • GitHub Actions templates: Ready-to-use workflow templates
  • Docker Compose integration: Better container orchestration
  • Environment promotion: Streamlined deployment pipelines

๐Ÿ“ฑ Platform Support

Operating System Updates

  • macOS Apple Silicon: Native M1/M2 chip support
  • Windows WSL2: Improved Windows Subsystem for Linux integration
  • Linux distributions: Broader Linux distribution support

Package Manager Support

  • Direct Binary Installation: Automated installer script for all platforms
  • Manual Installation: Support for custom installation paths
  • Package Managers: Package manager support planned for future releases

๐Ÿ”„ Migration from v0.1.x

Automated Migration

v0.2.0 includes an automated migration tool to upgrade existing projects:

# Upgrade existing project to v0.2.0
nself upgrade

# Review changes before applying
nself upgrade --dry-run

# Backup before upgrading
nself upgrade --backup

Breaking Changes

  • Configuration format: New environment variable organization
  • Directory structure: Introduction of database/ directory
  • Command changes: Some commands renamed for better consistency

Migration Required

Existing v0.1.x projects require migration to v0.2.0. The migration tool handles most changes automatically, but review the Migration Guide for detailed instructions.

๐ŸŽ‰ Community Contributions

Contributors

v0.2.0 includes contributions from our growing community:

  • 15 new contributors from around the world
  • 200+ commits since v0.1.0
  • 50+ issues resolved and features implemented
  • Documentation improvements from community feedback

Community Feedback

  • Schema management: Most requested feature finally delivered
  • Developer experience: Significant improvements based on user feedback
  • Performance optimization: Community-identified bottlenecks resolved

๐Ÿ”ฎ Looking Ahead

v0.3.0 Preview

Here's what's coming in the next major release:

  • Multi-cloud deployment: AWS, GCP, and Azure support
  • Kubernetes integration: Native K8s deployment templates
  • Monitoring stack: Integrated Prometheus, Grafana, and alerting
  • API gateway: Built-in API gateway with rate limiting and caching

๐Ÿ“– Getting Started with v0.2.0

New Installation

# Install nself v0.2.0
curl -fsSL nself.org/install.sh | bash

# Create a new project
mkdir my-backend && cd my-backend
nself init

# Start building
nself build && nself up

Upgrading from v0.1.x

# Update nself CLI
nself update

# Migrate existing project
nself upgrade

# Rebuild with new features
nself build && nself restart

๐Ÿ™ Acknowledgments

Special thanks to:

  • Early adopters who provided invaluable feedback
  • Contributors who helped shape this release
  • The open-source community for the excellent tools that make nself possible
  • Beta testers who helped identify and resolve issues

nself v0.2.0 represents months of dedicated work to create the most comprehensive and user-friendly backend development platform. We're excited to see what you build with these new capabilities!

Next Steps

Ready to explore v0.2.0? Start here: