|
1 | 1 | # Release Notes
|
2 | 2 |
|
| 3 | +## [v1.3.0](https://github.com/Thavarshan/phpvm/compare/v1.2.0...v1.3.0) - 2025-05-11 |
| 4 | + |
| 5 | +## Added |
| 6 | + |
| 7 | +- Added `system` command to easily switch back to system PHP version |
| 8 | +- Added timestamps to all log messages for better traceability and debugging |
| 9 | +- Added log levels (INFO, ERROR, WARNING, DEBUG) for more structured logging |
| 10 | +- Added `run_with_sudo` helper function to centralize sudo usage logic |
| 11 | +- Added comprehensive self-tests with `phpvm test` command |
| 12 | +- Added test for corrupted `.phpvmrc` file handling |
| 13 | +- Added better support for detecting and using latest PHP version from Homebrew |
| 14 | +- Added improved error messages with more detailed information |
| 15 | +- Added ability to run self-tests with `phpvm test` command |
| 16 | +- Added debugging capability via `DEBUG=true` environment variable |
| 17 | + |
| 18 | +## Changed |
| 19 | + |
| 20 | +- Changed logging format to include timestamps and log levels |
| 21 | +- Changed sudo handling to use a centralized helper function |
| 22 | +- Changed path expansion to use `$HOME` instead of tilde notation for better compatibility |
| 23 | +- Changed error handling to provide more descriptive and actionable messages |
| 24 | +- Changed test framework to be integrated directly into the script |
| 25 | +- Changed help message to include information about the `test` command |
| 26 | +- Improved bash/zsh shell compatibility with better sourcing logic |
| 27 | +- Improved code organization and reduced duplication with helper functions |
| 28 | + |
| 29 | +## Fixed |
| 30 | + |
| 31 | +- Fixed shell crash issue when sourcing in zsh with p10k theme |
| 32 | +- Fixed path expansion issues in Ubuntu bashrc configurations |
| 33 | +- Fixed missing system PHP switching functionality on macOS |
| 34 | +- Fixed detection of latest PHP version on macOS when installed via Homebrew's generic 'php' formula |
| 35 | +- Fixed potential sudo permission issues on Linux by using `run_with_sudo` consistently |
| 36 | +- Fixed auto-switching edge case with invalid or corrupted `.phpvmrc` files |
| 37 | +- Fixed script execution issues when sourced from shell initialization files |
| 38 | +- Fixed various edge cases in version detection and switching |
| 39 | + |
3 | 40 | ## [v1.2.0](https://github.com/Thavarshan/phpvm/compare/v1.1.0...v1.2.0) - 2025-02-15
|
4 | 41 |
|
5 | 42 | ### Added
|
|
0 commit comments