Releases: react-native-community/cli
Releases · react-native-community/cli
v12.3.1
Fixes
- Fix for
run-android
on windows. (#2236) @aajahid - fix(init): use
yarn
as package manager when callinginit
withnpx
(#2216) @szymonrybczak
Full Changelog: v12.3.0...v12.3.1
v12.3.0
What's Changed
- fix: remove automatic config file generation by @okwasniewski in #2203
- feat: add manual Cocoapods installation info by @okwasniewski in #2204
Full Changelog: v13.0.1...v13.1.0
v12.3.0
What's Changed
- fix: remove automatic config file generation by @okwasniewski in #2203
- feat: add manual Cocoapods installation info by @okwasniewski in #2204
Full Changelog: v12.2.1...v12.3.0
v13.0.0
What's Changed
- fix: warning in
README.md
by @szymonrybczak in #2190 - ci: properly cache gradle by @szymonrybczak in #2150
Full Changelog: v12.2.0...v13.0.0
v12.2.0
Changes
🚀 Features
- feat: mention
doctor
command in issue template @szymonrybczak (#2186) - feat: add
--skip-git-init
to opt out git init @szymonrybczak (#2177)
🐛 Bug Fixes
- fix: warning in
README.md
@szymonrybczak (#2190) - fix: remove error when main activity not found in
AndroidManifest.xml
@szymonrybczak (#2187) - fix(ios):
run-ios
command @TMisiukiewicz (#2173) - fix(types): IOSScriptPhase accepts "always_out_of_date" @mikehardy (#2182)
- fix: check for main manifest if multiple are present @WoLewicki (#2174)
🧰 Maintenance
5 changes
- Add Android/iOS Sections to CODEOWNERS @cortinico (#2175)
- docs: mention running CLI from source @szymonrybczak (#2176)
- docs: sync
init
docs with current state @szymonrybczak (#2178) - chore(android): remove
root
argument @szymonrybczak (#2164) - chore(ios): remove deprecated param in
use_native_modules
@szymonrybczak (#2185) - feat: mention
doctor
command in issue template @szymonrybczak (#2186) - feat(docs): mention running CLI from source @szymonrybczak (#2176)
- feat(docs): sync
init
docs with current state @szymonrybczak (#2178) - Fix
native_modules.rb
tests @thymikee (#2188)
Full Changelog: v12.1.1...v12.2.0
v12.1.1
What's Changed
- fix: platform-name option causing regressions for other commands by @okwasniewski in #2171
- fix: make sure command is passed by @szymonrybczak in #2172
Full Changelog: v12.1.0...v12.1.1
v12.1.0
🚀 Features
- feat(ios): sort simulators to get iOS first @szymonrybczak (#2153)
- feat: add
--platform-name
option toinit
for out of tree platforms init @okwasniewski (#2170)
🐛 Bug Fixes
- fix: remove hardcoded android path @szymonrybczak (#2158)
🧰 Maintenance
- fix(ci): setup global git user @szymonrybczak (#2157)
- fix: delete unused
runUntil
function @szymonrybczak (#2147) - fix(e2e): correctly link packages @szymonrybczak (#2148)
- chore: replace
fs.rmdir
withfs.rm
@szymonrybczak (#2160) - Revert "chore(e2e): check for undefined code before printing fail" @szymonrybczak (#2152)
- chore: Changing node version missed during metro dependencies upgrade @arushikesarwani94 (#2015)
- ci: bump java to 17 @szymonrybczak (#2149)
Full Changelog: v12.0.0...v12.1.0
v11.3.10
v12.0.0
This version of React Native CLI targets React Native 0.73 and includes numerous bug fixes, features and performance improvements.
Breaking changes
- change default
taskPrefix
inbuild-android
command fromassemble
tobundle
by @szymonrybczak in #1913 - update Node minimum version to 18 by @Shubham1429 in #1986
- Fix ability to override commands via config by @huntie in #1999
- Remove fallback flow for Metro config defaults (0.73) by @huntie in #1972
- remove
--configuration
option frombuild/run-ios
by @szymonrybczak in #2028- Migration: Use
--mode
instead
- Migration: Use
- remove
--variant
option fromrun/build-android
command by @szymonrybczak in #2026.- Migration: Use
--mode
instead
- Migration: Use
- Delete source for
cli-plugin-metro
, remove from builtin commands by @huntie in #2055 - Remove unreferenced utils from
cli-tools
by @huntie in #2066
Performance
- move pods installation from
init
to ios-specific commands by @TMisiukiewicz in #2077- force Pods installation by passing:
--force-pods
- force Pods installation by passing:
- remove Gradle task check on run-android by @TMisiukiewicz in #2144
Fixes
- move launchPackager files into
src/
by @szymonrybczak in #1900 - Drop @react-native/metro-config dep for RN 0.72 config fallback by @huntie in #1899
- change permission in
launchPackager.command
when building packages by @szymonrybczak in #1904 - add missing arguments to
adb shell
inrun-android
command by @szymonrybczak in #1916 - delete
com.
prefix in package name by @szymonrybczak in #1915 - str.replace not a function issue by @adamTrz in #1909
- trim whitespace in
parseTasksFromGradleFile
on Windows by @szymonrybczak in #1933 - add missing argument to xcodebuild shell (destination) by @MichelBahl in #1934
--verbose
option not working forrun-ios
by @szymonrybczak in #1946- always add
--verbose
to the command by @szymonrybczak in #1953 - fix Xcode defaulting to 'Release' by @tido64 in #1957
- add logger to doctor unhandled errors by @jeferson-sb in #1962
- Potential EEXIST error when iOS asset catalog dir already exists by @robhogan in #1976
- remove
@ts-ignore
incli-plugin-metro
by @szymonrybczak in #1975 - init when there's a package.json in folder by @thymikee in #1980
- resolver.resolveRequest is always undefined by @ammarahm-ed in #1982
- remove useless check in
upgrade
command by @szymonrybczak in #1968 - "Multiple Podfiles were found" due to vendor inclusion by @robhogan in #1988
- doclinks should not select a default platform by @blakef in #1882
- Add flipper protocol support by @lunaleaps in #2003
- allow DevTools to connect by @tido64 in #2008
- ignore Pods and Hermes files when looking for AndroidManifest by @szymonrybczak in #2014
- fix : Getting rid of duplicate gradle error messages by @arushikesarwani94 in #2004
- adjust
doctor
command to work with customios/
folder location by @szymonrybczak in #1998 - use
none
as platform for printing upgrading link by @szymonrybczak in #2018 - typo in option description by @szymonrybczak in #2025
- Fix loading Metro config from alternative config path by @huntie in #2043
- ensure bundle destination directory exist by @tido64 in #2040
- does not override user-defined reporter by @zhiqingchen in #2024
- prevent booting already booted simulators by @szymonrybczak in #2033
- change request response in
/status
endpoint by @szymonrybczak in #2056 - fix crash when
--mode
is specified by @tido64 in #1958 - Adjust wording for dev server port taken messages by @huntie in #2067
- get only tasks for passed type by @szymonrybczak in #2062
- improve providing project name in
init
command by @szymonrybczak in #2071 - add missing
--force-pods
flag forrun-ios
andbuild-ios
by @TMisiukiewicz in #2082 - restore simulator, device, and UDID args on
run-ios
command by @huntie in #2086 - Creating cache for scoped packages by @TMisiukiewicz in #2089
- avoid chmod on read stream close by @JLHwung in #2096
- Add 'code-insiders' to launchEditor by @joshuayoes in #2092
- add missing shebang to
launchPackager.command
by @szymonrybczak in #2097 - skip pods installation when it's already installed by @TMisiukiewicz in #2112
- properly handle errors by @szymonrybczak in #2113
- remove hardcoded path to iOS folder by @szymonrybczak in #2111
- install pods on ios-commands with New Arch by @TMisiukiewicz in #2122
- Workaround JSON.stringify failing on large arrays with the error… by @paddlefish in #2051
- delete useless mocking in e2e tests by @szymonrybczak in #2103
- get scheme from
xcodeProject
name by @szymonrybczak in #2121 - fallback first to
yarn
whenbun
not available by @szymonrybczak in #2133 - do not ask for port change when
--no-packager
provided by @szymonrybczak in #2128 - add missing dependency by @szymonrybczak in #2140
- remove eslint warnings by @szymonrybczak in #2142
- check if there are any available simulators or physical devices by @szymonrybczak in #2102
- force users to use
nodeLinker: node-modules
when installing template packages by @szymonrybczak in #2135
Features
- only show --verbose flag if there are hidden logs by @blakef in #1925
- added --user flag to run-android command by @adamTrz in #1869
- add
--target
option by @szymonrybczak in #1928 - add
watchModeCommandParams
toreact-native.config.js
by @szymonrybczak in #1937 - add packager healthcheck to report if packager is running correctly by @tarunrajput in #1941
- update doctor to reflect Java >= 17 by @szymonrybczak in #2045
- enable pausing handling keystrokes in watch mode by @szymonrybczak in #2041
- add invoking CLI's scripts for launching Metro in
run-ios
command by @szymonrybczak in #2021 - read main activity from
AndroidManifest.xml
automatically by @szymonrybczak in #1967 - extract android applicationId by @adamTrz in #1951
- add Bun to
init
command by @TMisiukiewicz in #2073 - upgrade Android Studio version when installing on Windows by @szymonrybczak in #2072
- adjust healthchecks based on where command was ran by @szymonrybczak in #2049
- handle better can...