Skip to content

Commit

Permalink
Merge branch 'master' into bump-smoke-tests-to-1.47.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SounD120 committed Sep 21, 2020
2 parents 7c130a7 + 30806f6 commit 1da0984
Show file tree
Hide file tree
Showing 32 changed files with 12,994 additions and 12,506 deletions.
8 changes: 4 additions & 4 deletions .ci/common-validation.yml
Expand Up @@ -19,13 +19,13 @@ steps:
displayName: Start xvfb
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
- bash: npm run test-localization
displayName: "Run localization tests"
- bash: "npm test --verbose"
displayName: "Run host tests"
env:
DISPLAY: ":99.0"

- bash: "npm test --verbose"
displayName: "Run host tests"
- bash: npm run test-localization
displayName: "Run localization tests"
env:
DISPLAY: ":99.0"

Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Expand Up @@ -2,6 +2,7 @@
{
"javascript.validate.enable": false,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"files.trimTrailingWhitespace": true,
"eslint.enable": true,
"editor.insertSpaces": true,
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,20 @@
## 0.17.0
* Enhanced extension security [#1339](https://github.com/microsoft/vscode-react-native/pull/1339), [#1350](https://github.com/microsoft/vscode-react-native/pull/1350), [#1355](https://github.com/microsoft/vscode-react-native/pull/1355), [#1362](https://github.com/microsoft/vscode-react-native/pull/1362)
* Updated extension troubleshooting for the Expo debugging case [#1338](https://github.com/microsoft/vscode-react-native/pull/1338)
* Fixed the Github organisation name capitalization in URLs to the repository, thanks to [Frieder Bluemle(@friederbluemle)](https://github.com/friederbluemle) [#1324](https://github.com/microsoft/vscode-react-native/pull/1324)
* Updated Packager statusbar indicator representation [#1340](https://github.com/microsoft/vscode-react-native/pull/1340), [#1353](https://github.com/microsoft/vscode-react-native/pull/1353):
* Now there are two representations available: `Full` and `Short`. To change it add `react-native.packager.status-indicator` property with a value `Full` for full representation or `Short` for icon only mode. [More info](https://github.com/microsoft/vscode-react-native/pull/1353).


## 0.16.1
* Improved extension security [#1310](https://github.com/microsoft/vscode-react-native/pull/1310), [#1329](https://github.com/microsoft/vscode-react-native/pull/1329)
* Fixed the incorrect handling of spaces in `adb` path from `local.properties` [#1326](https://github.com/microsoft/vscode-react-native/pull/1326)
* Internal changes:
* Migrated from TSLint to ESLint [#1315](https://github.com/microsoft/vscode-react-native/pull/1315)
* Implemented service for running different checks of the extension work [#1309](https://github.com/microsoft/vscode-react-native/pull/1309), [#1322](https://github.com/microsoft/vscode-react-native/pull/1322)
* Smoke tests were updated to work with VS Code 1.45.1 and Expo SDK 38


## 0.16.0
* Improved extension security [#1253](https://github.com/microsoft/vscode-react-native/pull/1253)
* Updated extension license to MIT [#1286](https://github.com/microsoft/vscode-react-native/pull/1286)
Expand Down
44 changes: 4 additions & 40 deletions README.md
@@ -1,43 +1,8 @@
# React Native Tools (Preview)
# React Native Tools

[![Build Status](https://dev.azure.com/vscode-webdiag-extensions/VS%20Code%20WebDiag%20extensions/_apis/build/status/%5BUnit%20tests%5D%20vscode-react-native%20%5Bmaster%5D?branchName=preview)](https://dev.azure.com/vscode-webdiag-extensions/VS%20Code%20WebDiag%20extensions/_build/latest?definitionId=60&branchName=preview)
![VS Marketplace version](https://vsmarketplacebadge.apphb.com/version-short/msjsdiag.vscode-react-native-preview.svg)
![VS Marketplace rating](https://vsmarketplacebadge.apphb.com/rating-star/msjsdiag.vscode-react-native-preview.svg)

> This is a preview version of the updated React Native Tools extension. It's not recommended to use the preview version and the stable one at the same time.
## React Native Tools Preview migration guide

In order to use the preview version of the extension it's required to add `-preview` suffix in the `type` field of a debug configuration of the RNT stable extension. The difference between the configurations is shown below:

- React Native debug configuration:
```diff
{
"name": "Debug Android",
"cwd": "${workspaceFolder}",
- "type": "reactnative",
+ "type": "reactnative-preview",
"request": "launch",
"platform": "android"
}
```
- React Native Hermes debug configuration:
```diff
{
"name": "Debug Android (Hermes)",
"cwd": "${workspaceFolder}",
- "type": "reactnativedirect",
+ "type": "reactnativedirect-preview",
"request": "launch",
"platform": "android"
}
```

We also added `(Preview)` suffix to Command Palette command names.

![React Native commands preview](https://raw.githubusercontent.com/Microsoft/vscode-react-native/preview/images/command-palette-preview.png)

To avoid conflicts, it's not recommended to use Command Palette commands and debug configurations of the preview version and the stable one at the same time.
[![Build Status](https://dev.azure.com/vscode-webdiag-extensions/VS%20Code%20WebDiag%20extensions/_apis/build/status/%5BUnit%20tests%5D%20vscode-react-native%20%5Bmaster%5D?branchName=master)](https://dev.azure.com/vscode-webdiag-extensions/VS%20Code%20WebDiag%20extensions/_build/latest?definitionId=60&branchName=master)
![Stable version](https://vsmarketplacebadge.apphb.com/version-short/msjsdiag.vscode-react-native.svg)
![VS Marketplace rating](https://vsmarketplacebadge.apphb.com/rating-star/msjsdiag.vscode-react-native.svg)

## About the extension

Expand All @@ -50,7 +15,6 @@ Using this extension, you can **debug your code and quickly run `react-native` c

# Table of Contents

- [React Native Tools Preview migration guide](#react-native-tools-preview-migration-guide)
- [About the extension](#about-the-extension)
- [Getting started](#getting-started)
- [React Native commands in the Command Palette](#react-native-commands-in-the-command-palette)
Expand Down

0 comments on commit 1da0984

Please sign in to comment.