Texture v3.1.0 Release Notes
Release Date: 2021-09-09 // about 3 years ago-
๐ Fixed bugs:
๐ Merged pull requests:
- [Minor Breaking API] Rename ASNavigationController to ASDKNavigationController to fix name collision #2020 (rcancro)
- [RTL] Guard access of flipsHorizontallyInOppositeLayoutDirection for iOS >= 11 #2003 (rcancro)
- [RTL/Batching] Make ASDisplayShouldFetchBatchForScrollView aware of flipped CV layouts #1985 (rcancro)
- ๐ [Layout] Add RTL support to LayoutSpecs #1983 (rcancro)
- โก๏ธ Expand ASExperimentalRangeUpdateOnChangesetUpdate to ASTableView #1979 (rqueue)
- ๐ Docs: Remove Facebook and shift everything around, add Remix by Buffer #1978 (ay8s)
- โ Add experiment to ensure ASCollectionView's range controller updates โฆ #1976 (rqueue)
- โ Remove trailing semicolons between method parameters and body #1973 (sdefresne)
- ๐ Fix order-dependent ASTextNodeTests #1963 (tjaneczko)
- โก๏ธ Update asdkGram swift sample to swift version 5.3 #1962 (MussaCharles)
- ๐ Fix mutation of variable that is never read #1961 (ZevEisenberg)
- โ Remove redundant assignment #1960 (ZevEisenberg)
- Podfile improvements #1957 (ZevEisenberg)
- ๐ Fix WKWebView Accessibility #1955 (ZevEisenberg)
- ๐ fix missing hidden class #1952 (joprice)
- ๐ use https for slack link #1950 (joprice)
- ๐ฆ Exposes a new option in ASImageDownloaderProtocol to retry image downloads #1948 (chggr)
- All ASCellNode nodes to be non accessible if needed #1941 (decim92)
- [ASTextNode2] Make some ASTextNode2 layout files public #1939 (rcancro)
- Ship ASExperimentalDispatchApply #1924 (nguyenhuy)
- ๐ Fix failing ASConfigurationTests #1923 (nguyenhuy)
- More on ASDataController's main-thread-only mode #1915 (nguyenhuy)
- โ Add an experiment that makes ASDataController to do everything on main thread #1911 (nguyenhuy)
- ๐ Disable text kit lock #1910 (garrettmoon)
- Do not expose tgmath.h to all clients of Texture #1900 (bolsinga)
- ๐ Call will / did display node for ASTextNode. Fixes #1680 #1893 (garrettmoon)
- โ Remove background deallocation helper code #1890 (bolsinga)
- [Accessibility] Ship ASExperimentalDoNotCacheAccessibilityElements #1888 (rcancro)
Previous changes from v3.0.0
-
๐ This is the release candidate for a major release with breaking changes!
๐ Changelog
3.0.0 (2020-07-15)
๐ Merged pull requests:
- ๐ Improve ThreeMigrationGuide.md #1878 (rogerluan)
- โฌ๏ธ Upgrade to Xcode 11.5 #1877 (garrettmoon)
- ๐ Renames AS_EXTERN and ASViewController #1876 (garrettmoon)
- โ Add a 3.0 migration guide #1875 (garrettmoon)
3.0.0-rc.2 (2020-06-25)
๐ Merged pull requests:
- ๐ Fix all the warnings and re-enable on CI #1872 (garrettmoon)
- ๐ Prepare for 3.0.0-rc.1 release #1870 (garrettmoon)
- 0๏ธโฃ -[ASNetworkImageNode setURL:resetToDefault:] forget to reset animatedImage #1861 (IvanChan)
3.0.0-rc.1 (2020-06-19)
๐ Full Changelog
๐ Merged pull requests:
- ๐ Fix documentation for ASCornerRoundingTypeClipping #1863 (chggr)
- 0๏ธโฃ -[ASNetworkImageNode setURL:resetToDefault:] forget to reset animatedImage #1861 (IvanChan)
- โ Add iOS13 UIContextMenu api to ASCommonCollectionDelegate #1860 (IvanChan)
- [ASDisplayNode] Implement accessibilityElementsHidden #1859 (rcancro)
- [ASDisplayNode] Implement accessibilityViewIsModal #1858 (rcancro)
- โก๏ธ Reference Image Updates in preparation for iOSSnapshotTestCase 6.2 #1857 (bolsinga)
- โก๏ธ Run the tests with iOS10 and as a framework in preparation of updating snapshot test case. #1856 (bolsinga)
- โก๏ธ Update FBSnapshotTestCase to iOSSnapshotTestCase (=6.2) #1855 (bolsinga)
- Ship ASExperimentalTraitCollectionDidChangeWithPreviousCollection #1842 (bolsinga)
- Ship ASExperimentalUnfairLock experiment #1841 (bolsinga)
- Ship ASExperimentalOOMBackgroundDeallocDisable since it decreases OOMs #1840 (bolsinga)
- โก๏ธ Update Texture Xcode project to 11.4 and fix resulting warnings - 4 #1838 (bolsinga)
- โก๏ธ Update Swift collection view interop example #1837 (drinkius)
- ๐ deprecate ASGraphicsCreateImageWithTraitCollectionAndOptions #1836 (vovasty)
- โ Remove Danger from the development workflow #1835 (jparise)
- ๐ Use ASReplaceMethodWithBlock instead of swizzling with a library #1832 (bolsinga)
- ๐ท use iOS 13.4.1 and Xcode 11.4.1 for CI #1831 (vovasty)
- ๐ Do not use xcpretty in builds so that CI errors are logged. #1830 (bolsinga)
- โก๏ธ Update to OCMock 3.6 #1829 (bolsinga)
- โ Removes unnecessary
-tearDown
code. #1822 (dmaclach) - [Accessibility] Do not exclude elements outside the windowโs rect that are subviews of UIScrollView #1821 (rcancro)
- ๐ support cancelation in ASGraphicsCreateImage #1814 (vovasty)
- [ASDisplayViewAccessibility] A few accessibility improvements #1812 (rcancro)
- [ASDisplayNode] Allow explicit setting of accessibilityElements #1807 (rcancro)
- โ Add
nullable
to new ASCommonTableViewDelegate methods #1796 (jparise) - Context menu iOS 13 API #1795 (uuttff8)
- resolve background color using system trait collection #1777 (vovasty)
- โก๏ธ Update PINRemoteImage to the latest stable #1773 (mackoj)
- ๐ Prevent crashing during non critical logging at rotation #1770 (foxware00)
- ๐ Pruning ASExperimentalRemoveTextKitInitialisingLock code. #1766 (trufflin)
- ๐ fix calling CALayer out of the main thread #1762 (vovasty)
- ๐ Fix typo #1759 (devxoul)
- ๐ Lint podspec on all pull requests #1758 (nguyenhuy)
- Only include UIUserInterfaceLevel in iOS target #1757 (nguyenhuy)
- ๐ Link to IGListDiffKit in our IGListKit subspec #1756 (nguyenhuy)
- โ Remove references to xcpretty-travis-formatter #1755 (jparise)
- โ Add empty ASViewController initializer to facilitate subclassing #1754 (christianselig)
- โฌ๏ธ Bump up IGListKit version #1749 (ay8s)
- ๐ Improve recursive unfair lock #1742 (Adlai-Holler)
- ๐ Use
queue
inASMainSerialQueue
#1738 (hanton) - โ Delete unused header in
ASRunLoopQueue
#1737 (hanton) - Simplify push_back
GroupNotify
#1736 (hanton) - ๐ [Docs] minor fixes in
Layout
#1735 (hanton) - โ Delete unused macro in
ASControlNode
#1734 (hanton) - ๐ Fix tint color dead lock #1731 #1732 (lkzhao)
- ๐ Fix for images retrieved from the memory cache being reported as disk cache hits. #1722 (darrengyles)
- โก๏ธ [Docs] Update to use
ASCornerLayoutSpec
forPhoto with Outset Icon Overlay
#1721 (hanton) - โ Add
copy
sematic touserInfo
property inASTextRunDelegate
#1719 (hanton) - ๐ Change
layoutSizeDifferentFromBounds
macro to a BOOL #1718 (hanton) - โ Remove unused
sharedDeallocationQueue
property #1717 (hanton) - modify examples_extra/Shop swift 4.2 Version #1709 (doulos76)
- ๐ Fix element lookup for supplementary attributes. #1707 (craighowarth)
- โ Remove duplicate
ASPINRemoteImageDownloader
#1705 (hanton) - ๐ deprecate ASGraphicsCreateImageWithOptions #1704 (vovasty)
- ๐ fix typo in ASVideoNodeDelegate protocol #1695 (Eeyore741)
- โ Adds new delegate methods to ASCommonTableViewDelegate for swipes #1694 (SashaZolotarev)
- ๐ fix a node background color in non layer baked mode. #1693 (vovasty)
- ๐ท use iOS 13.0 and Xcode 11 on CI #1691 (vovasty)
- โ Remove build warnings #1681 (hanton)
- ๐ Use backgroundColor ivar instead of property access in traitCollectioโฆ #1678 (rahul-malik)
- introduction of
ASGraphicsCreateImageWithTraitCollectionAndOptions
#1675 (vovasty) - ๐ #1673 - Re-render Clipping Corners when User Interface Style Changes #1674 (shamanskyh)
- ๐ Fix main thread assertion for tint color on text nodes, re-render tint-able nodes on hierarchy changes #1670 (rahul-malik)
- ๐ Fix CFRelease on null variable when using truncationAttributedText #1669 (MikeDonahue)
- ASImageNode tintColor improvements. #1668 (bolsinga)
- ๐ Use
CAEdgeAntialiasingMask
instead ofunsigned int
#1667 (hanton) - Node TintColor Tweaks #1666 (bolsinga)
- Defer image asset regeneration to draw loop #1663 (mikezucc)
- ๐ Use MutexLocker when ASImageNode traits change #1662 (bolsinga)
- ๐ Use lock to access the image renderingMode when tint color changes #1661 (bolsinga)
- ๐ Use standard ivar _ prefix for userInterfaceStyle in ASImageNodeDrawParameters #1660 (bolsinga)
- Using
emplace\_back
instead ofpush\_back
for efficiency #1658 (hanton) - ๐ Fix
\_ASAsyncTransaction
initialization method #1656 (hanton) - ๐ use lock in asyncTraitCollectionDidChangeWithPreviousTraitCollection #1651 (vovasty)
- โช [GitHub CI] Revert back to Ruby Danger as Danger JS is not working properly #1650 (Kaspik)
- ๐ [Docs] Fix broken link in
Layout-Quickstart
#1648 (hanton) - โ
tests for
ASImageNode
dynamic tint color #1644 (vovasty) - AS::Map function improvement #1642 (hanton)
- ๐ Fix comment typo for
showsHorizontalScrollIndicator
in ASCollectionNode #1638 (innocarpe) - โ Adds support for new iOS 13 traits #1568 (ay8s)
- ๐ [IGListKit] Extended IGListKit support for displaying delegates #1011 (hebertialmeida)
๐ sync-base-08-29-19 (2019-08-28)
๐ Full Changelog
๐ Merged pull requests:
- Cleanup from recent changes #1647 (rahul-malik)
- โ Propagate ASTraitCollection for snapshot testing #1646 (rahul-malik)
- ๐ Fix issue where UIGraphicsRendererFormat is mutated #1645 (rahul-malik)
- Store backgroundColor in ASDisplayNode #1640 (rahul-malik)
- โ Adding experiment to propagate older trait collections when trait #1637 (rahul-malik)
- โก๏ธ Update Danger workflow #1636 (nguyenhuy)
- โ Run Danger with GitHub Actions #1635 (nguyenhuy)
- โ Remove Travis and Slather configs, as well as run_tests_update_status.sh #1633 (nguyenhuy)
- โ Remove BUCK support #1632 (nguyenhuy)
- ๐ [GitHub CI] Remove build approval step #1631 (nguyenhuy)
- ๐ support dynamic images in iOS13 #1630 (vovasty)
- ๐ Allow full color tinting on grayscale template images. #1629 (jessietea)
- [GitHub CI] Add step to block PRs from forked repositories unless they have the right label #1627 (nguyenhuy)
- Keep using
unowned
macro #1626 (hanton) - ๐ท Set up GitHub Actions CI #1623 (nguyenhuy)
- Minor code improvements #1622 (hanton)
- ๐ Minor changes to tint color support #1620 (nguyenhuy)
- โ Remove _ASDisplayLayer's delegateDidChangeBounds flag #1618 (nguyenhuy)
- โ Add support for tinting layer-backed ASDisplayNode #1617 (rahul-malik)
- โ Remove unused headers #1615 (hanton)
- Avoid querying for NSAttributedString attributes on empty string #1614 (rahul-malik)
- ๐ฎ Force
-\[\_ASDisplayLayer setDelegate:\]
to evaluate delegateFlags in iOS 13 #1609 (rahul-malik) - Stop setting
frameInterval
for animated image optimization #1607 (raycsh017) - ๐ Fix a comment bug in
ASVideoNode
andASVideoPlayerNode
#1604 (hanton) - โ Add support for tintColor on ASImageNode and ASButtonNode #1603 (rahul-malik)
- ๐ [Dev docs] Fix previous and next page links #1601 (nguyenhuy)
- Use AS_ARRAY_SIZE for array counting #1600 (hanton)
- ๐ [Dev docs] Add page navigation #1599 (nguyenhuy)
- ๐ [Dev docs] fix broken image links #1597 (hanton)
- Migrate example projects to the recommended
-nodeBlock
data source method #1596 (hanton) - โก๏ธ Update Pending state type for backgroundColor to UIColor #1593 (rahul-malik)
- โ add new networking image delegate method when image does not load from cache #1590 (ernestmama)
- Set background color directly to view if not layer backed #1588 (rahul-malik)
- ๐ [dev docs] Add link to Getting Started to Overview page #1587 (mikezucc)
- ๐ [Dev docs] Improve title of how-to-debug.md #1586 (nguyenhuy)
- โก๏ธ [Dev docs] Update navigation bar #1585 (nguyenhuy)
- โก๏ธ Update docs navigation orders #1584 (hanton)
- ๐ Fix all project coding warnings in
examples
folder #1582 (hanton) - โก๏ธ Update .gitignore file [Carthage] #1581 (hanton)
- โก๏ธ Run Import Optimizer on Texture #1580 (bolsinga)
- Bridge CTFontRef directly to UIFont when converting attributes on NSAttributedString #1579 (rahul-malik)
- [Dev doc] Add Carthage version #1578 (hanton)
- ๐ Fix ASBasicImageDownloaderTests #1576 (hanton)
- ๐ Fix the build warning in
ASRangeController.mm
#1575 (hanton) - โก๏ธ Update CONTRIBUTING.md #1574 (hanton)
- ๐ Fixes accessibilityLabel bug on ASButtonNode that has no title #1573 (SterlingWaves)
- Cleanup for cgFloatForYogaFloat #1571 (maicki)
- [ASDataController] Add an experiment that avoids flushing editing queue before starting the data pipeline pipeline #1564 (nguyenhuy)
- ๐ [dev docs] Remove redundant page #1563 (mikezucc)
- [Dev doc] Add overview and explain repository structure #1562 (nguyenhuy)
- Restore call pattern where UIView methods drive __enterHierarchy and __exitHierarchy for view-backed nodes #1561 (nguyenhuy)
- โ Remove ivar of ASCellNode.owningNode #1559 (nguyenhuy)
- โก๏ธ [Dev doc] Collections and asynchronous updates #1558 (nguyenhuy)
- ๐ [dev docs] Created the first pass at demystifying the layout system for debuggers and developers #1557 (mikezucc)
- included Longwalks #1556 (cgarg)
- ๐ Fix placeholder #1555 (strangeliu)
- ๐ #trivial fix development sidebar in docs #1554 (garrettmoon)
- โก๏ธ Update how to contribute docs #1553 (garrettmoon)
- โฌ๏ธ Upgrade Xcode and Cocoapods #1552 (garrettmoon)
- [ASTextNode2] Fix truncation token is wrong after attributed string is changing with different foreground color #1550 (maicki)
- โ Remove ASExperimentalTransactionOperationRetainCycle #1547 (bolsinga)
- Adjust how AS_ENABLE_TEXT_NODE is used to fix Xcode cmd+click & editor support #1546 (maicki)
- ๐ Fix ASTextNode2 supportsLayerBacking #1545 (maicki)
- ๐ [Dev docs] How to develop with Texture #1538 (nguyenhuy)
- ๐ Fix multiple issues around accessibility handlinig #1537 (maicki)
- ๐ [Dev docs] Node Lifecycle #1536 (nguyenhuy)
- Don't eagerly create arrays for attachments in ASTextNode2 #1535 (Adlai-Holler)
- โ Remove the text rendering experiment. #1531 (garrettmoon)
- ๐ Use flag for responder chain methods between view and node dispatching #1522 (maicki)
- ๐ Fixes UIKit version of ASDKGram #1521 (maicki)
- โ Add new property alwaysHandleTapTruncationAction to ASTextNode2 and ASTextNode. #1520 (dirtmelon)
- ๐ Fix Opting-Out of Linking with Photos Framework #1519 (b3ll)
- โ Add support for basic ASTextNode2 link highlighting #1518 (maicki)
- ๐ Small cleanup to remove unnecessary internal import #1517 (maicki)
- Assign accessibilityElements to _accessibilityElements #1516 (maicki)
- โ Remove ASExperimentalDisableAccessibilityCache #1515 (maicki)
- Reclaim CALayer asyncTransactions, use pointer-based NSMutableSet instead #1510 (Adlai-Holler)
- Discard _pendingDisplayNodes after subtree is rendered #1509 (Adlai-Holler)
- Cleanup whitespace #trivial #1507 (wiseoldduck)
- Shrink ASLayout #1503 (bolsinga)
- Shrink LayoutSpec classes #1502 (bolsinga)
- [feat] Added download progress for NetworkImageNode #1489 (zhongwuzw)
- Ship ASExperimentalImageDownloaderPriority #1480 (nguyenhuy)
- โก๏ธ NetworkingImageNode: update URL if we found image in assets #1473 (zhongwuzw)
- ๐ [Dev docs] Debugging documentation #1328 (mikezucc)
๐ sync-base-05-09-19 (2019-05-09)
๐ Full Changelog
๐ Merged pull requests:
- ๐ ASSignpost: Add support for the os_signpost API, fixes #1501 (Adlai-Holler)
- Shrink ASEditableTextNode by 16 bytes #1500 (bolsinga)
- Shrink ASCellNode by 8 bytes #1499 (bolsinga)
- Keep the atomics - does not affect memory reduction work #1498 (bolsinga)
- โ Remove unused declaration, missed in #1460 #1497 (bolsinga)
- Shrink Pager and Scroll Node #1496 (bolsinga)
- Shrink TextNode(2) #1495 (bolsinga)
- Shrink Button Node #1494 (bolsinga)
- โก๏ธ Minor update in change log #changelog #1492 (nguyenhuy)
- Cut version 2.8.1 #changelog #1491 (nguyenhuy)
- ๐ Clean up documentation issues around periods #1490 (amonshiz)
- Shrink ASImageNode by .6% and ASNetworkImageNode by 2.2% #1487 (bolsinga)
- Ship ASExperimentalFixRangeController #1486 (nguyenhuy)
- Shrink _ASCollectionPendingState from 144 to 128 bytes, a 12.5% reduction #1485 (bolsinga)
- Shrink ASDisplayNode from 1072 to 968 bytes, reduction of 10.74% #1484 (bolsinga)
- Shrink _ASPendingState from 824 to 808 bytes, reduction of ~2% #1483 (bolsinga)
- ๐ Ensure ASControlMode properties lock before accessing their ivars #1476 (bolsinga)
- ๐ Make sure all ASDisplayNode properties have backing ivars for consistency. #1475 (bolsinga)
- โ Add a new "global drawing" experiment to use UIGraphicsRenderer #1469 (Adlai-Holler)
- ๐ Fix open context bug introduced in #1458 #1468 (Adlai-Holler)
- Passthrough pagingEnabled for ASCollectionNode / ASTableNode #1466 (maicki)
- Cover the other background dealloc surfaces #1464 (mikezucc)
- โฌ๏ธ Drop support for Xcode 8 and fix some compiler warnings #1463 (Adlai-Holler)
- โ Remove iOS 8 logging support #1462 (Adlai-Holler)
- โ Remove ASEventLog #1460 (Adlai-Holler)
- Shut down graphics contexts experiment #1458 (Adlai-Holler)
- ๐ Make ASCollectionNode's pan gesture customizable #1457 (OskarZhang)
- Only create activities during debug #1456 (Adlai-Holler)
- ๐ Try to remove global lock when initialising TextKit components #1455 (zhongwuzw)
- โ Remove lock of ASTextNodeRendererKey #1454 (zhongwuzw)
- ๐ Fix wrongly formatted RELEASE link #1453 (BalestraPatrick)
- ๐ [#1451] Add support for UIAccessibilityCustomAction #1452 (shamanskyh)
- Simplify ASTraitCollection propagation in ASViewController #1447 (maicki)
- ๐ Use AS::Mutex in ASCollectionElement #1445 (maicki)
- โ Add didEnterHierarchy/didExitHierarchy to ASNodeController. #1444 (tnorman42)
- โช Revert "Have image nodes draw into opaque contexts automatically if possible" #1443 (Adlai-Holler)
- ๐ Use instance lock for ASPrimitiveTraitCollection #1442 (maicki)
- ๐ Fix the stub for layerActionForKey: to let CA continue the search #1441 (Adlai-Holler)
- Wrap transaction operation retain cycle fix in an experiment #1438 (bolsinga)
- ๐ Fix typo. #1437 (dirtmelon)
- โ Add a verbose log for locking operations. Has no effect in production #1436 (Adlai-Holler)
- ๐ Fix scroll node in yoga #1435 (wsdwsd0829)
- [ASDisplayNode] Stop infinite layout in _u_measureNodeWithBoundsIfNecessary #1434 (rcancro)
- Have image nodes draw into opaque contexts automatically if possible #1432 (Adlai-Holler)
- ๐ Fix retain cycle with transaction operations #1429 (bolsinga)
- Replace +load initializers with __attribute__((constructor)) functions #1425 (farktronix)
- [Experiment] Dont forget about these collection view background deallocs #1424 (mikezucc)
- โก๏ธ showcase.md updated #1421 (plotkin)
- Experiment with disabling background dealloc for ASViewController #1420 (mikezucc)
- Follow up on the ASRangeController fix in #1418 #1419 (nguyenhuy)
- ๐ Fix a bug in ASRangeController that causes cell nodes to render unnecessarily #1418 (nguyenhuy)
- ๐ Only set ASLayoutElementStyle delegate if Yoga is enabled #1417 (maicki)
- โ Add support for clipping only specific corners, add unit tests #1415 (Adlai-Holler)
- โ Add support for reverse direction to yoga layouts #1413 (wiseoldduck)
- 0๏ธโฃ Disable ASAssertLocked and ASAssertUnlocked by default #1412 (nguyenhuy)
- ๐ Fix dealloc on bg #1410 (wsdwsd0829)
- ๐ Avoid an unnecessary lock & unlock pair in ASMainSerialQueue #1409 (nguyenhuy)
- ๐ Fix a bug with Yoga nodes whose position change and don't update. #1408 (tnorman42)
- ๐ Fix GIF Caching #1405 (ay8s)
- ๐ Fix header typo #1402 (Adlai-Holler)
- ๐ Suppress documentation warnings when using external libraries #1401 (bolsinga)
- Naming ivar context can conflict with subclasses #1399 (garrettmoon)
- ๐ Make shared CA transaction queue variable extern so it's actually shared #1397 (Adlai-Holler)
- โ Add layer-action support to nodes #1396 (Adlai-Holler)
- ๐ Make experiment checks faster #1393 (Adlai-Holler)
- โก๏ธ Update for 9.4.1 CI #1392 (garrettmoon)
- Need some more locks for working with calculated yoga layouts #1388 (wiseoldduck)
- Clean up a clang analyzer cast error #1387 (bolsinga)
- โ Adds support for using UIGraphicsImageRenderer in ASTextNode. #1384 (garrettmoon)
- Remove experimental features (exp_skip_a11y_wait && exp_new_default_cell_layout_mode) #1383 (ernestmama)
- ๐ Rename ASDN C++ namespace to AS #1366 (Adlai-Holler)
- โ Add clang-format for a common source code format #1365 (maicki)
- โ Add UIDataSourceModelAssociation to ASTableView and ASCollectionView #1354 (farktronix)
- โก๏ธ [Text Nodes] Maintain isAccessibilityElement setting on text nodes when updating text #1326 (smeis)
- โ Removed locked jekyll version #1322 (mikezucc)
- ๐ Dev docs for threading in Texture #1319 (mikezucc)
- [ASImageNode]fix incorrect backing size calculation #1189 (junjielu)