Releases: react-native-community/cli
Releases · react-native-community/cli
v8.0.0
What's Changed
- chore: remove global-cli by @grabbou in #1540
- chore(breaking): remove
initCompat
a.k.a legacy "init" by @grabbou in #1544 - refactor(breaking): remove deprecated
link
,unlink
and associated code by @grabbou in #1537 - Bump chalk to 4.x in cli-doctor by @stianjensen in #1546
- test(doctor, jdk): fix windows jdk doctor install test by @mikehardy in #1549
- fix(doctor, watchman): accept new date-based watchman versions by @mikehardy in #1550
- Fix Web Debugging and Other Websocket Endpoints with Metro 0.67 by @NickGerleman in #1560
- chore: add tests for
getProjectConfig
on iOS by @grabbou in #1558 - breaking(run-android): remove deprecated run-android properties by @grabbou in #1557
- fix: use textContent instead of innerHTML in debugger-ui by @matias-la in #1559
- Postinit script loader by @JeremyDolle in #1526
- docs: add --active-arch-only to run-android by @radko93 in #1580
- feat: add "clean" command by @tido64 in #1582
- docs: added docs for
clean
by @tido64 in #1589 - [Feat] Add support for .xcode.env file in init and doctor commands by @cipolleschi in #1585
- chore: Automated CLI releases by @kbieganowski in #1592
- chore(release): Disable persist credentials on checkout action by @kbieganowski in #1594
- Add generate-static-view-configs command line argument for bundle command by @dmitryrykun in #1595
- update: bump version of Metro packages to 0.70.1 by @fortmarek in #1601
- Update reactNativePlatformResolver for new metro by @acoates-ms in #1605
- (docs) mention the process of uninstalling a package by @cloudscann-dev in #1607
New Contributors
- @mikehardy made their first contribution in #1549
- @matias-la made their first contribution in #1559
- @JeremyDolle made their first contribution in #1526
- @cipolleschi made their first contribution in #1585
- @kbieganowski made their first contribution in #1592
- @dmitryrykun made their first contribution in #1595
- @fortmarek made their first contribution in #1601
- @cloudscann-dev made their first contribution in #1607
Full Changelog: v7.0.1...v8.0.0
v8.0.0-alpha.4
What's Changed
- Add generate-static-view-configs command line argument for bundle command by @dmitryrykun in #1595
- feat: Add support for .xcode.env file in init and doctor commands (#1585) by @cipolleschi
- feat: add "clean" command (#1582) by @tido64
- fix: use textContent instead of innerHTML in debugger-ui (#1559) by @matias-la
- feat: remove postinit script loader (#1526) by @JeremyDolle
- docs: add --active-arch-only to run-android by @radko93
New Contributors
- @dmitryrykun made their first contribution in #1595
Full Changelog: v8.0.0-alpha.0...v8.0.0-alpha.4
test
v8.0.0-alpha.trigger.4 chore: add ref back
v8.0.0-alpha.0
Breaking
- Removed
link
,unlink
,install
anduninstall
commands from the CLI by @grabbou #1537- Removed all entries regarding
rnpm
, together with migration guides - Removed a lot of unnecessary and extraneous properties from
IOSProjectConfig
,AndroidProjectConfig
that were used for link, and not utilised in a newautolinking
mechanism. That means things such asassets
orhooks
are no longer allowed to be present on a configuration and will cause an error when CLI validates the structure of your config. - Removed a lot of unnecessary properties from
IOSProjectParams
,AndroidProjectParams
,IOSDependencyParams and
AndroidDependencyParams` that were used to override settings for link that are no longer needed. - Removed ability to set a custom
podspecPath
for an iOS dependency. This was already marked as deprecated and set to be removed. UsesourceDir
instead. - Removed
--project-path
option from arun-ios
CLI command. This was meant to set a source directory for iOS files (unless it equals to iOS). It is now using the detection from config, which makes sure thatrun-ios
uses the same folder thatautolinking
and other commands (very important for debugging) - Changed iOS source directory detection from looking for an Xcode project to looking for a Podfile. Historically, we used to look for an xcodeproj or xcworkspace because that is what link needed to work and manipulate. The new autolinking relies on a Podfile only.
- Removed all entries regarding
- Remove deprecated run-android properties by @grabbou in #1557
Fixed
- Fix Web Debugging and Other Websocket Endpoints with Metro 0.67 by @NickGerleman in #1560
- Align Xcode version in cli-doctor with current App Store submission requirements by @mikehardy in #1554
- Accept new date-based watchman versions by @mikehardy in #1550
Chore
- Bump chalk to 4.x in cli-doctor by @stianjensen in #1546
- Bump minimum node to v12 as per React Native requirements by @mikehardy in #1551
- Update contributing link section with cli-plugin-metro by @thymikee in c93e3a2
- Fix a Doctor JDK test on Windows by @mikehardy in #1549
- Removed
global-cli
by @grabbou in #1540 and #1544
v7.0.2
Fixes
- Web Debugging and Other Websocket Endpoints with Metro 0.67 (#1560) by @NickGerleman
v7.0.1
Features
- Added appId and appIdSuffix options to cli-hermes by @BrendonSled in #1386
- move doctor into
cli-doctor
package, extract config intocli-config
, clean-up types by @nickx720 in #1480 - bump version of Metro packages to 67 by @kelset in #1539 (possibly breaking but likely not)
Fixes
- Windows unknown command on build android by @rmaafs in #1475
- template name replacement in package.json by @Esemesek in #1482
- Update shell-quote to fix security issue CVE-2021-42740 by @rmylagary in #1531
- Android native_modules.gradle cliResolveScript should resolve to @react-native-community/cli by @aparedes in #1525
Chore & maintenance
- move
config
command to config package by @grabbou in #1534 - Update package.json by @DomiR in #1536
- Bump ora to 6.x by @stianjensen in #1522
New Contributors
- @rmylagary made their first contribution in #1531
- @aparedes made their first contribution in #1525
- @stianjensen made their first contribution in #1522
- @rmaafs made their first contribution in #1475
- @BrendonSled made their first contribution in #1386
- @nickx720 made their first contribution in #1480
- @kelset made their first contribution in #1539
Full Changelog: v6.4.0...v7.0.1
v6.2.0
v6.1.0
v6.0.0
Features
- less noisy build failures with xcpretty (#1393)
- Use run-ios to open Catalyst app after building (#1449)
- print unsupported keypresses directly to console. (#1441)
- added custom scope method for android dependencies (#1430)
- add option to build only active architectures on android (#1388)
- use xcbeautify for xcodebuild output if installed (#1392)
- have pod install error message show correct directory (#1428)
Fixes
- fix
sourceDir
detection (#1444) - bump metro to 0.66.1 (#1442)
- remove unused --verbose option from start command (#1394)
- JDK version check wouldn't detect JDK 8 correctly (#1395)
- avoid copying profile to /sdcard (#1397)
- Prevent type mismatch exception thrown in Gradle 7 (#1396)
- profile-hermes doesn't work on Win (#1432)