Announcing Ionic v6.2

Originally published at: Announcing Ionic v6.2 - Ionic Blog

Today I am excited to announce the release of Ionic 6.2. This release continues to enhance many of the features we introduced in Ionic 6.0 including datetime, the bottom sheet, and more. This release includes features many developers have asked for, so let’s dive in! Datetime Multiple Date Selection We have enhanced datetime to allow…

6 Likes

hi @mhartington there is an mistake in <ion-datetime-button> closing tag

<ion-datetime-button datetime=”my-datetime”></ion-datetime>

<!-- keepContentsMounted is only needed when using a JavaScript
Framework, so we do not use that property here. -->
<ion-modal>
  <ion-datetime id=”my-datetime”></ion-datetime>
</ion-modal>

it should be <ion-datetime-button datetime=”my-datetime”></ion-datetime-button>
instead of <ion-datetime-button datetime=”my-datetime”></ion-datetime>

1 Like

All fixed. Good catch!

3 Likes

Can it be that ionic start does not kick off with ionic 6.2? Or is @ionic/angular not following @ionic/core?

Here the package.json of a project I just kicked off:

  "dependencies": {
    "@angular/common": "^14.0.0",
    "@angular/core": "^14.0.0",
    "@angular/forms": "^14.0.0",
    "@angular/platform-browser": "^14.0.0",
    "@angular/platform-browser-dynamic": "^14.0.0",
    "@angular/router": "^14.0.0",
    "@capacitor/app": "4.0.1",
    "@capacitor/core": "4.0.1",
    "@capacitor/haptics": "4.0.1",
    "@capacitor/keyboard": "4.0.1",
    "@capacitor/status-bar": "4.0.1",
    "@ionic/angular": "^6.1.9",
    "rxjs": "~6.6.0",
    "tslib": "^2.2.0",
    "zone.js": "~0.11.4"
  },

The ^ indicates that npm should install the latest minor version of @ionic/angular which is 6.2.x as of writing. If npm is not installing v6.2, you could try deleting either node_modules or your package-lock.json and try again.

3 Likes