merge release-5.2.1

Release 5.2.1
This commit is contained in:
Liam DeBeasi
2020-06-11 11:20:23 -04:00
committed by GitHub
8 changed files with 28 additions and 14 deletions

View File

@ -1,3 +1,12 @@
## [5.2.1](https://github.com/ionic-team/ionic/compare/v5.2.0...v5.2.1) (2020-06-11)
### Bug Fixes
* **angular:** resolve error when not using ngModel on components ([4083e32](https://github.com/ionic-team/ionic/commit/4083e32e103db71f6db86ed1ecd398fda407c28b))
# [5.2.0 Silicon](https://github.com/ionic-team/ionic/compare/v5.1.1...v5.2.0) (2020-06-10)

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/angular",
"version": "5.2.0",
"version": "5.2.1",
"description": "Angular specific wrappers for @ionic/core",
"keywords": [
"ionic",
@ -42,7 +42,7 @@
"validate": "npm i && npm run lint && npm run test && npm run build"
},
"dependencies": {
"@ionic/core": "5.2.0",
"@ionic/core": "5.2.1",
"tslib": "^1.9.3"
},
"peerDependencies": {

View File

@ -62,7 +62,12 @@ export class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDes
}
ngAfterViewInit() {
const ngControl = this.injector.get<NgControl>(NgControl as Type<NgControl>);
let ngControl;
try {
ngControl = this.injector.get<NgControl>(NgControl as Type<NgControl>);
} catch { /* No FormControl or ngModel binding */ }
if (!ngControl) { return; }
// Listen for changes in validity, disabled, or pending states
if (ngControl.statusChanges) {

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/core",
"version": "5.2.0",
"version": "5.2.1",
"description": "Base components for Ionic",
"keywords": [
"ionic",

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/docs",
"version": "5.2.0",
"version": "5.2.1",
"description": "Pre-packaged API documentation for the Ionic docs.",
"main": "core.json",
"types": "core.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/angular-server",
"version": "5.2.0",
"version": "5.2.1",
"description": "Angular SSR Module for Ionic",
"keywords": [
"ionic",
@ -49,7 +49,7 @@
"@angular/core": "8.2.13",
"@angular/platform-browser": "8.2.13",
"@angular/platform-server": "8.2.13",
"@ionic/core": "5.2.0",
"@ionic/core": "5.2.1",
"ng-packagr": "5.7.1",
"tslint": "^5.12.1",
"tslint-ionic-rules": "0.0.21",

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/react-router",
"version": "5.2.0",
"version": "5.2.1",
"description": "React Router wrapper for @ionic/react",
"keywords": [
"ionic",
@ -39,16 +39,16 @@
"tslib": "*"
},
"peerDependencies": {
"@ionic/core": "5.2.0",
"@ionic/react": "5.2.0",
"@ionic/core": "5.2.1",
"@ionic/react": "5.2.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1"
},
"devDependencies": {
"@ionic/core": "5.2.0",
"@ionic/react": "5.2.0",
"@ionic/core": "5.2.1",
"@ionic/react": "5.2.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/react",
"version": "5.2.0",
"version": "5.2.1",
"description": "React specific wrapper for @ionic/core",
"keywords": [
"ionic",
@ -39,7 +39,7 @@
"css/"
],
"dependencies": {
"@ionic/core": "5.2.0",
"@ionic/core": "5.2.1",
"ionicons": "^5.0.1",
"tslib": "*"
},