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-modules
for new projects by @szymonrybczak in #2134 - feat: adapt
buildRun
to 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.js
by @szymonrybczak in #2229 - feat: Deprecate
unstable_reactLegacyComponentNames
by @cortinico in #2264 - feat(init): add
--yarn-config-options
option 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
yarn
as package manager when callinginit
withnpx
by @szymonrybczak in #2216 - fix: only run app on booted and available devices by @szymonrybczak in #2225
- Fix for
run-android
on windows. by @aajahid in #2236 - fix: regression where run was executing multiple times by @okwasniewski in #2242
- fix(ios): properly pass port to
env
inxcodebuild
by @szymonrybczak in #2245 - fix: do not block
run-ios/android
when 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
--device
without 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
ip
package with default value and--host
flag by @szymonrybczak in #2299 - fix:
execa
phantom dependency in cli-tools by @jbroma in #2292 - fix: Do not have empty
AUTOLINKED_LIBRARIES
by @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
getXcodeProjectAndDir
by @okwasniewski in #2220 - chore: move devices prompt to
prompts.ts
by @szymonrybczak in #2224 - chore: disable flaky tests by @szymonrybczak in #2230
- Update
getLatestRelease.ts
to usecurrentVersion
indiffUrl
by @kraenhansen in #2231 - chore: disable
editTemplate
test 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-metro
package remnants by @szymonrybczak in #2272 - chore: remove unused
update-metro.js
script by @szymonrybczak in #2281 - docs: update iOS auto-linking docs after adding support for PNPM and workspace setups by @felipebrahm in #2300
- docs: update
--tasks
option 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