You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure new version with batch script and JSON config
Add release URL for version 2.8.9
Changes diagram
flowchart LR
A["New Composer 2.8.9"] --> B["Batch Script"]
A --> C["Configuration Files"]
A --> D["Release Properties"]
B --> E["composer.bat"]
C --> F["bearsampp.conf"]
C --> G["composer.json"]
D --> H["releases.properties"]
Loading
Changes walkthrough 📝
Relevant files
Configuration changes
composer.bat
Add Windows batch script for Composer
bin/composer2.8.9/composer.bat
Create Windows batch script for Composer execution
The cache directory path uses a custom placeholder syntax ~BEARSAMPP_LIN_PATH~ which may not be standard JSON or Composer configuration. Verify this placeholder is properly resolved by the Bearsampp system.
The @RELEASE_VERSION@ placeholder should be verified to ensure it gets properly substituted during the build process, as an unresolved placeholder could cause runtime issues.
Add error handling to check if PHP is available and composer.phar exists before execution. This prevents cryptic error messages when dependencies are missing.
@echo off
set COMPOSER_HOME=%~dp0
-@php "%~dp0composer.phar" %*+if not exist "%~dp0composer.phar" (+ echo Error: composer.phar not found in %~dp0+ exit /b 1+)+@php "%~dp0composer.phar" %* || exit /b %errorlevel%
Apply / Chat
Suggestion importance[1-10]: 7
__
Why: The suggestion improves the script's robustness by adding checks for composer.phar and propagating the exit code, which is good practice for error handling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
Enhancement
Description
Add Composer 2.8.9 version support
Update bundle release to 2025.7.2
Configure new version with batch script and JSON config
Add release URL for version 2.8.9
Changes diagram
Changes walkthrough 📝
composer.bat
Add Windows batch script for Composerbin/composer2.8.9/composer.bat
bearsampp.conf
Add Bearsampp configuration for Composer 2.8.9bin/composer2.8.9/bearsampp.conf
composer.json
Add Composer JSON configuration filebin/composer2.8.9/composer.json
build.properties
Update bundle release versionbuild.properties
releases.properties
Add Composer 2.8.9 release URLreleases.properties