Skip to content

Releases: seven-io/php-client

v7.0.0

15 Jul 20:16
Compare
Choose a tag to compare

🚀 Release v7.0.0

💥 Breaking Changes

  • sentWith parameter in Client constructor is now deprecated and ignored
  • Several resource properties changed from required to nullable
  • Enhanced error handling may throw exceptions in previously silent cases

✨ Features

  • Deprecate sentWith parameter and always use 'php-api' constant
  • Enhanced error handling with proper exception throwing
  • Improved error detection for quoted error codes
  • Better error messages with HTTP status codes

🐛 Bug Fixes

  • Fixed RcsMessage class usage (was incorrectly using SmsMessage)
  • Set correct API error codes in exception classes (900-903)
  • Fixed date format in ContactsTest (German to ISO format)
  • Fixed InvalidApiKeyException not being thrown on error 900 (#19)

🔧 Improvements

  • Improved null safety across lookup resources
  • Better resource payload building (only include non-null values)
  • More flexible test assertions to handle API variations
  • Enhanced test reliability with null checks
  • Removed unused JournalResource::replies method

📦 Changed Files

  • Client error handling and sentWith deprecation
  • All exception classes with proper error codes
  • Lookup resources (Carrier, LookupHlr) with nullable properties
  • Contact and Properties resources with conditional payload building
  • ValidateForVoice with nullable sender
  • Comprehensive test improvements

🤖 Generated with Claude Code

v6.0.0

v5.0.1

28 Nov 11:16
Compare
Choose a tag to compare

Throw InvalidApiKeyException for bad API keys.

v5.0.0

24 May 09:41
Compare
Choose a tag to compare
update docs

v4.0.2

21 May 07:06
2a80572
Compare
Choose a tag to compare

Fix #12

v4.0.1

26 Apr 16:04
Compare
Choose a tag to compare

Fixed some bugs.

Other issues fixed:
#1
#2
#3
#7

v4.0.0

23 Nov 10:14
Compare
Choose a tag to compare

Removed deprecated "debug" parameters.

v3.0.1

14 Nov 13:05
Compare
Choose a tag to compare

Don't escape unicode characters - it lead to bad messages when containing certain characters.

v3.0.0

25 Sep 11:43
Compare
Choose a tag to compare
v3

v2.6.0

26 May 12:36
Compare
Choose a tag to compare
add language to voice parameter