Skip to content

Commit fa36180

Browse files
Bumped versions and added PHP 8.3 support
1 parent 70aa8c5 commit fa36180

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout code
48-
uses: actions/checkout@v3
48+
uses: actions/checkout@v4
4949

5050
- name: Setup PHP
5151
uses: shivammathur/setup-php@v2

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: ['7.4', '8.0', '8.1', '8.2']
14+
php: ['7.4', '8.0', '8.1', '8.2', '8.3']
1515

1616
steps:
1717
- name: Checkout Code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup PHP
2121
uses: shivammathur/setup-php@v2

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ CHANGE LOG
22
==========
33

44

5+
## V4.5 (XX/10/2023)
6+
7+
* Added PHP 8.3 support
8+
9+
510
## V4.4 (30/04/2023)
611

712
* Added support for `psr/http-message` v2

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ Check out the [change log](CHANGELOG.md), [releases](https://github.com/Bitbucke
2323

2424
## Installation
2525

26-
This version supports [PHP](https://php.net) 7.4-8.2. To get started, simply require the project using [Composer](https://getcomposer.org). You will also need to install packages that "provide" [`psr/http-client-implementation`](https://packagist.org/providers/psr/http-client-implementation) and [`psr/http-factory-implementation`](https://packagist.org/providers/psr/http-factory-implementation).
26+
This version supports [PHP](https://php.net) 7.4-8.3. To get started, simply require the project using [Composer](https://getcomposer.org). You will also need to install packages that "provide" [`psr/http-client-implementation`](https://packagist.org/providers/psr/http-client-implementation) and [`psr/http-factory-implementation`](https://packagist.org/providers/psr/http-factory-implementation).
2727

2828
### Standard Installation
2929

3030
```bash
31-
$ composer require "bitbucket/client:^4.4" \
32-
"guzzlehttp/guzzle:^7.5.1" "http-interop/http-factory-guzzle:^1.2"
31+
$ composer require "bitbucket/client:^4.5" \
32+
"guzzlehttp/guzzle:^7.8" "http-interop/http-factory-guzzle:^1.2"
3333
```
3434

3535
### Framework Integration
3636

3737
#### Laravel:
3838

3939
```bash
40-
$ composer require "graham-campbell/bitbucket:^10.0"
40+
$ composer require "graham-campbell/bitbucket:^10.1"
4141
```
4242

4343
We are decoupled from any HTTP messaging client by using [PSR-7](https://www.php-fig.org/psr/psr-7/), [PSR-17](https://www.php-fig.org/psr/psr-17/), [PSR-18](https://www.php-fig.org/psr/psr-18/), and [HTTPlug](https://httplug.io/). You can visit [HTTPlug for library users](https://docs.php-http.org/en/latest/httplug/users.html) to get more information about installing HTTPlug related packages. The framework integration [`graham-campbell/bitbucket`](https://github.com/GrahamCampbell/Laravel-Bitbucket) is by [Graham Campbell](https://github.com/GrahamCampbell).

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"php": "^7.4.15 || ^8.0.2",
1515
"ext-json": "*",
1616
"php-http/cache-plugin": "^1.8",
17-
"php-http/client-common": "^2.6.1",
18-
"php-http/discovery": "^1.17",
17+
"php-http/client-common": "^2.7",
18+
"php-http/discovery": "^1.19",
1919
"php-http/httplug": "^2.4",
2020
"php-http/multipart-stream-builder": "^1.3",
2121
"psr/cache": "^1.0 || ^2.0 || ^3.0",
@@ -26,9 +26,9 @@
2626
},
2727
"require-dev": {
2828
"bamarni/composer-bin-plugin": "^1.8.2",
29-
"guzzlehttp/guzzle": "^7.5.1",
29+
"guzzlehttp/guzzle": "^7.8",
3030
"http-interop/http-factory-guzzle": "^1.2",
31-
"php-http/mock-client": "^1.5.1"
31+
"php-http/mock-client": "^1.6"
3232
},
3333
"autoload": {
3434
"psr-4": {

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Client
7676
*
7777
* @var string
7878
*/
79-
private const USER_AGENT = 'bitbucket-php-api-client/4.4';
79+
private const USER_AGENT = 'bitbucket-php-api-client/4.5';
8080

8181
/**
8282
* The HTTP client builder.

0 commit comments

Comments
 (0)