Releases: microsoft/react-native-macos
[email protected]
0.76.5 (2024-12-09)
🩹 Fixes
- Fix issue with react-native-macos dependencies (#2308)
❤️ Thank You
- Saad Najmi @Saadnajmi
v0.74
What's Changed
- [JSCRuntime] Add runtimeConfig to set debugger options by @Saadnajmi in #1957
- Don't recreate identical NSTrackingAreas by @amgleitman in #1971
- Fix accessibilityRole by @FalseLobster in #2001
- fix typo in url by @Spice-Z in #2005
- fix(macOS): Don't use iOS deployment target for macOS by @Saadnajmi in #2042
- Update to Xcode 15.2 by @Saadnajmi in #2037
- Use Yarn 4 by @Saadnajmi in #2030
- fix(cli): initialising in projects using Yarn v3 by @szymonrybczak in #2025
- Add visionOS support by @Saadnajmi in #2019
- Fix accessible prop on TextView by @FalseLobster in #2012
- Set build settings required for Swift in the template project by @tsapeta in #2067
- chore(cli): deprecate
--configuration
option inrun-macos
by @szymonrybczak in #2054 - [visionOS] Implement isVision interfaceIdiom by @Saadnajmi in #2077
- Implement
cursor: pointer
for iOS / visionOS by @Saadnajmi in #2080 - Fix new role prop after JS-Shim was removed by Meta by @FalseLobster in #2101
- Fix
transform
prop onView
component by @amgleitman in #2102 - Ensure ghost text doesn't appear when performing undos by @amgleitman in #2105
- Send mouseUp events for NSTabView by @eablokker in #2112
- Implement
[RCTUITextField selectedRange]
by @Saadnajmi in #2115 - [CherryPick] Fix retrieving current appearance in multi-window apps by @Saadnajmi in #2125
- Add onMouseEnter and onMouseLeave to Text (cherry-picked from 0.73-stable) by @amgleitman in #2149
- Refactor Redbox, Logbox, and DevLoadingView as Sheets by @Saadnajmi in #2151
New Contributors
- @Spice-Z made their first contribution in #2005
- @szymonrybczak made their first contribution in #2025
Full Changelog: v0.73.34...v0.74.1
v0.73
We're excited to announce the release of React Native 0.73. This is the fastest release we have done following a React Native release. Check out the blogpost for React Native 0.73 to see what's new. In addition, we have a couple of fixes and debugging improvements with JavascriptCore.
Happy building!
What's Changed
- [0.73-stable] Don't recreate identical NSTrackingAreas by @amgleitman in #1973
- [0.73] Default scale to 1.0 on if window is nil by @shwanton in #1975
- [0.73][JSCRuntime] Add runtimeConfig to set debugger options by @Saadnajmi in #1958
- [0.73][JSCRuntime] Only enable the JSC debugging in DEBUG by default by @Saadnajmi in #1977
- Fix
build_codegen!
not finding@react-native/codegen
in pnpm setups by @tido64 in #1984 - Correctly declare runtime dependencies by @tido64 in #1982
- [0.73-stable] Make socketConnections NSDictionary thread-safe by @amgleitman in #1986
New Contributors
- @matthargett made their first contribution in #1934
Full Changelog: v0.72.0...v0.73.1
0.72
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
- Add cursorColor support to TextInput by @dlitsman in #1787
- [Pressable] Mouse drags inside Pressable don't move the window by @Saadnajmi in #1857
- [iOS/macOS] [TextInput] Implement ghost text by @nakambo in #1897
- Add new macOS View prop
allowsVibrancy
by @Saadnajmi in #1889
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 ofReact
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 https://...
0.71
Announcing 0.71 🎉
We've got great news to share: React Native macOS 0.71 is now out!
A lot of work went into making this happen, please read the announcement blogpost to learn more 📖
Highlights
- Fabric experimental support via the
RCT_NEW_ARCH_ENABLED
flag - Shadow styles no longer render inconsistently
- Cursor customization support, via the
cursor
style prop - ... along with many updates to Text, TextInput, ScrollView, and Image!
Full List of Changes
- Update beachball to 2.25.0 by @amgleitman in #1259
- Import OCMock for RNTester macOS as a pod by @amgleitman in #1257
- Keyboard navigation in Flatlist by @Saadnajmi in #1258
- Flatlist keyboard navigation: Mouse can move selection by @Saadnajmi in #1267
- Fix VoiceOver for single-line TextInput by @christophpurrer in #1271
- Avoid RCTUnsafeExecuteOnMainQueueSync from RCTUIManager by @christophpurrer in #1266
- Add undo/redo support for TextInput by @christophpurrer in #1274
- Allow scrollResponderZoomTo() on macOS by @christophpurrer in #1265
- Fix missing autorelease pool in RCTPlatformDisplayLink by @christophpurrer in #1277
- Turn on focus ring for multiline textinput by @chiuam in #1276
- Fix event.locationX/Y to be in view's coordinate space by @christophpurrer in #1288
- Fix RCTDevLoadingView never actually closing by @christophpurrer in #1280
- Fix spellCheck and autoCorrect props by @christophpurrer in #1292
- Fix text replacement not working in multiline TextInput by @christophpurrer in #1286
- Don't send events when clicking on scrollbars by @christophpurrer in #1281
- Pass grammarCheck to text input views for Mac by @christophpurrer in #1293
- Single line TextInput fixes (prevent newLines, support horizontal overflow) by @christophpurrer in #1284
- Textinput range fix by @chiuam in #1296
- Honor enableFocusRing flag for multiline textFields by @christophpurrer in #1301
- Migrate FabricBot Tasks to Config-as-Code by @msftbot in #1225
- Fix nested Text components not inheriting foreground color from parent by @christophpurrer in #1283
- [RN][macos] Enable Hermes for RNTester by @shwanton in #1308
- Revert "Alleviate excessive layout jittering when resizing window (#439)" by @christophpurrer in #1318
- Remove TextInput setting insertionPointColor by @christophpurrer in #1321
- Remove stale files and folders from the root of our repo by @Saadnajmi in #1328
- Match package.json dependencies with RN Core + prettier by @Saadnajmi in #1333
- Remove more stale folders/files/changes by @Saadnajmi in #1337
- Fix RCTImageCache on macOS by @christophpurrer in #1272
- Add fragmentLinePadding for multiline shadow view to track TextView correctly by @christophpurrer in #1332
- Fix cursor not showing when tabbing into multiline TextInput by @christophpurrer in #1342
- Pass callbacks for when grammarCheck, spellCheck and autoCorrect are changed on macOS by @christophpurrer in #1325
- Fix Appearance module to observe application appearance by @christophpurrer in #1340
- Refactor handling of keyDown/keyUp by @christophpurrer in #1338
- Cache local images into memory by @christophpurrer in #1279
- Fix inconsistent shadows by @lyzhan7 in #1352
- Fix BAT line endings by @JunielKatarn in #1142
- Improve VoiceOver accessibility support for Flatlist by @chiuam in #1341
- Add cursor prop to View and Touchables by @ryanlntn in #760
- Provide option to not blindly foreground app's lastWindow from deepLinks by @christophpurrer in #1355
- Add scrollbar to multiline TextInput by @chiuam in #1366
- Move
RCTRootShadowView
creation to main thread by @amgleitman in #1344 - Fix TextInput interfering with Japanese conversion by @christophpurrer in #1358
- Deprecate onScrollKeyDown, refactor Flatlist selection logic by @Saadnajmi in #1365
- Fix build errors with codegen discovery flag enabled by @shwanton in #1320
- Don't set accessibilityRole by default in Flatlist by @chiuam in #1382
- RNTester: Only show the Flatlist keyboard navigation switch on macOS by @Saadnajmi in #1381
- Fix issue with setting initialSelectedindex to 0 in Flatlist by @Saadnajmi in #1399
- Allow clients to override keyboard focus props on FlatList by @Saadnajmi in #1403
- Add shadow inconsistency opacity fix with updated tests by @lyzhan7 in #1402
- Fix macOS 13 build error by @Saadnajmi in #1408
- Support inverted ScrollView on macOS by @christophpurrer in #1264
- Fix handling of keyDown/keyUp events by TextInput by @christophpurrer in #1345
- Fixing setting focus when RCTView is not yet in window by @nakambo in #1398
- Add MultilineTextInput drag/drop support by @christophpurrer in #1351
- Remove redundant podfile targets by @Saadnajmi in #1416
- Add MultilineTextInput paste support by @christophpurrer in #1350
- Grab RCTPerfMonitor's devSettings from the bridge by @amgleitman in #1426
- Don't install boost twice by @Saadnajmi in #1330
- Fix rn-tester TextInput warning for missing image.source.uri by @christophpurrer in #1434
- Fix insertion point and placeholder placement for TextInput by @christophpurrer in #1322
- Bump beachball to 2.30.1 by @amgleitman in #1435
- Adds declarative props to clear/submit MultilineTextInput by @christophpurrer in #1423
- Add option to enforce pasting plain text by @christophpurrer in #1429
- Workaround to open file handles for loaded assets by @christophpurrer in #1287
- Fix resizeMode="cover" when image is resized by @christophpurrer in #1273
- Add Dynamic Type support by @amgleitman in #1445
- A couple of renames to make Dynamic Type features more proper by @amgleitman in #1454
- Fix drag and drop of files in multiline textfield when a custom draggedType property is used by @christophpurrer in #1452
- Support arbitrary selectable text in Text component by @shwanton in #1346
- Use Xcode 14.0.1 in ADO by @amgleitman in #1455
- Refactor how
focusable
is handled in RCTView by @Saadnajmi in #1437 - Flatlist: Let ArrowUp/ArrowDown bubble at the top/bottom of list by @Saadnajmi in #1458
- Refactor vertical scrollbar to only be visible when text conten...
v0.61.0-microsoft.0-microsoft.6
v0.61.0-microsoft.0-microsoft.6
v0.61.0-microsoft.5
v0.61.0-microsoft.5
v0.61.0-microsoft.4
v0.61.0-microsoft.4
v0.61.0-microsoft.3
v0.61.0-microsoft.3
v0.61.0-microsoft.2
v0.61.0-microsoft.2