2.5
This release fixes a ton of issues, improves iOS 11 support, improves accessibility support, and removes old deprecated APIs.
- [ASCollectionNode] Add -isProcessingUpdates and -onDidFinishProcessingUpdates: APIs. #522 Scott Goodson
- [Accessibility] Add .isAccessibilityContainer property, allowing automatic aggregation of children's a11y labels. [#468]Scott Goodson
- [ASImageNode] Enabled .clipsToBounds by default, fixing the use of .cornerRadius and clipping of GIFs. Scott Goodson #466
- Fix an issue in layout transition that causes it to unexpectedly use the old layout Huy Nguyen #464
- Add -[ASDisplayNode detailedLayoutDescription] property to aid debugging. Adlai Holler #476
- Fix an issue that causes calculatedLayoutDidChange being called needlessly. Huy Nguyen #490
- Negate iOS 11 automatic estimated table row heights. Christian Selig #485
- Add content inset and offset bridging properties to ASTableNode and ASCollectionNode. Deprecate related properties and methods in ASTableView and ASCollectionView Huy Nguyen #460 #560
- Remove re-entrant access to self.view when applying initial pending state. Adlai Holler #510
- Small improvements in ASCollectionLayout Huy Nguyen #509 #513 [#562]((#562)
- Fix retain cycle between ASImageNode and PINAnimatedImage Phil Larson #520
- Change the API for disabling logging from a compiler flag to a runtime C function ASDisableLogging(). Adlai Holler #528
- Table and collection views to consider content inset when calculating (default) element size range Huy Nguyen #525
- [ASEditableTextNode] added -editableTextNodeShouldBeginEditing to ASEditableTextNodeDelegate to mirror the corresponding method from UITextViewDelegate. Yan S. #535
- [Breaking] Remove APIs that have been deprecated since 2.0 and/or for at least 6 months Huy Nguyen #529
- [ASDisplayNode] Ensure
-displayWillStartAsynchronously:
and-displayDidFinish
are invoked on rasterized subnodes. Eric Scheers #532 - Fixed a memory corruption issue in the ASImageNode display system. Adlai Holler #555
- [Breaking] Rename ASCollectionGalleryLayoutSizeProviding to ASCollectionGalleryLayoutPropertiesProviding. Besides a fixed item size, it now can provide interitem and line spacings, as well as section inset Huy Nguyen #496 #533
- Deprecate
-[ASDisplayNode displayWillStart]
in favor of-displayWillStartAsynchronously:
Huy Nguyen [#536](https:/
/github.com//pull/536) - Add support for URLs on ASNetworkImageNode. Garrett Moon
- [ASImageNode] Always dealloc images in a background queue Huy Nguyen #561
- Mark ASRunLoopQueue as drained if it contains only NULLs Cesar Estebanez #558