Skip to content

Releases: jhipster/generator-jhipster-ionic

v8.4.0

24 Dec 19:27
Compare
Choose a tag to compare

What's Changed

📦 Dependency updates

  • build(deps): bump @ionic/angular from 8.3.3 to 8.3.4 by @dependabot in #1268
  • build(deps): bump the ngx-translate group with 2 updates by @dependabot in #1305
  • build(deps): bump @fortawesome/free-solid-svg-icons from 6.7.1 to 6.7.2 by @dependabot in #1306
  • build(deps): bump @ionic/angular from 8.3.4 to 8.4.0 by @dependabot in #1274
  • build(deps): bump the ngx-translate group with 2 updates by @dependabot in #1271
  • build(deps): bump ejs and ejs-lint by @dependabot in #1282
  • build(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #1280
  • build(deps): bump @eslint/plugin-kit from 0.2.2 to 0.2.3 by @dependabot in #1276
  • build(deps): bump @fortawesome/fontawesome-svg-core from 6.6.0 to 6.7.1 by @dependabot in #1288
  • build(deps): bump the capacitor group with 10 updates by @dependabot in #1286
  • build(deps): bump @fortawesome/free-solid-svg-icons from 6.6.0 to 6.7.1 by @dependabot in #1289
  • build(deps): bump @ionic/angular from 8.4.0 to 8.4.1 by @dependabot in #1291
  • build(deps): bump @capacitor/camera from 6.1.1 to 6.1.2 in the capacitor group by @dependabot in #1301
  • build(deps-dev): bump eslint-plugin-jsdoc from 50.6.0 to 50.6.1 by @dependabot in #1302
  • build(deps-dev): bump angular-eslint from 18.4.2 to 19.0.2 by @dependabot in #1304
  • build(deps-dev): bump the typescript-eslint group from 8.11.0 to 8.12.2 by @dependabot in #1266
  • build(deps-dev): bump @types/jest from 29.5.13 to 29.5.14 in the angular group across 1 directory by @dependabot in #1270
  • build(deps-dev): bump globals from 15.11.0 to 15.12.0 by @dependabot in #1272
  • build(deps-dev): bump cypress from 13.15.1 to 13.15.2 by @dependabot in #1273
  • build(deps-dev): bump eslint-plugin-cypress from 4.0.0 to 4.1.0 by @dependabot in #1275
  • build(deps-dev): bump typescript-eslint from 8.12.2 to 8.15.0 by @dependabot in #1281
  • build(deps-dev): bump cypress from 13.15.2 to 13.16.0 by @dependabot in #1292
  • build(deps-dev): bump typescript-eslint from 8.15.0 to 8.16.0 by @dependabot in #1293
  • build(deps-dev): bump prettier from 3.3.3 to 3.4.2 by @dependabot in #1295
  • build(deps-dev): bump eslint-plugin-jsdoc from 50.5.0 to 50.6.0 by @dependabot in #1298
  • build(deps-dev): bump typescript-eslint from 8.16.0 to 8.17.0 by @dependabot in #1296
  • build(deps-dev): bump cypress from 13.16.0 to 13.16.1 by @dependabot in #1299
  • build(deps-dev): bump globals from 15.12.0 to 15.13.0 by @dependabot in #1290
  • build(deps-dev): bump eslint-plugin-jsdoc from 50.4.3 to 50.5.0 by @dependabot in #1278
  • build(deps-dev): bump angular-eslint from 18.4.0 to 18.4.2 by @dependabot in #1287

Get Started with Ionic for JHipster

  • See this project's documentation for usage information
  • See your project's generated README for iOS, Android, OpenID Connect, and testing instructions

Full Changelog: v8.3.0...v8.4.0

v8.3.0

31 Oct 15:11
Compare
Choose a tag to compare

What's Changed

📦 Dependency updates

Read more

v8.2.1

06 Jun 03:47
Compare
Choose a tag to compare

What's Changed

📦 Dependency updates

Get Started with Ionic for JHipster

  • See this project's documentation for usage information
  • See your project's generated README for iOS, Android, OpenID Connect, and testing instructions

Full Changelog: v8.2.0...v8.2.1

v8.2.0

03 Jun 20:33
Compare
Choose a tag to compare

What's Changed

Get Started with Ionic for JHipster

  • See this project's documentation for usage information
  • See your project's generated README for iOS, Android, OpenID Connect, and testing instructions

New Contributors

Full Changelog: v8.1.0...v8.2.0

v8.1.0

27 Apr 20:25
Compare
Choose a tag to compare

What’s Changed

  • Add support for Angular 14 and Capacitor 4 by @mraible in #712
  • Migrate StatusBar and SplashScreen to Capacitor by @mshima in #723
  • Migrate camera to Capacitor by @mshima in #721
  • Rename Cypress files to follow standards by @mraible in #798
  • Fix issue when an entity has two image fields by @amanganiello90 in #799
  • Upgrade to Ionic AppAuth 2.0.0 by @mraible in #822
  • Lots of dependency updates

Get Started with Ionic for JHipster

New Contributors

  • @DanielFran made their first contribution in #767
  • @github-actions made their first contribution in #769

Full Changelog: v8.0.0...v8.1.0

v8.0.0

10 May 04:38
Compare
Choose a tag to compare

What’s Changed

  • ✨ Now available as a blueprint! (#612) @mshima
  • Migrate from Protractor to Cypress (#653 and #644) @mshima and @zhyd1997
  • Configure ng test to use Jest (#668) @mshima
  • Add customized code to handle Auth0 logout (#680) @mraible
  • Replace Cordova plugins with Capacitor equivalents (#681) @mraible
  • Upgrade to Angular 13 and Ionic 6
  • Update dependencies and drop unused dependencies
  • Cleanup unused karma config (#666) @mraible
  • Requires Node 16 LTS

Get Started with Ionic for JHipster

New Contributors

Full Changelog: v7.1.0...v8.0.0

v7.1.0

12 Aug 06:26
Compare
Choose a tag to compare

What’s Changed

  • Upgrade to OktaDev Schematics 5.0.1 and Ionic AppAuth 0.8.4
  • Upgrade to Angular 12.1
  • Update dependencies to their latest versions

See this project's documentation for installation and usage instructions.

v7.0.0

21 May 19:57
Compare
Choose a tag to compare

What’s Changed

Get Started with Ionic for JHipster

Install Ionic for JHipster:

npm i -g generator-jhipster-ionic yo

In a directory alongside your JHipster app, create your Ionic app with yo jhipster-ionic.

- jhipster-app
- <run it here>

To add PWA support to your Ionic app, run:

ng add @angular/pwa

To import your JHipster app's JDL, run yo jhipster-ionic:import-jdl <path-to-jhipster-app>/entities.jdl.

iOS

Generate a native iOS project with the following commands:

ionic build
ionic capacitor add ios

Add your custom scheme to ios/App/App/Info.plist:

<key>CFBundleURLTypes</key>
<array>
  <dict>
    <key>CFBundleURLName</key>
    <string>com.getcapacitor.capacitor</string>
    <key>CFBundleURLSchemes</key>
    <array>
      <string>capacitor</string>
      <string>dev.localhost.ionic</string>
      <string>com.okta.dev-737523</string>
    </array>
  </dict>
</array>

Then, run your project using the Capacitor CLI:

npx cap run ios

Modify CORS Settings in JHipster

In order to communicate with your JHipster app, you'll need to modify its CORS settings (in src/main/resources/config/application-dev.yml) to allow capacitor://localhost as an origin.

Android

Generate a native project with the following commands:

ionic build
ionic capacitor add android

Change the custom scheme in android/app/src/main/res/values/strings.xml to use dev.localhost.ionic or your reverse domain name:

<string name="custom_url_scheme">com.okta.dev-737523</string>

The SafariViewController Cordova Plugin is installed as part of this project. Capacitor uses AndroidX dependencies, but the SafariViewController plugin uses an older non-AndroidX dependency. Use jetifier to patch usages of old support libraries with the following commands:

npm install jetifier
npx jetify
npx cap sync android

Then, run your project using the Capacitor CLI:

npx cap run android

Modify CORS Settings in JHipster

In order to communicate with your JHipster app, you'll need to modify its CORS settings (in src/main/resources/config/application-dev.yml) to allow http://localhost as an origin.

Learn More

See this project's documentation for more information.

v6.1.1

18 Mar 01:32
Compare
Choose a tag to compare

What’s Changed

  • Fix e2e tests so everything works with JHipster 6. See this commit for more information.

v6.1.0

17 Mar 07:12
Compare
Choose a tag to compare

What’s Changed

  • Add support for JHipster 7 beta (#421)
  • Upgrade to Angular 11.2.0 and Ionic CLI 6.13.1
  • Upgrade @oktadev/schematics to v3.0.4
  • Change gateway integration test to be reactive (#448)
  • Update all dependencies to use their latest versions

Get Started

To get started with Ionic for JHipster, create a backend with JHipster, and install the following libraries:

npm install -g @ionic/cli generator-jhipster-ionic yo

Then, run this module to create your Ionic app:

yo jhipster-ionic

This module expects you to already have a JHipster app created. For example:

mkdir -p apps/backend
cd apps/backend
jhipster jdl blog-oauth2
cd ..
yo jhipster-ionic default
cd ionic4j
yo jhipster-ionic:import-jdl ../backend/blog-oauth2.jdl

Then, run your app with ionic serve. Make sure everything works with npm run e2e.

See the iOS and Android docs to see how to test your app on a device.