Releases: react-native-community/cli
Releases · react-native-community/cli
Release list
v15.1.0
Changes
- fix: Use 'fallback simulator' for tvOS @cgoldsby (#2608)
- Improve and clarify error for missing scheme file @friederbluemle (#2599)
- fix: run-android device not found on change from deviceId to device @High5Apps (#2595)
- fix(macCatalyst): construct correct path for executable @mikehardy (#2510)
- refactor: replace strip-ansi with native module @stianjensen (#2521)
- breaking: Drop browser helpers from cli-tools, simplify middleware @huntie (#2588)
- breaking: Replace launchEditor implementation @huntie (#2587)
- breaking: Remove secondary exports of cli-server-api @huntie (#2584)
- ci: disable running tests on Windows @szymonrybczak (#2577)
- fix: be able to read more complex buildToolsVersion definitions @dloic (#2531)
- fix(config): fix
loadConfig()failing with "missing loader for extension" @tido64 (#2550) - fix:
loadConfig()failing with "missing loader for extension" @tido64 (#2549)
🚀 Features
- feat: install Cocoapods by default in all projects @szymonrybczak (#2602)
- feat: Export
createDevServerMiddlewarefromcli@robhogan (#2605) - feat: add
RCT_IGNORE_PODS_DEPRECATIONenv variable topod install@szymonrybczak (#2601) - feat: Refresh cli-server-api index page @huntie (#2582)
- feat: support ESM in
react-native.config@szymonrybczak (#2453)
🐛 Bug Fixes
- fix(apple): include check if
PodfileandPodfile.lockchanged when deciding to install Cocoapods @szymonrybczak (#2443) - fix: Remove hardcoded npm registry url @jasonjiicloud (#2520)
- test: fix e2e test snapshot @thymikee (#2586)
- fix: adjust log in install Cocoapods prompt @szymonrybczak (#2580)
- fix: config with --platform flag to work with platforms defined in multiple packages @thymikee (#2562)
- fix: support linking of BaseReactPackage subclasses @vonovak (#2563)
- fix: handle libraries using build.gradle.kts files @bang9 (#2543)
🧰 Maintenance
12 changes
- docs: fix numbered lists and spelling in CONTRIBUTING.md @D-Gaspa (#2613)
- docs: add
link-assetscli setup guides @Nova41 (#2572) - feat: install Cocoapods by default in all projects @szymonrybczak (#2602)
- Update maintainers to reflect current state of things @szymonrybczak (#2598)
- chore: Link to test setup in PR template @huntie (#2597)
- breaking: Remove cli-debugger-ui package @huntie (#2583)
- docs: update compatibility table @thymikee (#2585)
- chore: replace
sudo-promptwith@vscode/sudo-prompt@szymonrybczak (#2578) - docs: update compat table @thymikee (#2560)
- chore: remove deprecated react legacy components from config @szymonrybczak (#2554)
- chore: remove unused native_modules files @thymikee (#2547)
- refactor: extract cli-config-android for linking @thymikee (#2546)
Full Changelog: v15.0.1...v15.1.0
v15.0.1
What's Changed
- docs: update table of versions react native to new version 0.76 by @imatheus-lucas in #2534
- refactor: extract
cli-config-applefor linking by @thymikee in #2536 - test: fix e2e test for 0.76 by @thymikee in #2537
- fix(init): install Cocoapods with New Architecture enabled by default by @szymonrybczak in #2540
New Contributors
- @imatheus-lucas made their first contribution in #2534
Full Changelog: v15.0.0...v15.0.1
v15.0.0
What's Changed
- fix: Correctly display errors in react-native init by @islandryu in #2394
- ci: disable
react-native-macostest by @szymonrybczak in #2500 - build(deps): bump serve-static from 1.14.1 to 1.16.0 by @dependabot in #2501
- chore: remove deprecated --npm flag by @TMisiukiewicz in #2504
- chore: set npm as default package manager to init by @TMisiukiewicz in #2503
- fix(cli-config): include peer dependencies when finding dependencies by @tido64 in #2423
- fix: use preferred device in default mode by @szymonrybczak in #2363
- chore: use fast-glob for link-assets and scripts by @thymikee in #2513
- fix(cli-tools): declare dependency on
promptsby @tido64 in #2518 - fix: xcworkspaces parsing should handle many xcprojects by @blakef in #2522
New Contributors
- @islandryu made their first contribution in #2394
Full Changelog: v14.1.0...v15.0.0
v14.1.0
What's Changed
- Put an upper bound on "**/Podfile" search depth by @ephemer in #2480
- test(e2e): update snapshots by @szymonrybczak in #2476
- fix: readConfigFromDisk should ignore package.json entries by @vonovak in #2472
- chore: bump
fast-xml-parserfrom 4.2.4 and 4.3.2 to 4.4.1 by @Romick2005 in #2466 - build(deps): bump axios from 1.6.1 to 1.7.4 by @dependabot in #2478
- fix: add missing
--deviceoption tobuild-ioscommand by @szymonrybczak in #2482 - fix: typos in readme by @szymonrybczak in #2483
- build(deps-dev): bump micromatch from 4.0.4 to 4.0.8 by @dependabot in #2485
- perf: skip getting package class name inside expo module by @szymonrybczak in #2487
- feat: determine react-native → template from npm registry data by @blakef in #2475
New Contributors
- @ephemer made their first contribution in #2480
- @Romick2005 made their first contribution in #2466
Full Changelog: v14.0.1...v14.1.0
v13.6.5
v13.6.1
This is the collective changelog for v13 of the CLI that's intended for use with React Native 0.74.
Features
- feat: update compatibility table by @szymonrybczak in #2192
- feat: add gradlew doctor check permissions by @jeferson-sb in #2191
- feat: add manual Cocoapods installation info by @okwasniewski in #2204
- feat(ios): show simulator version in prompt by @szymonrybczak in #2214
- feat(ios): cache last used device by @szymonrybczak in #2162
- feat: add platform-cli-apple with reusable utilities for OOT platforms by @okwasniewski in #2208
- feat: merge buildOptions to runOptions by @okwasniewski in #2222
- feat: add strict typing for supported platforms by @okwasniewski in #2218
- feat: convert command options and dependencyConfig into getters by @okwasniewski in #2226
- feat: warn about multiple podfiles only if provided platform is unsupported by @okwasniewski in #2223
- feat: fallback to OOT scheme by @szymonrybczak in #2233
- feat: use Yarn v3 with
nodeLinker: node-modulesfor new projects by @szymonrybczak in #2134 - feat: adapt
buildRunto properly open macOS apps by @szymonrybczak in #2232 - feat: log files in selected directory and add option to replace them by @szymonrybczak in #2100
- feat: allow overriding commands from
react-native.config.jsby @szymonrybczak in #2229 - feat: Deprecate
unstable_reactLegacyComponentNamesby @cortinico in #2264 - feat(init): add
--yarn-config-optionsoption by @szymonrybczak in #2273 - feat: Add support for C++ TurboModules Autolinking by @cortinico in #2296
- refactor: adapt
getSimulators()for OOT platforms by @okwasniewski in #2239
Fixes
- fix(android): launching app on simulator with different appId than pa… by @thymikee in #2195
- fix: packager starting when using run-ios and run-android by @janicduplessis in #2198
- fix: launchEditor not working for JetBrains IDEs by @tarunrajput in #2197
- fix: remove automatic config file generation by @okwasniewski in #2203
- fix: add more guard conditions for retrieving buildConfig from XcScheme by @AnnatarHe in #2196
- fix(init): use
yarnas package manager when callinginitwithnpxby @szymonrybczak in #2216 - fix: only run app on booted and available devices by @szymonrybczak in #2225
- Fix for
run-androidon windows. by @aajahid in #2236 - fix: regression where run was executing multiple times by @okwasniewski in #2242
- fix(ios): properly pass port to
envinxcodebuildby @szymonrybczak in #2245 - fix: do not block
run-ios/androidwhen failed to start packager by @szymonrybczak in #2252 - fix: replacing package name in Kotlin template by @szymonrybczak in #2209
- fix(cli-platform-apple): properly receive simulators by @szymonrybczak in #2251
- fix: allow users to specify
--devicewithout value by @szymonrybczak in #2263 - Fix: cleaning metro cache by @TMisiukiewicz in #2258
- fix: launching activity defined with fully qualified name by @thymikee in #2269
- fix: replace
ippackage with default value and--hostflag by @szymonrybczak in #2299 - fix:
execaphantom dependency in cli-tools by @jbroma in #2292 - fix: Do not have empty
AUTOLINKED_LIBRARIESby @cortinico in #2306
Chore & Maintenance
- perf: replace glob with fast-glob by @abejfehr in #2280
- test: update snapshot for e2e config test by @thymikee in #2200
- chore(init): remove error when Git initialisation failed by @szymonrybczak in #2215
- refactor: extract duplicated code to
getXcodeProjectAndDirby @okwasniewski in #2220 - chore: move devices prompt to
prompts.tsby @szymonrybczak in #2224 - chore: disable flaky tests by @szymonrybczak in #2230
- Update
getLatestRelease.tsto usecurrentVersionindiffUrlby @kraenhansen in #2231 - chore: disable
editTemplatetest on Node v20 by @szymonrybczak in #2235 - refactor(cli-platform-apple): move installing and launching app logic to separate function by @szymonrybczak in #2234
- Improve Quotation and Path Handling in CLI Tools by @snowleopard17 in #2238
- docs: projects.md to include type information by @atomicpages in #2250
- build(deps): bump follow-redirects from 1.15.2 to 1.15.4 by @dependabot in #2257
- build: support Gradle configuration cache by @ahruss in #2201
- ci: run tests on every branch by @szymonrybczak in #2256
- chore: remove
cli-plugin-metropackage remnants by @szymonrybczak in #2272 - chore: remove unused
update-metro.jsscript by @szymonrybczak in #2281 - docs: update iOS auto-linking docs after adding support for PNPM and workspace setups by @felipebrahm in #2300
- docs: update
--tasksoption description by @szymonrybczak in #2290 - refactor: improved type safety of platformConfig in createRun function by @hoonjoo-park in #2286
New Contributors
- @AnnatarHe made their first contribution in #2196
- @aajahid made their first contribution in #2236
- @snowleopard17 made their first contribution in #2238
- @atomicpages made their first contribution in #2250
- @ahruss made their first contribution in #2201
- @abejfehr made their first contribution in #2280
- @felipebrahm made their first contribution in #2300
- @jbroma made their first contribution in #2292
- @hoonjoo-park made their first contribution in #2286
Full Changelog: v12.3.6...v13.6.1
v12.3.6
What's Changed
- fix(12.x): replace
ippackage with default value and--hostflag by @szymonrybczak in #2301
Full Changelog: v12.3.5...v12.3.6
v12.3.5
What's changed
- fix(ios): types when passing port to
envinxcodebuild(#2245) @szymonrybczak
Full Changelog: v12.3.4...v12.3.5
v12.3.4
v12.3.3
What's Changed
- fix(12.x): allow users to specificy
--devicewithout value by @szymonrybczak in #2265
Full Changelog: v12.3.2...v12.3.3