Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.0-beta.1] - 2026-02-27
## [4.0.0] - 2026-03-05

### Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"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.
"type": "library",
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/Constant.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

class Constant
{
public const VERSION = '4.0.0-beta.1';
public const VERSION = '4.0.0';
}
Loading