Skip to content

prepare release #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 28, 2023
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
13 changes: 8 additions & 5 deletions .github/workflows/Build-Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Tests
# Run this workflow every time a new commit pushed to your repository
on:
push:
branches:
- '*.x'
pull_request:

jobs:
tests:
Expand All @@ -13,7 +16,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-20.04]
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1']
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
include:
- operating-system: ubuntu-16.04
php-versions: '7.1'
Expand All @@ -29,7 +32,7 @@ jobs:
steps:
# Checks out a copy of your repository on the ubuntu machine
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup cache environment
id: extcache
Expand All @@ -47,13 +50,13 @@ jobs:
restore-keys: ${{ steps.extcache.outputs.key }}

- name: Cache Composer Dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP Action
uses: shivammathur/setup-php@2.8.0
uses: shivammathur/setup-php@3
with:
php-version: ${{ matrix.php-versions }}
extensions: ${{ env.extensions }}
Expand All @@ -65,7 +68,7 @@ jobs:
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down
24 changes: 18 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ 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).

## 2.3.0 - 2023-04-28

### Added

- Test with PHP 8.2

### Fixed

- This client needs a PSR-17 factories implementation. Instead of requiring an implementation,
previous versions only required the interfaces which could lead to a non-functional installation.
Fixed by requiring `psr/http-factory-implementation`.

## 2.2.1 - 2021-12-10

### Added
Expand Down Expand Up @@ -33,12 +45,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Minimal PHP version changed to 7.1.
- `Client::__construct` now expects PSR-17 factories instead of HTTPlug ones.
- `Client::__construct` now expects PSR-17 factories instead of HTTPlug ones.

### Added

- #41: Support [PSR-17](https://www.php-fig.org/psr/psr-17/) and
[PSR-18](https://www.php-fig.org/psr/psr-18/).
[PSR-18](https://www.php-fig.org/psr/psr-18/).


## 1.7.1 - 2018-03-26
Expand All @@ -58,7 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- #29: Request not using CURLOPT_POSTFIELDS have content-length set to
- #29: Request not using CURLOPT_POSTFIELDS have content-length set to

### Changed

Expand Down Expand Up @@ -94,7 +106,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Request body can be send with any method except GET, HEAD and TRACE.
- #25: Make discovery a hard dependency.
- #25: Make discovery a hard dependency.


## 1.4.2 - 2016-06-14
Expand Down Expand Up @@ -126,7 +138,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

- #13: Remove HeaderParser.
- #13: Remove HeaderParser.


## 1.2 - 2016-03-09
Expand Down Expand Up @@ -163,7 +175,7 @@ First stable release.
### Changed

- Root namespace changed from `Http\Curl` to `Http\Client\Curl`.
- Main client class name renamed from `CurlHttpClient` to `Client`.
- Main client class name renamed from `CurlHttpClient` to `Client`.
- Minimum required [php-http/discovery](https://packagist.org/packages/php-http/discovery)
version changed to 0.5.

Expand Down
5 changes: 0 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,5 @@
"scripts": {
"test": "vendor/bin/phpunit",
"test-ci": "vendor/bin/phpunit --coverage-clover build/coverage.xml"
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
}
}