Skip to content

v4.0.0 - Complete Library Redesign with Clean Parameter API

Latest

Choose a tag to compare

@calliostro calliostro released this 01 Dec 15:50
726ace9

This release represents a fundamental architectural overhaul, prioritizing developer experience, type safety, and minimal code footprint.

Breaking Changes

  • Class Renaming: DiscogsApiClient → DiscogsClient, ClientFactory → DiscogsClientFactory
  • Method Naming: All 60 methods follow consistent verb-first pattern (getArtist, listArtistReleases, createMarketplaceListing)
  • Clean Parameters: Array parameters eliminated - direct typed parameters with IDE autocomplete support
  • Authentication: Enhanced security with RFC 5849 OAuth 1.0a implementation

Migration Required

All method calls must be updated. See CHANGELOG.md and UPGRADE.md for detailed migration guide.

Features

  • Ultra-lightweight architecture (~750 lines, 2 core classes)
  • Full type safety with automatic parameter validation
  • Perfect IDE autocomplete support
  • PHP 8.1 - 8.5 compatibility
  • Zero bloat, direct API mapping

Documentation