-
-
Notifications
You must be signed in to change notification settings - Fork 2
v0.4.0
Release Date: October 13, 2025 Status: ✅ Stable Type: Minor Release
v0.4.0 marks the production-ready milestone for nself. This release focuses on stability, cross-platform compatibility, and ensuring all core features are thoroughly tested and ready for real-world use.
- ✅ Fully Functional Core: All essential commands work correctly
- ✅ Cross-Platform: Compatible with Bash 3.2+ (macOS, Linux, WSL)
- ✅ Thoroughly Tested: 12/12 CI tests passing on all platforms
- ✅ Well Documented: Comprehensive guides and examples
- ✅ Stable Foundation: Reliable base for future enhancements
- PostgreSQL - Production-grade database with 60+ extensions
- Hasura GraphQL - Real-time GraphQL API with subscriptions
- Auth Service - nHost authentication with JWT
- Nginx - Reverse proxy with SSL termination
- Redis - Cache and session storage
- MinIO - S3-compatible object storage
- nself-admin - Web-based management UI (port 3021)
- MailPit - Email testing for development
- MeiliSearch - Fast search engine
- Functions - Serverless functions runtime
- MLflow - ML experiment tracking
When MONITORING_ENABLED=true:
- Prometheus - Metrics collection
- Grafana - Visualization dashboards
- Loki - Log aggregation
- Promtail - Log shipping
- Tempo - Distributed tracing
- Alertmanager - Alert routing
- cAdvisor - Container metrics
- Node Exporter - Host metrics
- Postgres Exporter - Database metrics
- Redis Exporter - Cache metrics
-
nself init- Initialize new project -
nself build- Generate infrastructure -
nself start- Start all services -
nself stop- Stop all services -
nself restart- Restart services -
nself reset- Reset to clean state -
nself clean- Clean Docker resources -
nself restore- Restore from backup
-
nself status- Service health check -
nself logs- View service logs -
nself exec- Execute in containers -
nself urls- Show all routes -
nself doctor- System diagnostics
-
nself ssl- SSL certificate management -
nself trust- Trust local certificates -
nself admin- Admin UI management -
nself version- Version information -
nself update- Self-update tool -
nself help- Command help
Ready-to-use templates for custom services (CS_N):
JavaScript/TypeScript (19):
- Node.js, Express, Fastify, NestJS
- Hono, Socket.IO, BullMQ, Temporal
- Bun, Deno, tRPC, and more
Python (7):
- Flask, FastAPI, Django REST
- Celery, Ray, AI Agents
Go (4):
- Gin, Echo, Fiber, gRPC
Other Languages (10):
- Rust, Java, C#, C++
- Ruby, Elixir, PHP
- Kotlin, Swift
-
Unbound Variable in change-detection.sh
- Fixed
MONITORING_ENABLEDand 13 other service flags - Added proper default values (
${VAR:-default}) - Prevents error on first build run
- File: src/lib/build/core-modules/change-detection.sh
- Fixed
-
Bash 4+ Compatibility Issues
- Replaced
${var^^}withtr '[:lower:]' '[:upper:]' - Fixed 3 instances across codebase
- Now works on macOS Bash 3.2 (default)
- Files: config-validator.sh, service-detection.sh (2 instances)
- Replaced
- Bash 3.2+ compatible (macOS default bash)
- Works on all major Linux distributions
- WSL support verified
- No Bash 4+ features in critical code paths
- 12/12 CI tests passing
- Unit tests cover all major functions
- Integration tests verify full workflows
- Portability tests ensure compatibility
- Updated all version references
- Clarified production-ready status
- Comprehensive ROADMAP for future releases
- Clear separation of current vs planned features
None - v0.4.0 is fully backward compatible with v0.3.9.
-
Update nself:
nself update
-
Verify version:
nself version # Should show v0.4.0 -
Test in development:
cd your-project nself build nself start -
Check status:
nself status nself doctor
- Better error handling
- Improved compatibility
- More stable builds
- Same features you had in v0.3.9
v0.4.0 establishes the stable core. Future v0.4.x releases will add management commands for existing services without changing core functionality.
- v0.4.1 (Q1 2026): Service management commands (email, search, functions, mlflow)
- v0.4.2 (Q2 2026): Monitoring management (metrics, monitor)
- v0.4.3 (Q2 2026): Database operations (db)
- v0.4.4 (Q3 2026): Backup & restore (backup, rollback)
- v0.4.5 (Q3 2026): Production features (prod, deploy)
- v0.4.6 (Q4 2026): Scaling (scale)
See ROADMAP.md for details.
- OS: macOS, Linux, or WSL
- Bash: 3.2+ (macOS default works!)
- Docker: 20.10+
- Docker Compose: 2.0+
- Memory: 2GB minimum
- Disk: 5GB minimum
- ✅ macOS 14+ (Bash 3.2.57)
- ✅ Ubuntu 20.04+ (Bash 5.0+)
- ✅ Debian 11+ (Bash 5.1+)
- ✅ WSL2 (Ubuntu)
- ✅ RHEL/CentOS 8+ (Bash 4.4+)
All tests pass on:
- Ubuntu Latest (Bash 5.x)
- Ubuntu with Bash 3.2
- macOS Latest (Bash 3.2)
Test coverage:
- ShellCheck linting (error-level)
- Portability checks (Bash 3.2+ features only)
- Unit tests (12 test suites)
- Integration tests (6 scenarios)
- File permission tests
- Auth Service Health Check - May report unhealthy but service works (port 4001)
- Port Conflicts - Port 443 may be in use (common on dev machines)
-
Display Output - Uses
echo -ein display functions (works on Bash 3.2+, not POSIX sh)
- Bash Required - Won't work with pure POSIX sh or dash
- Docker Required - No native (non-Docker) installation
- Init Code Portability - Only init code is strictly POSIX; rest assumes Bash
| Operation | Time | Notes |
|---|---|---|
nself init |
< 1s | Creates config files |
nself build |
5-15s | First build (no Docker images) |
nself start |
30-60s | Cold start (all services) |
nself status |
< 1s | Quick health check |
nself doctor |
2-5s | Full diagnostics |
| Service | CPU | Memory |
|---|---|---|
| PostgreSQL | 5-10% | 100-200MB |
| Hasura | 5-10% | 100-150MB |
| Auth | < 5% | 50-100MB |
| Nginx | < 5% | 10-20MB |
| Total | 15-30% | 260-470MB |
Thank you to everyone who tested, reported issues, and provided feedback!
Special thanks for v0.4.0:
- Testing on multiple platforms
- Reporting compatibility issues
- Documentation improvements
- Bug reports and fixes
- Monitor for bug reports
- Gather community feedback
- Plan v0.4.1 feature set
- Improve documentation based on user questions
v0.4.0 is the stable foundation. Future releases will:
- Add management commands for existing services
- Polish and enhance user experience
- Expand to advanced features (Kubernetes, multi-cloud)
- Build plugin ecosystem
See ROADMAP.md for the full vision.
- Documentation: docs.nself.dev (Coming soon)
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Updates: Follow releases on GitHub
See CHANGELOG.md for complete details.
Fixed:
- Unbound variable errors in build system
- Bash 4+ compatibility (uppercase expansion)
- Cross-platform shell script issues
Changed:
- Updated version to 0.4.0
- Marked as production-ready/stable
- Enhanced documentation
Tested:
- Core workflows (init → build → start)
- All CLI commands
- Cross-platform compatibility
- CI/CD pipeline (12/12 passing)
nself v0.4.0 - Built for production. Built for you. 🚀
ɳSelf CLI v1.0.9. MIT licensed. Docs CC BY 4.0.
GitHub · Issues · Discussions · nself.org · nself.org/docs
Getting Started
Commands
- Commands, Overview
- Lifecycle: cmd-init · cmd-build · cmd-start · cmd-stop · cmd-restart · cmd-dev
- Monitoring: cmd-status · cmd-logs · cmd-health · cmd-urls · cmd-doctor · cmd-monitor · cmd-alerts · cmd-sentry · cmd-watchdog
- Data: cmd-db · cmd-backup · cmd-dr · cmd-queue · cmd-webhooks
- Config: cmd-config · cmd-service · cmd-env · cmd-promote
- Networking: cmd-ssl · cmd-trust · cmd-dns-setup
- Security: cmd-access · cmd-security · cmd-secrets
- Tenancy: cmd-tenant · cmd-billing
- Plugins: cmd-plugin · cmd-license · cmd-dogfood (extracted, CLI-R11) · cmd-k8s (extracted, CLI-R11) · cmd-encryption (extracted, CLI-R11) · cmd-waf (extracted, CLI-R11) · cmd-federation (extracted, CLI-R11) · cmd-mail (extracted, CLI-R11) · cmd-dlq (extracted, CLI-R11)
- AI: cmd-ai · cmd-claw · cmd-model
- Templates: cmd-template
- Utilities: cmd-exec · cmd-clean · cmd-reset · cmd-update · cmd-upgrade · cmd-version · cmd-admin · cmd-migrate · cmd-migrate-firebase · cmd-migrate-supabase · cmd-completion
Features
- Features, Overview
- Feature-Auth
- Feature-Storage
- Feature-Search
- Feature-Functions
- Feature-Email
- Feature-Monitoring
- Feature-Plugins
- Feature-nClaw, AI Assistant
- Feature-nChat, Messaging
- Feature-nTV, Media Player
- Feature-nFamily, Family Social
- Feature-nCloud, Managed Hosting
- Feature-Memory-Rooms, Knowledge Organization
- Feature-Agent-Dashboard, Agent Metrics
- Feature-Image-Generation, AI Image Generation
Configuration
- Configuration, Overview
- Config-Env-Vars
- Config-Postgres
- Config-Hasura
- Config-Auth
- Config-Nginx
- Config-Optional-Services
- Config-Custom-Services
- Config-System
Plugins (87 + 10 monitoring)
Free (25)
- plugin-backup
- plugin-content-acquisition
- plugin-content-progress
- plugin-cron
- plugin-donorbox
- plugin-feature-flags
- plugin-github
- plugin-github-runner
- plugin-invitations
- plugin-jobs
- plugin-link-preview
- plugin-mdns
- plugin-mlflow
- plugin-monitoring
- plugin-notifications
- plugin-notify
- plugin-paypal
- plugin-search
- plugin-shopify
- plugin-stripe
- plugin-subtitle-manager
- plugin-tokens
- plugin-torrent-manager
- plugin-vpn
- plugin-webhooks
Pro (62)
- plugin-access-controls
- plugin-activity-feed
- plugin-admin-api
- plugin-nself-ai-gateway
- plugin-nself-ai-mcp
- plugin-nself-ai-mcp
- plugin-analytics
- plugin-auth
- plugin-backup-pro
- plugin-bots
- plugin-browser
- plugin-calendar
- plugin-cdn
- plugin-chat
- plugin-claw
- plugin-claw-budget
- plugin-claw-news
- plugin-claw-web
- plugin-cloudflare
- plugin-cms
- plugin-compliance
- plugin-cron-pro
- plugin-ddns
- plugin-devices
- plugin-documents
- plugin-donorbox-pro
- plugin-entitlements
- plugin-epg
- plugin-file-processing
- plugin-game-metadata
- plugin-geocoding
- plugin-geolocation
- plugin-google
- plugin-home
- plugin-idme
- plugin-knowledge-base
- plugin-linkedin
- plugin-livekit
- plugin-media-processing
- plugin-meetings
- plugin-moderation
- plugin-mux
- plugin-notify-pro
- plugin-object-storage
- plugin-observability
- plugin-paypal-pro
- plugin-photos
- plugin-podcast
- plugin-post
- plugin-realtime
- plugin-recording
- plugin-retro-gaming
- plugin-rom-discovery
- plugin-shopify-pro
- plugin-social
- plugin-sports
- plugin-stream-gateway
- plugin-streaming
- plugin-stripe-pro
- plugin-support
- plugin-tmdb
- plugin-voice
- plugin-web3
- plugin-workflows
Planned (26)
plugin-auditplugin-blogplugin-checkoutplugin-commerceplugin-drmplugin-exportplugin-flowplugin-importplugin-ldapplugin-mailgunplugin-mediaplugin-oauth-providersplugin-pagesplugin-postmarkplugin-rate-limitplugin-reportsplugin-samlplugin-schedulerplugin-sendgridplugin-ssoplugin-subscriptionplugin-thumbplugin-transcoderplugin-twilioplugin-wafplugin-watermark
Guides
- Guide-Production-Deployment
- Guide-SSL-Setup
- Guide-Multi-Tenancy
- Guide-Security-Hardening
- Guide-Monitoring-Setup
- Guide-Backup-Restore
- Guide-Custom-Services
- Guide-Migration-from-v1
Architecture
Reference
- API-Reference
- error-codes, Error Codes
Licensing
Security
Brand
Operations
- operations/release-cascade, Release Cascade
- operations/self-healing, Self-Healing Schema
- operations/redis-tuning, Redis Pool Tuning
- operations/meilisearch-warmup, MeiliSearch Warm-Up
- operations/jwt-rotation, JWT Key Rotation
- operations/windows-wsl2-setup, Windows / WSL2 Setup
- operations/gemini-oauth-reauth, Gemini OAuth Reauth
Contributing
Admin
- USER-ACTION-QUEUE, Pending Admin Actions
All commands (52)
- A: cmd-access · cmd-account · cmd-admin
- B: cmd-backup · cmd-build · cmd-bundle
- C: cmd-ci · cmd-clean · cmd-completion · cmd-config
- D: cmd-db · cmd-deploy · cmd-dev · cmd-doctor
- E: cmd-env · cmd-exec
- F: cmd-functions
- G: cmd-generate
- H: cmd-health · cmd-help-topics
- I: cmd-init · cmd-install
- L: cmd-license · cmd-login · cmd-logout · cmd-logs
- M: cmd-man · cmd-mcp · cmd-migrate
- O: cmd-oauth · cmd-ops
- P: cmd-plugin · cmd-promote
- R: cmd-remove · cmd-reset · cmd-restart · cmd-runner
- S: cmd-secrets · cmd-security · cmd-self-heal · cmd-server · cmd-service · cmd-start · cmd-status · cmd-stop
- T: cmd-telemetry · cmd-template · cmd-trust
- U: cmd-update · cmd-urls
- V: cmd-verify-sbom · cmd-version