Releases: parley-messaging/ios-library
Releases · parley-messaging/ios-library
4.1.8
IMPORTANT: Parley 4.1.8 contains a minor breaking change when using a custom network implementation. Migrating can be done easily by removing the return types to adhere to the ParleyNetworkSession
implementation again.
- [Network] Running network requests on background queue.
- [Network] Removed cancelable implementation, since this was not being used anymore.
- [Chat] Fixed an issue that could cause a crash when entering foreground after resetting due to the registered observers.
4.1.7
4.1.6
4.1.5
4.1.4
4.1.3
- Fixed polling functionality resetting its timer more frequently than intended.
- Fixed always polling sometimes causing the initial information message to disappear or not show up as intended.
- Automatically scroll to the bottom when new messages are received via polling.
4.1.2
- Fixed an issue where scrolling up to load more messages could get the chat not to load even more messages.
- Fixed an issue where loading more messages didn't scroll back to the earlier shown message after updating.
- Fixed loading more messages triggering the API call twice sometimes.
- Aligned image heights in the chat to be the same as Android (180, instead of 160).
4.1.1
- Fixed an issue where the image viewer sometimes didn't show the image correctly.
- Fixed agent name not scaling with dynamic font.
- Fixed meta issues with dynamic font.
- Added
Parley.purgeLocalMemory()
method to clear local memory of Parley. Requires callingconfigure()
again. - Increased meta shadow height for better visibility.
- Added
Parley.setLocalizationManager(manager)
for overriding localizations used by Parley. - Improved media capture and selection by requesting permissions after selecting the desired option.
- Improved media selection for iOS 14 and above by using PHPickerViewController, resulting in needing less permission for sending media.
- Added more (screenshot) tests for Parley.
4.1.0
IMPORTANT: With Parley 4.1.0 there is a minor breaking change with appearance. Migrating can be done easily by adjusting to the new ParleyTextViewAppearance
in such cases.
- Styling:
ParleyTextViewAppearance
has been introduced to be able to style the fonts and colors for text views used by Parley. - Styling:
MessageCollectionViewCellAppearance
now hasmessageTextViewAppearance
(instead of just themessageColor
attribute). - Styling:
ParleyMessageViewAppearance
now hasmessageTextViewAppearance
(instead of just themessageColor
andmessageTintColor
attribute). - Styling:
ParleyStickyViewAppearance
now hastextViewAppearance
(instead of just thecolor
andtintColor
attribute). - Preventing duplicate creation of some classes.
- Added
Parley.setAlwaysPolling(enabled)
to be able to always enable polling. Defaultfalse
, since the Parley refreshes the chat when needed via push notifications.
Note: By default polling is only enabled when notification permissions are denied (unchanged compared to previous versions). - Added
ParleyMessageViewAppearance.imageCorners
to specify the rounding corners for images. - The
set
methods that have a callback always call their callback now (instead of only when Parley was configured). - Better type safety in cell usage.
- Prevent initialization of some classes and observers while Parley wasn't using them yet (now they are created when used).
- Added screenshot testing.
- Fixed an issue with scaling of texts when using bigger/smaller font settings.
- Updated SSL pinning certificates.
- Fixed an issue with the image viewer not scaling images correctly.