Skip to content

chore: bump version to 4.0.0 for major release#21

Merged
mogita merged 1 commit intomasterfrom
pla/release-v4.0.0
Mar 5, 2026
Merged

chore: bump version to 4.0.0 for major release#21
mogita merged 1 commit intomasterfrom
pla/release-v4.0.0

Conversation

@mogita
Copy link
Collaborator

@mogita mogita commented Mar 5, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 5, 2026 17:21
@mogita mogita merged commit 33ef804 into master Mar 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project to the stable 4.0.0 release version across code and metadata.

Changes:

  • Bumped SDK version constant from 4.0.0-beta.1 to 4.0.0
  • Updated composer.json package version to v4.0.0
  • Updated CHANGELOG entry from beta to stable release with release date

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/Constant.php Updates runtime/exposed SDK version constant to the stable release.
composer.json Updates Composer package metadata version to the stable release.
CHANGELOG.md Updates changelog header to stable release and adds the release date.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"name": "getstream/getstream-php",
"description": "PHP SDK for GetStream API",
"version": "v4.0.0-beta.1",
"version": "v4.0.0",
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

composer.json uses a v-prefixed version (v4.0.0) while src/Constant.php exposes 4.0.0 without the prefix. This inconsistency can be confusing (and can break simple string/semver comparisons in tooling). Consider normalizing to the same format everywhere (commonly 4.0.0 without the v), and if this is a library distributed via Packagist, consider omitting the "version" field entirely so Composer derives it from VCS tags.

Suggested change
"version": "v4.0.0",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants