Skip to content

Tags: musonza/chat

Tags

v6.14.0

Toggle v6.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Add message type filtering for conversation messages (#280) (#359)

Add ofType() fluent method to ConversationService for filtering messages
by type (e.g., text, image, attachment) when retrieving them from a
conversation. Works with both standard and cursor-based pagination.

v6.13.1

Toggle v6.13.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Pass sorting option through to conversation list queries (#357)

The sorting parameter from the Paginates trait was not being passed
to conversation list queries, resulting in hardcoded DESC ordering.

Closes #301

v6.13.0

Toggle v6.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Add configurable broadcast connection and queue (#356)

* feat: Add configurable broadcast connection and queue

Allow customizing the broadcast connection and queue for the
MessageWasSent event via config, instead of always using app defaults.

Closes #296

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: Declare $connection and $queue properties on MessageWasSent

Fixes static analysis failure for undefined properties.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* style: Fix Pint formatting for MessageWasSent

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v6.12.0

Toggle v6.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Laravel 13.x Compatibility (#355)

* Bump dependencies for Laravel 13

* Update GitHub Actions for Laravel 13

* Fix test compatibility with PHPUnit 12 and Laravel 13 CI

Replace /** @test */ annotations with test_ method prefix in all unit
tests, since PHPUnit 12 dropped support for @test doc-block annotations.
Add minimum-stability dev step for Laravel 13 CI builds and clean up
extra blank lines in workflow file.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix code style and ValidateParticipantTypeTest annotations

Run Pint to fix class_attributes_separation and phpdoc_trim issues.
Apply test_ prefix to ValidateParticipantTypeTest from master merge.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Shift <shift@laravelshift.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v6.11.1

Toggle v6.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix security issues, bugs, and code quality improvements (#354)

* Fix security issues, bugs, and code quality improvements

- Fix authorize() method name in all FormRequest classes (was `authorized()`
  which Laravel never calls, so authorization was silently skipped)
- Add participant_type validation in BaseRequest to prevent arbitrary class
  instantiation via polymorphic model injection
- Add configurable participant_models whitelist in config
- Fix MessageNotification::markAsRead() which called both update() and save()
  redundantly (update() silently failed due to mass assignment protection)
- Fix createCustomNotifications() inserting empty array when participants
  count is exact multiple of 1000, and off-by-one in chunk threshold
- Replace deprecated $dates property with $casts in MessageNotification
- Fix loose comparison (== to ===) in MessageService::send()
- Remove obsolete .travis.yml (GitHub Actions is the active CI)

https://claude.ai/code/session_01EZScE7VVUZ6GtoZxikUJxe

* Add tests for validateParticipantType security validation

Covers whitelist enforcement, non-model rejection, nonexistent class
rejection, and correct error messages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix pint style issue in ValidateParticipantTypeTest

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix code style issues for pint 1.29

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

v6.11.0

Toggle v6.11.0's commit message
feat: Add message reactions support

- Add/remove/toggle reactions on messages (emoji or text-based)
- Get reaction counts grouped by type
- Check if participant has reacted
- Broadcast events (MessageReactionAdded, MessageReactionRemoved)
- New migration: chat_message_reactions table

v6.10.0

Toggle v6.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #350 from musonza/feature/cursor-pagination

Add cursor-based pagination for messages

v6.9.0

Toggle v6.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #349 from musonza/feature/configurable-database-co…

…nnection

Add configurable database connection support

v6.8.0

Toggle v6.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #348 from musonza/feature/public-conversation-listing

Add ability to list public conversations without a participant

v6.7.0

Toggle v6.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #347 from musonza/feature/optional-message-encryption

Add optional message encryption feature