Skip to content

Commit c43c3ae

Browse files
Thavarshanclaude
andcommitted
Update CHANGELOG for v3.3.0 release
Added comprehensive changelog entry for v3.3.0 including: - New testing utilities (MockServer, MockResponse, MockResponseSequence, Recorder) - 117 new tests with 288 assertions - Comprehensive testing documentation - Fixed async helper function imports - Removed Dependabot configuration Also cleaned up duplicate entries at the end of the changelog. Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2e58263 commit c43c3ae

1 file changed

Lines changed: 40 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 40 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,45 @@
11
# Release Notes
22

3-
## [Unreleased](https://github.com/Thavarshan/fetch-php/compare/v3.2.3...HEAD)
3+
## [Unreleased](https://github.com/Thavarshan/fetch-php/compare/v3.3.0...HEAD)
4+
5+
## [v3.3.0](https://github.com/Thavarshan/fetch-php/compare/v3.2.3...v3.3.0) - 2025-01-17
6+
7+
### Added
8+
9+
- **Comprehensive Testing Utilities** inspired by Laravel's HTTP client testing:
10+
- `MockServer` with URL pattern matching (wildcards, method-specific, callbacks)
11+
- `MockResponse` fluent builder with convenience methods for all HTTP status codes
12+
- `MockResponseSequence` for testing retry logic and flaky endpoints
13+
- `Recorder` for capturing and replaying request/response pairs
14+
- Comprehensive assertion helpers (`assertSent()`, `assertNotSent()`, `assertSentCount()`, `assertNothingSent()`)
15+
- Request recording with JSON export/import for test fixtures
16+
- Stray request prevention with allowlist support
17+
- `HandlesMocking` trait integrated into `ClientHandler` for request interception
18+
- `Request::createFromBase()` method for PSR-7 request conversion
19+
- 117 new tests with 288 assertions for testing utilities
20+
- Comprehensive testing documentation in `docs/guide/testing.md` (617 lines)
21+
- Complete API reference in `docs/api/testing.md` (539 lines)
22+
- Testing utilities section in VitePress sidebar navigation
23+
24+
### Changed
25+
26+
- Updated `PerformsHttpRequests` to support mock request interception
27+
- Enhanced `ClientHandler` with `HandlesMocking` trait for testing support
28+
29+
### Fixed
30+
31+
- Fixed async helper function imports to use correct `Matrix\Support\*` namespace:
32+
- Updated imports in `ManagesPromises` trait (`async`, `await`, `all`, `any`, `race`, `reject`, `resolve`, `timeout`)
33+
- Updated imports in `PerformsHttpRequests` trait (`async`)
34+
- Updated imports in `ManagesPromisesTest` and `AsyncRequestsTest`
35+
- All 282 tests now passing with 841 assertions
36+
37+
### Removed
38+
39+
- Removed Dependabot configuration (`dependabot.yml`)
40+
- Removed Dependabot auto-merge workflow
41+
42+
**Full Changelog**: <https://github.com/Thavarshan/fetch-php/compare/v3.2.3...v3.3.0>
443

544
## [v3.2.3](https://github.com/Thavarshan/fetch-php/compare/v3.2.2...v3.2.3) - 2025-05-24
645

@@ -338,20 +377,3 @@
338377
## v1.0.0 - 2024-09-14
339378

340379
Initial release.
341-
342-
## [v3.2.2](https://github.com/Thavarshan/fetch-php/compare/v3.2.1...v3.2.2) - 2025-05-19
343-
344-
### Fixed
345-
346-
- "Fatal error: Uncaught Error: Interface `Psr\Log\LoggerAwareInterface` not found" closes #21
347-
348-
**Full Changelog**: [https://github.com/Thavarshan/fetch-php/compare/3.2.1...3.2.2](https://github.com/Thavarshan/fetch-php/compare/3.2.1...3.2.2)
349-
350-
## [v3.2.1](https://github.com/Thavarshan/fetch-php/compare/v3.2.1...v3.2.1) - 2025-05-17
351-
352-
### Changed
353-
354-
- Updated documentation
355-
- Updated dependencies
356-
357-
**Full Changelog**: [https://github.com/Thavarshan/fetch-php/compare/3.2.0...3.2.1](https://github.com/Thavarshan/fetch-php/compare/3.2.0...3.2.1)

0 commit comments

Comments
 (0)