Skip to content

Release 0.1.37

Choose a tag to compare

@nckrtl nckrtl released this 22 Jan 21:27
· 82 commits to main since this release

What's Changed

Bug Fixes

  • Fixed PHAR build - Commands and orbit-core now properly included
  • Added build-phar.sh script that generates CommandRegistry at build time
  • Updated AppServiceProvider to use CommandRegistry for PHAR builds
  • Updated box.json to explicitly include app/Commands directory

Technical Details

The PHAR was missing commands because:

  1. Command auto-discovery doesn't work in PHAR environment
  2. orbit-core was symlinked via composer-link (symlinks not followed by Box)

Solution: Generate CommandRegistry at build time, unlink orbit-core before building, and build with --no-dev to keep size under 100MB (61MB vs 117MB with dev deps).

Installation

# Download and install
curl -L https://github.com/hardimpactdev/orbit-cli/releases/download/0.1.37/orbit.phar -o ~/.local/bin/orbit
chmod +x ~/.local/bin/orbit

# Or self-update if already installed
orbit self-update

Full Changelog

v0.1.36...0.1.37