Skip to content

Commit aa1cf3c

Browse files
author
Clément Le Provost
committed
Update change log
[ci skip]
1 parent ca83cb8 commit aa1cf3c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

ChangeLog.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Change Log
77

88
**Warning:** This version requires Swift 3; it will not compile with Swift 2.x.
99

10+
You can find a detailed change log and migration instructions in the [Migration guide to version 4.x](https://github.com/algolia/algoliasearch-client-swift/wiki/Migration-guide-to-version-4.x).
11+
1012
Add support for **Swift 3**:
1113

1214
- Adapt to the new Foundation API
@@ -18,14 +20,16 @@ Add support for **Swift 3**:
1820
- Method names:
1921
- `browse` is now overloaded: `browse(query:)` and `browse(from:)`.
2022
- Rename enum members to lower camel case
23+
- Rename constants to lower camel case (except notification names)
2124
- Better Objective-C mappings
2225
- Adjust method names when necessary for a better fit with this language
2326
- Objective-C specific types are no longer visible in Swift (well, technically, they still are, but you have to look harder...)
2427
- No underscore-suffixed properties any longer
25-
- Use `Error` instead of `NSError` in completion handlers
26-
- Use dedicated error types
27-
- Use `@discardableResult` for methods returning `Operation`
28-
- Notifications are typed `Notification.Name`
28+
- Better typing
29+
- Use `Error` instead of `NSError` in completion handlers
30+
- Use dedicated error types
31+
- Use `@discardableResult` for methods returning `Operation`
32+
- Use `Notification.Name` for notifications
2933
- Prevent subclassing by *not* adopting the `open` access modifier
3034

3135
Other breaking changes:

0 commit comments

Comments
 (0)