Changelog History
Page 1
-
v8.0.0 Changes
๐ This release closes the 8.0.0 milestone.
๐ฅ Breaking changes
- โ Removed
JSQSystemSoundPlayer
as a dependency, see #1649 for reasoning. You can easily still include this in your project by addingpod 'JSQSystemSoundPlayer'
to your Podfile. You can find out the latest onJSQSystemSoundPlayer
here. - โ Removed
JSQMessagesKeyboardController
and implemented a properinputAccessoryView
. (#1063, #1529) Thanks @LeoNatan and @kirualex! JSQMessagesToolbarButtonFactory
is now an instance, not just class methods. (#1651, #866) Thanks @burntheroad!JSQMessagesAvatarImageFactory
is now an instance, not just class methods. (#1659, #1657) Thanks @burntheroad!JSQMessagesInputToolbar
now provides more control over the placement of the send button. (#840) Thanks @davidchiles!
โจ Enhancements
- ๐ Better Swift inter-op. Implemented Objective-C nullability. (#1654) Thanks @Lucashuang0802!
- Animated typing indicator. Typing indicator now animates like iMessage. (#1382) Thanks @radekcieciwa!
- ๐ Dynamic text support. (#497, #1747) Thanks @MacMeDan!
- Message cells now have a customizable accessory view. (#1519, #1719) Thanks @adubr!
- Send button now can be turned on/off manually. (#1575, #1609) Thanks @sebastianludwig!
- Video message items now have a custom thumbnail option. (#628, #709, #1408, #1823) Thanks @weekwood, @benjaminhallock!
- A new class
JSQMessagesVideoThumbnailFactory
now can generate thumbnail images fromAVURLAsset
. (#709, #1823) Thanks @weekwood, @Lucashuang0802! - โ Added a
placeHolderInsets
property toJSQMessagesComposerTextView
to allow insetting the placeholder text. (#1908)
๐ Fixes
- ๐ Fixed a number of issues regarding keyboard handling. Keyboard handling is now much more stable. (#1063, #1529, #799, #941, #1299, #558, #557)
- ๐ Fixed potential crash with media cells. (#1377, #1741) Thanks @Lucashuang0802!
- โ Removed
-
v7.3.5 Changes
July 17, 2017๐ This library is being deprecated. Please read my blog post for details:
๐ http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
-
v7.3.4 Changes
July 21, 2016๐ This release closes the 7.3.4 milestone.
-
v7.3.3 Changes
June 10, 2016๐ This release closes the 7.3.3 milestone.
- ๐ Fixed crash when tapping
Delete
after selecting text in composer text view. (#1663, #1664) - ๐ Fixed issue where long-pressing text in the composer text view would display non-standard iOS options in the contextual menu. (#1663, #1664)
๐ฑ Thanks @halvini and @GianniCarlo! ๐
- ๐ Fixed crash when tapping
-
v7.3.2 Changes
June 05, 2016๐ This release closes the 7.3.2 milestone.
-
v7.3.1 Changes
May 30, 2016 -
v7.3.0 Changes
May 23, 2016๐ This release closes the 7.3.0 milestone.
๐ See the 7.3.0 milestone for the complete list of fixes and improvements.
โจ Enhancements โจ
๐ ๐ New
JSQAudioMediaItem
for sending audio media (#1495)
๐ Now you can embed audio files just as easily as images. Plays all formats supported by AVAudioPlayer (AAC, MP3, PCM, etc). Use the default UI or customize it viaJSQAudioMediaViewAttributes
. See the docs for details.
Thanks @eliburke!๐ ๐ Fixed crash when long pressing on data detector links (#1247)
โช This is a workaround for an iOS bug.
Thanks @steipete!๐ ๐ Improved custom cell menu support (#1281)
YourJSQMessagesViewController
subclass can now overridedidReceiveMenuWillShowNotification:
anddidReceiveMenuWillHideNotification:
for more fine-grainedUIMenuController
handling.
Thanks @keyeMyria!๐ ๐ Accessibility enhancements to improve VoiceOver support (#873)
Cell and Accessory buttons now have accessibility labels. Incoming messages are announced.
Thanks @BillCarsonFr!๐ Customizable
isOutgoing
method(#1203)
๐ Allows better control over incoming/outgoing directionality for Team/Group chats. See the docs for details.
Thanks @sebastianludwig!- (BOOL)isOutgoingMessage:(id\<JSQMessageData\>)messageItem;
๐ Scroll to a specific row in the collection, optionally animated (#1195)
๐ See the docs for details. Thanks @sebastianludwig!- (void)scrollToIndexPath:(NSIndexPath \*)indexPath animated:(BOOL)animated;
๐ ๐ New localizations
- Malaysian (#1528)
- Indonesian (#1527)
- Norwegian (#1564)
- Finnish (#1415)
- Thai (#1292)
- Vietnamese (#1224)
Thanks @bejo, @hakonber, @2-4601, @ThirakornP, and @DungntVccorp!
๐ Swift Demo Project (#1572 and others)
An implementation of a Swift project utilizing JSQMessagesViewController. There is a ConversationListView and ConversationView demonstrating basic features of JSQ. Just pod install to run the project.
Thanks @MacMeDan!๐ Bugs closed ๐
๐ Documentation improvements ๐
๐ The full documentation is here.
Stats ๐
Due to the hard work from @orta and the @cocoapods team, I have some fun statistics to share about the library!
As of this writing:
- Total downloads: 529,107
- Total apps: 11,873
- GitHub Stars: 8,145
- ๐ See more on the library's cocoapods page
๐ฑ Thanks โค๏ธ
๐ As always, many thanks to all the contributors to this successful release!
โ JSQ
๐ฑ ๐ช ๐ ๐ -
v7.2.0 Changes
September 15, 2015๐ See the 7.2.0 milestone for the complete list of fixes and improvements.
โจ Enhancements โจ
๐ ๐ New solution for custom fonts (#347)
Using a custom font has been problematic for awhile. This mostly because there are tons of edge-cases regarding how glyph sizes are computed. To address this, theJSQMessagesCollectionViewFlowLayout
object has a new property:@property (strong, nonatomic) id\<JSQMessagesBubbleSizeCalculating\> bubbleSizeCalculator;
๐ฑ With this, you can now provide your own object conforming to the
JSQMessagesBubbleSizeCalculating
protocol and calculate the bubble sizes you need for your custom font! ๐ The library provides a default value for this, an instance ofJSQMessagesBubblesSizeCalculator
, which maintains existing behavior.๐ ๐ Fixed-width bubbles (#1112) โ Thanks @walsh2000!
๐ See the docs for the aforementionedJSQMessagesBubblesSizeCalculator
. Using fixed-width bubbles will prevent message bubbles from resizing on rotation to landscape.๐ Text cells can now be deleted (#970)
Opt-in to this behavior using the following:// in viewDidLoad[JSQMessagesCollectionViewCell registerMenuAction:@selector(delete:)];// then override the method - (void)collectionView:(JSQMessagesCollectionView \*)collectionView didDeleteMessageAtIndexPath:(NSIndexPath \*)indexPath;
๐ Localizations for Korean (#1149) and Arabic (#1130)
Thanks @chanil1218 and @qaysdwekat!๐ ๐ Better pin image drawing in
JSQLocationMediaItem
(#1162)
๐ฑ Pins on location item maps are now perfectly centered. ๐
Thanks @harlanhaskins!๐ Intercept paste events from the input textView (#1136)
๐ See the docs forJSQMessagesComposerTextViewPasteDelegate
.
Thanks @harlanhaskins!๐ Spacing for input toolbar items (#1035)
๐ TheJSQMessagesToolbarContentView
class has gained 2 new properties:leftContentPadding
andrightContentPadding
. See the docs for details.
Thanks @kohtenko!๐ Bugs closed ๐
Stats ๐
Due to the hard work from @orta and the @cocoapods team, I have some fun statistics to share about the library!
As of this writing:
- Total downloads: 6013
- Total apps: 419
- ๐ See more on the library's cocoapods page
๐ฑ Thanks โค๏ธ
๐ As always, many thanks to all the contributors to this successful release!
โ JSQ
๐ฑ ๐ช ๐ ๐ -
v7.1.0 Changes
May 31, 2015๐ See the 7.1.0 milestone for the complete list of fixes and improvements.
- ๐ Better and easier mechanism for handling custom menu actions, activated via long-press, for cells. The demo project has been updated with an example.
Thanks @sebastianludwig!
Relevant issues: #810, #811 - 0๏ธโฃ You can now specify a maximum height for the input toolbar, via
self.inputToolbar.maximumHeight
. The default behavior is unchanged, allowing the toolbar to grow to the top of the collection view.
Thanks @lbanders and @werediver!
Relevant issues: #323, #756, #950 - The
keyboardController
property onJSQMessagesViewController
is now public. This allows you to modify the keyboard behavior if needed, but this should be a rare use case. Here be dragons! ๐ You've been warned.
- ๐ Better and easier mechanism for handling custom menu actions, activated via long-press, for cells. The demo project has been updated with an example.
-
v7.0.2 Changes
May 05, 2015