This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
Releases: nabla/nabla-ios
Releases · nabla/nabla-ios
1.1.4
1.1.3
[1.1.3] - 2023-05-17
Added
Changed
- Core: Calling
NablaClient.setCurrentUser(userId:)
when the app starts is no longer required whenNablaClient.currentUserId
returns a non-null value. - Core: The
SessionTokenProvider
might be called immediately afterNablaClient.initialize()
is called.
Fixed
- Core: Improve live updates stability. Under bad network conditions, some websocket subscription would not reconnect as expected.
- Core: Fixed watchers emitting new values when the observed object don't change.
1.1.2
1.1.1
1.1.0
1.0.0
[1.0.0] - 2023-03-16
Added
Changed
- Global: Views will display an error if visible on screen when
clearCurrentUserData()
is called. - MessagingCore:
watchConversations()
,watchConversation(withId:)
andwatchItems(ofConversationWithId:)
will send someUserIdNotSetError
if they are active whenclearCurrentUserData()
is called. - MessagingUI:
NablaClient.shared.messaging.views
is NOT marked@MainActor
. - Scheduling: Rename
Appointment.State.upcoming
toAppointment.State.scheduled
Fixed
- MessagingUI: Fixed an issue in items date grouping where some date separators where missing.
1.0.0-alpha34
[1.0.0-alpha34] - 2023-03-13
Added
Changed
- Core:
NablaTheme
is marked@MainActor
. - MessagingUI: Methods of
InboxDelegate
andConversationViewControllerDelegate
are marked@MainActor
. - MessagingUI:
NablaClient.shared.messaging.views
is marked@MainActor
. - Scheduling: Methods of
AppointmentDetailsDelegate
,AppointmentListDelegate
andScheduleAppointmentDelegate
are marked@MainActor
.
Any @MainActor
member should only be accessed from the MainActor
. Apple marked UIView
and UIViewController
as @MainActor
so you should not have any change to make to your code. If you are not calling those methods from a UIView
, a UIViewController
or SwiftUI, we encourage you to visit the official documentation to update your app.
Fixed
- Core: Fixed an issue preventing the same current user to log in after a log out.
1.0.0-alpha33
[1.0.0-alpha33] - 2023-03-06
Added
- Scheduling: support for registering a payment step. See doc for details/instructions.
- Scheduling: Replace
NablaSchedulingViewFactory.presentScheduleAppointmentNavigationController(from:delegate:)
withNablaSchedulingViewFactory.createScheduleAppointmentNavigationController(delegate:)
.
Changed
- Core:
NablaClient.authenticate
is replaced byNablaClient.setCurrentUser
andNablaClient.clearCurrentUser
.SessionTokenProvider
is set duringNablaClient.initialize
. - Core: Moved the
SessionTokenProvider
fromConfiguration
toNablaClient.initialize
arguments. Also changed the arguments order ofNablaClient.initialize
. - MessagingCore: Renamed
ConversationActivity.Activity
toConversationActivity.Content
. - Scheduling: Removed
Location.RemoteLocation.unknown
case.
Fixed
- Fixed typos
1.0.0-alpha32
[1.0.0-alpha32] - 2023-02-14
Added
- Core: Added a new
watchEventsConnectionState
method onNablaClient
which allows you to monitor the current state of the network connection used to receive live events. - Messaging Core: Added a new
Response
object returned by watchers. It contains metadata about the freshness of the data returned, allowing the caller to know if the data comes from cache or is fresh and if a background refresh is in progress. - VideoCall: Disabled screen idling during video calls.
- VideoCall: Handle and open external video call urls when specified on appointments.
Changed
- Messaging Core:
watchConversation(withId:)
now returns aAnyPublisher<Response<Conversation>, NablaError>
. - Messaging Core:
watchItems(ofConversationWithId:)
now returns aAnyPublisher<Response<PaginatedList<ConversationItem>>, NablaError>
. - Messaging Core:
watchConversations()
now returns aAnyPublisher<Response<PaginatedList<Conversation>>, NablaError>
. - Messaging UI: After sending a message in a conversation, the view will automatically scroll to it.
- Messaging UI: Increased the composer default font size.
Fixed
- Scheduling: Months are no longer capitalized when using the french locale.
- VideoCall: Prevent a scenario where the video call screen would appear after the user hangs up.
1.0.0-alpha31
[1.0.0-alpha31] - 2023-02-03
Added
Changed
Fixed
- Scheduling: Improved the loading indicators in the new appointment flow.
- Scheduling: Fixed appointment scheduling consents not being updated when they are already present in the cache.
- VideoCall: Fixed a bug preventing video call request messages from being displayed in the chat.