Skip to content

Releases: cmgmyr/laravel-messenger

2.13.3

09 Feb 20:56
Compare
Choose a tag to compare

Fixed

  • #193 fix DB prefix in raw query

2.13.2

06 Jan 21:08
Compare
Choose a tag to compare

Fixed

  • #174 Postgres "group by" bug

Changed

  • Added better handling of custom User models

2.13.1

08 Oct 12:33
Compare
Choose a tag to compare

Migrations

  • Added Schema use statement (#164)

Publishing Assets

  • Can now publish package assets by config or migrations tag (#165)

2.13

08 Sep 14:24
Compare
Choose a tag to compare

Models/Thread.php

Fixed

  • internal functionality of participantsUserIds(), isUnread(), participantsString(), and userUnreadMessages(). fixes #154, #159

Traits/Messagable.php

Fixed

  • internal functionality of threadsWithNewMessages(), and newThreadsCount()

Examples

Changed

  • all view files (blade syntax)

Tests

Added

  • added additional test coverage to EloquentThreadTest.php and MessagableTraitTest.php

2.12

11 Aug 15:20
Compare
Choose a tag to compare

Models/Thread.php

Changed

  • refactored the use of lists() to pluck()
  • renamed addParticipants() to addParticipant(). This now can take a single id, an array, or multiple ids as arguments

Added

  • removeParticipant() which also can take a single id, an array, or multiple ids as arguments

Traits/Messagable.php

Changed

  • refactored the use of lists() to pluck()

Migrations

  • removed 2014_11_10_083449_add_nullable_to_last_read_in_participants_table.php and 2014_11_20_131739_alter_last_read_in_participants_table.php in favor of adjusting 2014_10_28_180224_create_participants_table.php, fixes #57

Examples

Changed

  • MessagesController.php
  • unread-count.blade.php

2.11

24 Jun 01:08
Compare
Choose a tag to compare

Models/Thread.php

Added

  • getBySubject($subjectQuery)
  • userUnreadMessages($userId)
  • userUnreadMessagesCount($userId)

Traits/Messagable.php

Changed

  • newMessagesCount() to newThreadsCount()

2.10

25 Feb 00:54
Compare
Choose a tag to compare
  • Added ability to have prefixed table names via config. Table names will not be prefixed by default.

2.9.1

29 Jan 21:22
Compare
Choose a tag to compare
  • [Bug] Method whereHas should accept relation but not a table name.

1.8.2

20 Jan 21:11
Compare
Choose a tag to compare
  • fix config get for laravel 4

2.9

11 Dec 12:59
Compare
Choose a tag to compare
2.9
  • Support for custom models via config file
  • Added participants relation to Messagable user trait
  • Tested in PHP 7