Skip to content

0.72

Compare
Choose a tag to compare
@Saadnajmi Saadnajmi released this 08 Sep 06:57
· 5200 commits to main since this release

Announcing 0.72 🎉

We've got great news to share: React Native macOS 0.72 is now out!

This release brings up back in being aligned with React Native core, and we recommend you check out their blogpost with the main highlights for 0.72 since we follow their changes very closely. Additionally, this release will support building with Xcode 15 and targeting macOS 14 Sonoma ⏭️!

As part of the work of catching up to 0.72 we have also moved the structure of this codebase to be a new monorepo - massive thanks to @amgleitman for his work on this 👏.

We can't wait to see what you all will build with it!

Notable New Features



Full List of Changes

  • Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #1761
  • [0.71] Remove TurbomoduleCxx-RNW/WinRT port by @Saadnajmi in #1765
  • Merge more commits + Add NPM Publish Dry Run Job + Refactor Publish pipeline by @Saadnajmi in #1767
  • Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #1769
  • Fix publish.yml by @Saadnajmi in #1771
  • Refactor Publish pipeline (take 2) by @Saadnajmi in #1773
  • Fix Publish pipeline (take 3) by @Saadnajmi in #1774
  • Refactor publish pipeline (Take 4) by @Saadnajmi in #1777
  • Fix new architecture build for rn-macOS (macOS and iOS) by @Saadnajmi in #1781
  • [Fabric] Use RCT_NEW_ARCH_ENABLED flag for enabling new arch by @shwanton in #1782
  • Don't publish the SBOM back to Github by @Saadnajmi in #1785
  • Add cursorColor support to TextInput by @dlitsman in #1787
  • Remove TextInput cursor color changes with selectionColor prop changes by @lenaic in #1792
  • Fix back ports getting tagged as latest on NPM + react-native-macos-init publish by @Saadnajmi in #1794
  • Document releases flow by @Saadnajmi in #1789
  • Fix typo in publish.yml by @Saadnajmi in #1799
  • Add back macOS tintColor implementation by @Saadnajmi in #1801
  • Remove apple specific steps from react-native-macos-init publish by @Saadnajmi in #1800
  • Remove dead code Libraries/Components/DatePickerAndroid by @rozele in #1803
  • Remove Picker and DeprecatedPropTypes from macOS by @rozele in #1807
  • Resolve from react instead of React by @rozele in #1808
  • Handle edge case for setContentOffset with animation by @chiuam in #1810
  • Fix text input not correctly submitting events by @shwanton in #1811
  • [Fabric] Return active touch identifiers in surface touch handler on mouse up. by @lenaic in #1815
  • [Fabric] Add mandatory color space conversion for macOS. by @lenaic in #1813
  • [Fabric] Clean up hit testing now that RCTUIView extends RCTPlatformView by @lenaic in #1814
  • [Fabric] Use the layout metrics to get the scale factor in component views. by @lenaic in #1816
  • [Fabric] Fix RNTester content not resizing with window. by @lenaic in #1818
  • [Fabric] Fix wrong text offset when a line height is set. by @lenaic in #1819
  • [Fabric] Fix scroll views hiding content underneath them in Fabric. by @lenaic in #1820
  • Add back the right click dev menu by @Saadnajmi in #1822
  • Fix Multiline Text Input cursor position being reset to end of line by @shwanton in #1826
  • Fix callbacks not being fired on macOS ActionSheetIOS by @Saadnajmi in #1830
  • Fix contents links in Readme.md by @thomaswinckell in #1829
  • [Fabric] Add support for image content mode and tint features by @lenaic in #1828
  • Add a couple of mac specific exports to the TS exports by @acoates-ms in #1825
  • Update RCTUITextView to use the systemFontSize for macOS by @lyzhan7 in #1836
  • Use viewDidChangeBackingProperties to remove the use of notifications in RCTImageView by @lenaic in #1834
  • Scrollview - fix text centered on render when centerContent is true by @shwanton in #1839
  • ScrollView - only send the didScroll event if the document origin has changed by @shwanton in #1838
  • [Fabric] Fix text input rendering crashing by using layout metrics pixelScaleFactor by @lenaic in #1817
  • Fix ColorWithSystemEffect not returning the correct base color by @chiuam in #1845
  • -[RCTAccessibilityManager announceForAccessibility:] calls into AppKit from background thread by @nakambo in #1852
  • Update macOS init template to enable New Architecture by @shwanton in #1854
  • Onboarding to GitOps.ResourceManagement by @microsoft-github-policy-service in #1850
  • [Pressable] Mouse drags inside Pressable don't move the window by @Saadnajmi in #1857
  • Bump semver from 7.3.8 to 7.5.2 by @dependabot in #1860
  • [RCTTouchHandler] Invert Y coordinate when sending touch events to JS by @Saadnajmi in #1862
  • [Xcode 15] Silence warning with mismatched NSView.clipsToBounds property by @anandrajeswaran in #1864
  • Bump @grpc/grpc-js from 1.7.0 to 1.8.17 by @dependabot in #1870
  • [Fabric] Tint images using CIFilter fixing wrong tinted image size by @lenaic in #1843
  • [Switch] make sure wasOn is set properly by @Saadnajmi in #1871
  • [Key handling] pass through all keys; allow specifying modifiers for validKeys[Down|Up] by @nakambo in #1867
  • [RNTester] Add macOS dock icon by @Saadnajmi in #1875
  • Resolve tough-cookie to ^4.1.3 by @amgleitman in #1876
  • Fix invalid onScroll events breaking FlatList by @lenaic in #1873
  • Resolve @grpc/proto-loader to ^0.7.8 by @amgleitman in #1879
  • Fixing release-only crash for when specifying validKeys[Down|Up] by @nakambo in #1883
  • [DynamicColorMacOS] Downgrade to warning if appearance is nil by @Saadnajmi in #1885
  • Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #1884
  • Upgrade SocketRocket to 0.7.0 by @amgleitman in #1887
  • [Cherry Pick] Only apply isHighlighted native prop on iOS by @Saadnajmi in #1892
  • Add nil check to RCTBaseInputTextView by @lyzhan7 in #1895
  • [iOS/macOS] [TextInput] Implement ghost text by @nakambo in #1897
  • chore: ignore workflow errors on issue comments by @tido64 in #1899
  • Add new macOS View prop allowsVibrancy by @Saadnajmi in #1889
  • Merge to commit before monorepo change, reimplemented by @amgleitman in #1894
  • Bump fast-xml-parser from 4.1.2 to 4.2.7 by @dependabot in #1901
  • Fix some ADO pipeline stuff by @amgleitman in #1905
  • [RCTTouchHandler] Add a small optimization to coordinate conversion by @Saadnajmi in #1902
  • Make react-native-macos a monorepo by @amgleitman in #1908
  • Remove touch bar for multiline text input by @lyzhan7 in #1907
  • Merge up to 0.72-stable cut point by @amgleitman in #1909
  • Run packager from correct folder (cherry-pick of 40f816d) by @amgleitman in #1912
  • [RNTester] remove redundant release schemes by @Saadnajmi in #1915
  • Bump activesupport from 6.1.7.4 to 6.1.7.5 by @dependabot in #1913
  • Re-enable direct debugging with JSC on latest OS versions by @Saadnajmi in #1848
  • ADO and repo housekeeping before 0.72-stable cut by @amgleitman in #1914
  • Publishing pipeline fixes by @amgleitman in #1919
  • Fix scope and path names for publish pipeline by @amgleitman in #1920
  • Bring in the rest of 0.72-stable from RNCore by @amgleitman in #1927
  • Start publishing 0.72-stable! by @amgleitman in #1923
  • Use correct package.json file when publishing new versions by @amgleitman in #1929
  • Mark 0.72 as ready for release by @amgleitman in #1931
  • Fix one more package.json path by @amgleitman in #1932

New Contributors

Full Changelog: v0.71.2...v0.72.0