Skip to content

Commit bb6dea7

Browse files
TimOlivermeta-codesync[bot]
authored andcommitted
Bump IGListKit to v5.1.0
Summary: Updates the CHANGELOG with all of the latest enhancements and fixes, and bumps the version number of IGListKit to 5.1.0 Reviewed By: benhgreen Differential Revision: D85926201 fbshipit-source-id: c3c37bbfb859da3ef753b3a8074cf28c8b0febfa
1 parent 23daf6d commit bb6dea7

File tree

8 files changed

+41
-12
lines changed

8 files changed

+41
-12
lines changed

CHANGELOG.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22

33
The changelog for `IGListKit`. Also see the [releases](https://github.com/instagram/IGListKit/releases) on GitHub.
44

5-
5.1.0 (Upcoming Release)
5+
5.2.0 (Upcoming Release)
6+
-----
7+
8+
5.1.0
69
-----
710

811
### Breaking Changes
912

1013
- Added methods to the `IGListAdapterDelegate` to include callback methods for any time a cell will appear or did disappear from the screen. This can be used in conjunction with the `IGListAdapterDelegateAnnouncer` to listen globally for cell lifecycle events. Any implementer of `IGListAdapterDelegate` must update to include these methods. [Jesse Seidman](https://github.com/jseidman95) [(fa50aa1)](https://github.com/Instagram/IGListKit/commit/fa50aa1cf1be85940787e211d23eb5e7873dbf24), [(d1d6f9d)](https://github.com/Instagram/IGListKit/commit/d1d6f9d52caef89efd11444161ac341266d36ccf), [(03049f7)](https://github.com/Instagram/IGListKit/commit/03049f742f46a6ac28abedd249d176cac4694990)
1114

15+
- Added `willCrash` delegate methods in order to capture incoming crashes in IGListKit for analysis. Any implementer of `IGListAdapterUpdaterDelegate` and/or `IGListUpdatingDelegate` must update to include these methods. [Hoà V. DINH](https://github.com/dinhvh) [(da1050e)](https://github.com/Instagram/IGListKit/commit/da1050ef397c9cf38e88ac047196fe53fe6febb0)
16+
1217
### Enhancements
1318

1419
- Replaced CocoaPods with SPM as the new dependency manager of `IGListKit.xcodeproj` when running unit tests. [Tim Oliver](https://github.com/timoliver) [(2964f06)](https://github.com/Instagram/IGListKit/commit/2964f066a3b0ad533f2eeda71096caeb0b54500a)
@@ -17,11 +22,27 @@ The changelog for `IGListKit`. Also see the [releases](https://github.com/instag
1722

1823
- Added support for Swift Concurrency [Mark Davis](https://instagram.com/m4rk) [(0ec2d52)](https://github.com/Instagram/IGListKit/commit/0ec2d526f35374dc0366024f8bb62aac4db1fd8d)
1924

20-
- Added `autoDeselectEnabled` on `IGListAdapter` to free each section-controller from having to do this and avoid bugs [Maxime Ollivier](https://github.com/maxolls) (tbd)
25+
- Exposed an option to disable layout cache invalidation when new items are inserted [Constantine Fry](https://github.com/constantine-fry) [(700905e)](https://github.com/Instagram/IGListKit/commit/700905e628bf56abebce5bbdb0698ecade3c9842)
26+
27+
- Exposed `IGListCollectionViewLayoutInvalidationContext` as a public interface [(1560956)](https://github.com/Instagram/IGListKit/commit/1560956da3ce27e1816c641541dbdc616cf5ef56)
28+
29+
- Annotated main API classes with `NS_SWIFT_UI_ACTOR` in preparation of moving to Swift 6 [Cory Wilhite](https://github.com/corywilhite) [(a28d835)](https://github.com/Instagram/IGListKit/commit/a28d835b739af5136841622854b276d07cda7852)
30+
31+
- Added `autoDeselectEnabled` on `IGListAdapter` to free each section-controller from having to do this and avoid bugs [Maxime Ollivier](https://github.com/maxolls) [(fec6b0e)](https://github.com/Instagram/IGListKit/commit/fec6b0ef0f4a0224519b868cb51600ad3fdf6923)
32+
33+
- Added `associatedListAdapters` as a property of `UIViewController` to track `IGListAdapter` instances bound to that view controller. [Maxime Ollivier](https://github.com/maxolls) [(9c0ef52)](https://github.com/Instagram/IGListKit/commit/9c0ef5271583fadaa10fda6340794c20bcf609b2)
34+
35+
- Added assert when a section's `diffIdentifier` changed before an update starts, which could manifest in a few different crashes [Maxime Ollivier](https://github.com/maxolls) [(64ba471)](https://github.com/Instagram/IGListKit/commit/64ba4712012f074acbafa3fee05aefb28fa06fd2)
36+
37+
- Added support for iOS 13 Context Menus with `contextMenuConfigurationForItemAt` method. [Jérôme B.](https://github.com/jeromeboursier) [(23daf6d)](https://github.com/Instagram/IGListKit/commit/23daf6de7290198b775062d04906ba3019519ff0).
38+
39+
### Fixes
40+
41+
- A crash that could periodically occur when collection view layout attributes were `nil` [(6e91299)](https://github.com/Instagram/IGListKit/commit/6e9129978e0e3537aec53eea2d6909e45fe057f9)
2142

22-
- Added assert when a section's `diffIdentifier` changed before an update starts, which could manifest in a few different crashes [Maxime Ollivier](https://github.com/maxolls) (tbd)
43+
- A crash that could occur when reloading the same cell index multiple times [Maxime Ollivier](https://github.com/maxolls) [(0c25779)](https://github.com/Instagram/IGListKit/commit/0c257795e4a6e448fb76b5f15ebc83a1afcbd272)
2344

24-
- Added support for iOS 13 Context Menus with `contextMenuConfigurationForItemAt` method. [Jérôme B.](https://github.com/jeromeboursier) [(#1430)](https://github.com/Instagram/IGListKit/pull/1430).
45+
- A crash in `IGListCollectionViewLayout` that could occur if a nil `indexPath` value was provided [(5ee2207)](https://github.com/Instagram/IGListKit/commit/5ee22079822ef30d05366d58173b09e238b6e44b)
2546

2647
5.0.0
2748
-----

IGListKit.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,6 +2442,7 @@
24422442
GCC_C_LANGUAGE_STANDARD = gnu11;
24432443
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
24442444
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
2445+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
24452446
LD_RUNPATH_SEARCH_PATHS = (
24462447
"$(inherited)",
24472448
"@executable_path/Frameworks",
@@ -2479,6 +2480,7 @@
24792480
GCC_C_LANGUAGE_STANDARD = gnu11;
24802481
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
24812482
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
2483+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
24822484
LD_RUNPATH_SEARCH_PATHS = (
24832485
"$(inherited)",
24842486
"@executable_path/Frameworks",
@@ -2530,6 +2532,7 @@
25302532
SDKROOT = appletvos;
25312533
SKIP_INSTALL = YES;
25322534
TARGETED_DEVICE_FAMILY = 3;
2535+
TVOS_DEPLOYMENT_TARGET = 11.0;
25332536
};
25342537
name = Debug;
25352538
};
@@ -2567,6 +2570,7 @@
25672570
SDKROOT = appletvos;
25682571
SKIP_INSTALL = YES;
25692572
TARGETED_DEVICE_FAMILY = 3;
2573+
TVOS_DEPLOYMENT_TARGET = 11.0;
25702574
};
25712575
name = Release;
25722576
};
@@ -2839,6 +2843,7 @@
28392843
SKIP_INSTALL = YES;
28402844
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;
28412845
TARGETED_DEVICE_FAMILY = 3;
2846+
TVOS_DEPLOYMENT_TARGET = 11.0;
28422847
};
28432848
name = Debug;
28442849
};
@@ -2874,6 +2879,7 @@
28742879
SKIP_INSTALL = YES;
28752880
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;
28762881
TARGETED_DEVICE_FAMILY = 3;
2882+
TVOS_DEPLOYMENT_TARGET = 11.0;
28772883
};
28782884
name = Release;
28792885
};
@@ -3096,6 +3102,7 @@
30963102
GCC_WARN_UNUSED_PARAMETER = NO;
30973103
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
30983104
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
3105+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
30993106
LD_RUNPATH_SEARCH_PATHS = (
31003107
"$(inherited)",
31013108
"@executable_path/Frameworks",
@@ -3182,6 +3189,7 @@
31823189
GCC_WARN_UNUSED_PARAMETER = NO;
31833190
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
31843191
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
3192+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
31853193
LD_RUNPATH_SEARCH_PATHS = (
31863194
"$(inherited)",
31873195
"@executable_path/Frameworks",

IGListKit.xcodeproj/xcshareddata/xcschemes/IGListKit-macOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1620"
3+
LastUpgradeVersion = "2600"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

IGListKit.xcodeproj/xcshareddata/xcschemes/IGListKit-tvOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1620"
3+
LastUpgradeVersion = "2600"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

IGListKit.xcodeproj/xcshareddata/xcschemes/IGListKit.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1620"
3+
LastUpgradeVersion = "2600"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ We use the open source version `main` branch in the Instagram app.
4848
The preferred installation method is with [CocoaPods](https://cocoapods.org). Add the following to your `Podfile`:
4949

5050
```ruby
51-
pod 'IGListKit', '~> 5.0.0'
51+
pod 'IGListKit', '~> 5.1.0'
5252
```
5353

5454
### Carthage
5555

5656
For [Carthage](https://github.com/Carthage/Carthage), add the following to your `Cartfile`:
5757

5858
```ogdl
59-
github "Instagram/IGListKit" ~> 5.0.0
59+
github "Instagram/IGListKit" ~> 5.1.0
6060
```
6161

6262
### Swift Package Manager

README.zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@
4747
推荐使用[CocoaPods](https://cocoapods.org)来进行安装,只需添加如下语句到你的`Podfile`文件中:
4848

4949
```ruby
50-
pod 'IGListKit', '~> 5.0.0'
50+
pod 'IGListKit', '~> 5.1.0'
5151
```
5252

5353
### Carthage
5454

5555
对于[Carthage](https://github.com/Carthage/Carthage), 添加如下到`Cartfile`文件中:
5656

5757
```ogdl
58-
github "Instagram/IGListKit" ~> 5.0.0
58+
github "Instagram/IGListKit" ~> 5.1.0
5959
```
6060

6161
> 对于高级用法, 查阅 [安装指南](https://instagram.github.io/IGListKit/installation.html)

Source/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>5.0.0</string>
18+
<string>5.1.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

0 commit comments

Comments
 (0)