Skip to content

0.5.2

Choose a tag to compare

@github-actions github-actions released this 10 Dec 15:52
· 13 commits to main since this release

RollDev 0.5.2 Release Notes

✨ New Features

🏪 Multi-Store Configuration Command

RollDev now includes a roll multistore command for automatic Magento multi-store setup.
Configure multiple storefronts with a simple JSON file - no manual YAML editing required.

Highlights:

  • Simple JSON Configuration: Define hostname-to-store mappings in .roll/stores.json
  • Auto-Generated Configs: Creates Traefik routing rules, nginx store mapping, and extra_hosts
  • SSL Certificate Signing: Automatically signs certificates for all configured hostnames
  • Zero Manual YAML: No need to manually edit roll-env.yml for multi-store setups

Usage:

# Create .roll/stores.json with your store configuration
roll multistore init      # First time setup - generates configs + signs SSL
roll multistore refresh   # Regenerate after editing stores.json
roll multistore list      # View current configuration

Configuration Example (.roll/stores.json):

{
  "stores": {
    "store-nl.test": "store_nl",
    "store-be.test": "store_be",
    "main.test": ""
  },
  "run_type": "store"
}

📋 Environment Describe Command

New roll env describe command provides a DDEV-style overview of your environment.
Get instant visibility into running services, URLs, and configuration.

Highlights:

  • Service Status Table: Shows all services with running/stopped status
  • URL Overview: Lists all configured project URLs including multi-store domains
  • Environment Info: Displays PHP, Node, Composer versions at a glance
  • Clean Table Layout: DDEV-inspired bordered table format with color-coded status

Usage:

  roll env describe    # or just: roll describe

  Output Example:

  ┌─────────────────────────────────────────────────────────────────────────────┐
  │ Project: myproject /path/to/project                                         │
  │ Domain:  https://app.myproject.test                                         │
  │ Type:    magento2 PHP 8.4 | Node 22                                         │
  │ Router:  traefik                                                            │
  ├──────────────┼──────────┼─────────────────────────────────┼─────────────────┤
  │ SERVICE      │ STATUS   │ URL/PORT                        │ INFO            │
  ├──────────────┼──────────┼─────────────────────────────────┼─────────────────┤
  │ nginx        │ running  │ https://app.myproject.test      │ magento2        │
  │ php-fpm      │ running  │ InDocker: php-fpm:9000          │ PHP 8.4         │
  │ db           │ running  │ InDocker: db:3306               │ mariadb:10.4    │
  │ redis        │ running  │ InDocker: redis:6379            │ Redis 7.2       │
  │ opensearch   │ running  │ InDocker: opensearch:9200       │ OS 2.5          │
  └──────────────┴──────────┴─────────────────────────────────┴─────────────────┘

🐛 Bug Fixes

  • Fixed nginx MAGE_RUN_CODE/MAGE_RUN_TYPE fastcgi parameters for multi-store support
  • Added /etc/nginx/default.d/ directory in nginx image for custom store mappings

📝 Documentation

  • Added roll multistore --help with comprehensive usage guide
  • Added roll env describe --help documentation

🎯 Benefits

  • Simplified Multi-Store: Configure multiple Magento stores in minutes, not hours
  • Better Visibility: Instantly see environment status without running multiple commands
  • DDEV Familiarity: Commands designed to feel familiar for DDEV users migrating to RollDev

Full Changelog: 0.5.1...0.5.2


v0.5.2 • Multi-store made easy + environment visibility! 🏪📋