3.0 Release!
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)
- -[ASNetworkImageNode setURL:resetToDefault:] forget to reset animatedImage #1861 (IvanChan)
3.0.0-rc.1 (2020-06-19)
Merged pull requests:
- Fix documentation for ASCornerRoundingTypeClipping #1863 (chggr)
- -[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)
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)
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)
- 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)