Skip to content

chore(deps): bump sms77/api from 1.1.0 to 8.1.1#2

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/sms77/api-8.1.1
Open

chore(deps): bump sms77/api from 1.1.0 to 8.1.1#2
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/sms77/api-8.1.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 18, 2026

Bumps sms77/api from 1.1.0 to 8.1.1.

Release notes

Sourced from sms77/api's releases.

v8.1.1

Bug Fixes

  • Fix missing property_exists checks for error and error_text fields in response classes

API responses may not always include these optional properties, causing PHP errors when accessing undefined object properties.

Affected classes:

  • SmsMessage
  • VoiceMessage
  • RcsMessage
  • JournalVoice
  • SubaccountCreate
  • SubaccountDelete
  • SubaccountAutoCharged
  • SubaccountTransferCredits

v8.1.0 - Improved Type Safety & Error Handling

What's New

New Features

  • ApiException class: Comprehensive exception for all API error codes (100-903) with descriptive messages
  • Configurable test recipient: Tests now support SEVEN_TEST_RECIPIENT environment variable

Improvements

  • Type safety: All Resource classes now use explicit type casts for consistent data handling
  • Better error handling: Client now properly handles numeric API responses and throws appropriate exceptions
  • Test infrastructure: Refactored BaseTest to AbstractTestCase for better test organization

Documentation

  • Updated README with API error codes table
  • Documented exception handling patterns
  • Updated PHP requirement to 8.2+ in documentation

Breaking Changes

None - this is a fully backwards-compatible release.

v8.0.1 - Fix HLR Lookup Type Mismatch

🐛 Bug Fix

Fixed HLR Lookup Type Error

Problem:

  • HLR lookup was failing with TypeError: Cannot assign int to property LookupHlr::$gsmCode of type ?string
  • This occurred after the seven.io API was updated to consistently return gsm_code as integer instead of string
  • Affected users on PHP 8.2+ with strict type checking

Solution:

  • Changed LookupHlr::$gsmCode property type from ?string to ?int
  • Updated getGsmCode() return type accordingly

... (truncated)

Commits
  • ee88e01 Fix missing property_exists checks for error fields
  • 0f9b7fd Add .phpunit.cache/ to gitignore
  • 3c45af0 Improve type safety, error handling and test infrastructure
  • 274e477 Remove deprecated curl_close() call (#24)
  • 4c5891c fix HLR lookup gsm_code type mismatch
  • 1b2cc6f fix bad return value
  • 374956d close #21
  • a5d32e3 fix request signing for GET requests with empty payload
  • 49ea8bb fix #20
  • 1887de7 docs: improve README and add .DS_Store to gitignore
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sms77/api](https://github.com/sms77io/php-api) from 1.1.0 to 8.1.1.
- [Release notes](https://github.com/sms77io/php-api/releases)
- [Commits](seven-io/php-client@1.1.0...v8.1.1)

---
updated-dependencies:
- dependency-name: sms77/api
  dependency-version: 8.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants