Skip to content

Commit 4e92168

Browse files
committed
Repository restructuring: Renamed master branch to main
- Updated CI workflow to use the main branch instead of master - Updated CI badge in README.md to reference the main branch - Prepared for legacy branch support in v2.x series - GitHub Actions CI workflow now triggers on the main branch - Repository prepared for v3.0.0 development branch - Maintained compatibility with the existing PHP 7.3+ testing matrix
1 parent cf87dca commit 4e92168

8 files changed

Lines changed: 258 additions & 42 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,24 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main, 'legacy/v2.x', 'feature/**' ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main, 'legacy/v2.x' ]
8+
workflow_dispatch:
9+
inputs:
10+
php_version:
11+
description: 'PHP version to test (optional, tests all if empty)'
12+
required: false
13+
default: ''
14+
dependencies:
15+
description: 'Dependencies type'
16+
required: false
17+
default: 'stable'
18+
type: choice
19+
options:
20+
- stable
21+
- lowest
22+
- dev
823

924
jobs:
1025
tests:

.markdownlint.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"MD024": {
3+
"siblings_only": true
4+
},
5+
"MD032": false,
6+
"MD013": false
7+
}

CHANGELOG.md

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [2.1.3](https://github.com/calliostro/php-discogs-api/releases/tag/v2.1.3) – 2025-09-06
9+
10+
### Changed
11+
12+
- Repository restructuring: Renamed master branch to main
13+
- Updated CI workflow to use the main branch instead of master
14+
- Updated CI badge in README.md to reference the main branch
15+
- Prepared for legacy branch support in v2.x series
16+
17+
### Infrastructure
18+
19+
- GitHub Actions CI workflow now triggers on the `main`, `legacy/v2.x`, and `feature/**` branches
20+
- Repository prepared for v3.0.0 development branch
21+
22+
## [2.1.2](https://github.com/calliostro/php-discogs-api/releases/tag/v2.1.2) – 2025-08-23
23+
24+
### Added
25+
26+
- GitHub Actions CI – Migrated from Travis CI for improved build reliability and faster feedback
27+
- PHP 8.5 nightly support – Early compatibility testing with the upcoming PHP version
28+
- Enhanced project metadata – Improved description, keywords, and author
29+
information in composer.json
30+
31+
### Changed
32+
33+
- Streamlined CI configuration – More reliable builds across all PHP versions (7.3 – 8.5)
34+
- Updated PHPUnit configuration – Better compatibility with PHPUnit 9.x and 10.x
35+
- Improved test stability – Fixed throttling test timing issues
36+
37+
### Infrastructure
38+
39+
- Modernized CI/CD pipeline with GitHub Actions
40+
- Enhanced build reliability and faster feedback cycles
41+
42+
## [2.1.1](https://github.com/calliostro/php-discogs-api/releases/tag/v2.1.1) – 2025-08-23
43+
44+
### Added
45+
46+
- PHP 8.5 (beta) support – Full compatibility with the latest PHP version
47+
- Enhanced documentation – Clearer examples, better structure, and improved authentication guides
48+
- Improved code examples – Better error handling and more practical use cases
49+
50+
### Changed
51+
52+
- Streamlined testing infrastructure for all PHP versions (7.3 – 8.5)
53+
- Cleaned up build configuration and dependencies
54+
55+
### Infrastructure
56+
57+
- Extended PHP version support matrix to include PHP 8.5 (beta)
58+
59+
## [2.1.0](https://github.com/calliostro/php-discogs-api/releases/tag/v2.1.0) – 2025-08-16
60+
61+
### Added
62+
63+
- Comprehensive PHP 8.4 support with full test coverage
64+
- Legacy compatibility support for PHPUnit 9.x (PHP 7.3–7.4)
65+
66+
### Changed
67+
68+
- Update Guzzle components to latest stable versions (7.9.3)
69+
- Upgrade PHPUnit to 10.x with legacy compatibility (9.x for PHP 7.3–7.4)
70+
- Modernize the CI / CD pipeline for extended PHP version matrix (7.3–8.4)
71+
- Improve testing infrastructure with dual PHPUnit configurations
72+
73+
### Security
74+
75+
- Fix security vulnerability [CVE-2025-21617](https://github.com/advisories/GHSA-237r-r8m4-4q88) in oauth-subscriber (^0.8.1)
76+
77+
### Infrastructure
78+
79+
- Extended PHP support matrix from 7.3 through 8.4
80+
- Modernized dependency management and security updates
81+
82+
## [2.0.4](https://github.com/calliostro/php-discogs-api/releases/tag/v2.0.4) – 2024-01-03
83+
84+
### Changed
85+
86+
- Enabling more up-to-date Guzzle components
87+
- Enabling PHPUnit 10 support
88+
- Minor code review and improvements
89+
90+
### Infrastructure
91+
92+
- Updated testing framework to PHPUnit 10
93+
- Modernized dependency versions
94+
95+
## [2.0.3](https://github.com/calliostro/php-discogs-api/releases/tag/v2.0.3) – 2023-06-02
96+
97+
### Added
98+
99+
- Support for user lists, list and wantlist endpoints
100+
- `getUserLists()` – Get user's lists
101+
- `getLists()` - Get specific list items
102+
- `getWantlist()` - Get user's wantlist
103+
104+
### Features
105+
106+
- Enhanced user interaction capabilities
107+
- Better support for user collections and wishlists
108+
109+
## [2.0.2](https://github.com/calliostro/php-discogs-api/releases/tag/v2.0.2) – 2022-07-16
110+
111+
### Fixed
112+
113+
- Dependency fix for PHP 8.x support
114+
- Resolved compatibility issues with PHP 8.x versions
115+
116+
### Infrastructure
117+
118+
- Improved PHP 8.x compatibility and stability
119+
120+
## [2.0.1](https://github.com/calliostro/php-discogs-api/releases/tag/v2.0.1) – 2021-04-17
121+
122+
### Added
123+
124+
- Reference to calliostro/discogs-bundle for Symfony 5 integration
125+
126+
### Changed
127+
128+
- Lower minimum versions of the required packages for better compatibility
129+
- DiscogsClient extends GuzzleClient to provide PHPDoc for API methods
130+
131+
### Infrastructure
132+
133+
- Prepared for integration with Symfony 5 via calliostro/discogs-bundle
134+
- Enhanced IDE support through improved PHPDoc
135+
136+
## [2.0.0](https://github.com/calliostro/php-discogs-api/releases/tag/v2.0.0) – 2021-04-10
137+
138+
### Added
139+
140+
- Support for PHP 7.3, 7.4, and 8.0
141+
- More Discogs API methods are available
142+
- Comprehensive improvements and modernization
143+
144+
### Infrastructure
145+
146+
- First release of this fork
147+
- Based on ricbra/php-discogs-api and AnssiAhola/php-discogs-api
148+
- Modern PHP version support and extended API coverage
149+
150+
---
151+
152+
## Credits
153+
154+
This library is based on the excellent work of:
155+
156+
- [ricbra/php-discogs-api](https://github.com/ricbra/php-discogs-api)
157+
- Original implementation
158+
- [AnssiAhola/php-discogs-api](https://github.com/AnssiAhola/php-discogs-api)
159+
- Enhanced version
160+
161+
## Legacy Versions
162+
163+
All versions below 2.1.3 were developed on the master branch.
164+
For legacy support of 2.x versions, see the `legacy/v2.x` branch.

0 commit comments

Comments
 (0)