Releases: jhipster/generator-jhipster-ionic
v8.4.0
What's Changed
- Update generator-jhipster to v8.8.0 by @mshima in #1308
- Fix deprecation warning from husky by @mraible in #1263
- Migrate to eslint v9 by @mshima in #1262
- Drop project-name generator by @mshima in #1264
📦 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
What's Changed
- Rename server generator to spring-boot by @mshima in #1154
- Upgrade generator-jhipster to 8.7.3 by @mshima in #1261
- Fix: await composeWith by @mshima in #1248
- Use primaryKey.tsType by @mshima in #1247
📦 Dependency updates
- Bump @ionic/angular from 8.2.0 to 8.2.1 by @dependabot in #1155
- Bump prettier from 3.3.0 to 3.3.1 by @dependabot in #1157
- Bump eslint-plugin-jsdoc from 48.2.7 to 48.2.9 by @dependabot in #1156
- Bump cypress from 13.10.0 to 13.11.0 by @dependabot in #1158
- Bump prettier from 3.3.1 to 3.3.2 by @dependabot in #1161
- Bump Capacitor to 6.0.1 by @dependabot in #1159
- Bump the typescript-eslint group with 2 updates by @dependabot in #1160
- Bump eslint-plugin-jsdoc from 48.2.9 to 48.2.12 by @dependabot in #1163
- Bump @ionic/angular from 8.2.1 to 8.2.2 by @dependabot in #1162
- Bump the typescript-eslint group with 2 updates by @dependabot in #1165
- Bump eslint-plugin-jsdoc from 48.2.12 to 48.3.0 by @dependabot in #1166
- Bump cypress from 13.11.0 to 13.12.0 by @dependabot in #1167
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #1172
- Bump the typescript-eslint group across 1 directory with 2 updates by @dependabot in #1173
- Bump @ionic/angular from 8.2.2 to 8.2.5 by @dependabot in #1174
- Bump eslint-plugin-jsdoc from 48.3.0 to 48.5.2 by @dependabot in #1175
- Bump the angular-eslint group with 4 updates by @dependabot in #1177
- Bump the typescript-eslint group with 2 updates by @dependabot in #1178
- Bump prettier from 3.3.2 to 3.3.3 by @dependabot in #1180
- Bump eslint-plugin-jsdoc from 48.5.2 to 48.7.0 by @dependabot in #1181
- Bump Angular to 18.1.0 by @dependabot in #1179
- Bump the typescript-eslint group with 2 updates by @dependabot in #1183
- Bump the capacitor group with 2 updates by @dependabot in #1182
- Bump eslint-plugin-jsdoc from 48.7.0 to 48.8.3 by @dependabot in #1184
- Bump @fortawesome/free-solid-svg-icons from 6.5.2 to 6.6.0 by @dependabot in #1185
- Bump @fortawesome/fontawesome-svg-core from 6.5.2 to 6.6.0 by @dependabot in #1186
- Update generator-jhipster to 8.6.0 by @mshima in #1168
- Bump the typescript-eslint group with 2 updates by @dependabot in #1188
- Bump jest-preset-angular from 14.1.1 to 14.2.0 in in the angular group by @dependabot in #1187
- Bump @ionic/angular from 8.2.5 to 8.2.6 by @dependabot in #1190
- Bump cypress from 13.12.0 to 13.13.1 by @dependabot in #1191
- Bump the angular-eslint group with 4 updates by @dependabot in #1193
- Bump cypress from 13.13.1 to 13.13.2 by @dependabot in #1195
- Bump the typescript-eslint group with 2 updates by @dependabot in #1194
- Bump jest-preset-angular from 14.2.0 to 14.2.2 in in the angular group by @dependabot in #1192
- Bump @types/node from 20.14.14 to 22.1.0 by @dependabot in #1196
- Bump the typescript-eslint group with 2 updates by @dependabot in #1198
- Bump the angular group with 12 updates by @dependabot in #1201
- Bump the angular-eslint group with 4 updates by @dependabot in #1202
- Bump the capacitor group with 10 updates by @dependabot in #1197
- Bump eslint-plugin-jsdoc from 48.8.3 to 50.2.2 by @dependabot in #1203
- Bump @ionic/angular from 8.2.6 to 8.2.7 by @dependabot in #1206
- Bump cypress from 13.13.2 to 13.13.3 by @dependabot in #1208
- Bump the typescript-eslint group with 2 updates by @dependabot in #1205
- Bump micromatch and lint-staged by @dependabot in #1209
- Bump the typescript-eslint group with 2 updates by @dependabot in #1211
- Bump cypress from 13.13.3 to 13.14.1 by @dependabot in #1212
- Bump cypress from 13.14.1 to 13.14.2 by @dependabot in #1216
- Bump the typescript-eslint group with 2 updates by @dependabot in #1214
- Bump peter-evans/create-pull-request from 6 to 7 by @dependabot in #1213
- Bump @ionic/angular-toolkit from 11.0.1 to 12.1.1 by @dependabot in #1215
- Bump path-to-regexp from 6.2.2 to 6.3.0 by @dependabot in #1218
- Bump eslint-plugin-jsdoc from 50.2.2 to 50.2.3 by @dependabot in #1221
- Bump vite from 5.3.1 to 5.4.6 by @dependabot in #1223
- Bump the typescript-eslint group across 1 directory with 2 updates by @dependabot in #1224
- Bump eslint-plugin-jsdoc from 50.2.3 to 50.2.4 by @dependabot in #1225
- Bump @ionic/angular from 8.2.7 to 8.3.1 by @dependabot in #1227
- Bump rollup from 4.21.3 to 4.22.4 by @dependabot in #1229
- Bump the typescript-eslint group with 2 updates by @dependabot in #1236
- Bump eslint-plugin-import from 2.29.1 to 2.30.0 by @dependabot in #1237
- Bump cypress from 13.14.2 to 13.15.0 by @dependabot in #1238
- Bump eslint-plugin-jsdoc from 50.2.4 to 50.3.0 by @dependabot in #1239
- Bump @ionic/angular from 8.3.1 to 8.3.2 by @dependabot in #1241
- Bump the typescript-eslint group with 2 updates by @dependabot in #1240
- Bump eslint-plugin-import from 2.30.0 to 2.31.0 by @dependabot in #1243
- Bump eslint-plugin-jsdoc from 50.3.0 to 50.3.1 by @dependabot in #1244
- Bump eslint from 8.57.1 to 9.12.0 by @dependabot in #1242
- build(deps-dev): bump the typescript-eslint group with 2 updates by @dependabot in #1251
- build(deps): bump @capacitor/browser from 6.0.2 to 6.0.3 in in the capacitor group by @dependabot in #1250
- build(deps-dev): bump eslint-plugin-jsdoc from 50.3.1 to 50.3.2 by @dependabot in #1252
- build(deps-dev): bump the typescript-eslint group with 2 updates by @dependabot in #1253
- build(deps): bump @ionic/angular from 8.3.2 to 8.3.3 by @dependabot in #1254
- build(deps-dev): bump eslint-plugin-jsdoc from 50.3.2 to 50.4.3 by @dependabot in #1255
- build(deps-dev): bump ...
v8.2.1
What's Changed
- Fix generating entities by @mshima in #1148
- Fix warnings from
npm start
command by @mraible in #1142 - Fix husky version by @mshima in #1152
- Migrate unit tests to Angular 18 syntax by @mraible in #1153
- Update dependencies and fix install command by @mraible in #1145
📦 Dependency updates
- Bump eslint-plugin-jsdoc from 48.2.6 to 48.2.7 by @dependabot in #1144
- Bump prettier from 3.2.5 to 3.3.0 by @dependabot in #1146
- Bump the typescript-eslint group by @dependabot in #1143
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
What's Changed
- Upgrade to the latest versions of Ionic and Capacitor
- Upgrade to Angular 18 by @dependabot and @mraible in #1137
- Upgrade to JHipster 8.5.0 by @mshima in #1136
- Ignore filtering for one-to-one relationship by @mshima in #881
- Drop
syncWithIdp
from sample by @mshima in #1121 - Remove
experimentalSessionAndOrigin
from Cypress configuration by @mraible in #906 - Change to new control flow syntax by @mraible in #998
- Drop ngx-webstorage dependency by @mshima in #984
- Upgrade to latest generator-jhipster v8.4.0 by @dwarakaprasad in #1117
- Regenerate the blueprint using v8.4.0 by @mshima in #1118
- Use jhipster/actions by @mshima in #1119
- Make samples reproducible by @mshima in #1120
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
- @dwarakaprasad made their first contribution in #1117
Full Changelog: v8.1.0...v8.2.0
v8.1.0
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
- Tutorial: Build Secure Ionic Apps with Angular and 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
- @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
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
- Tutorial: Build Secure Ionic Apps with Angular and 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: v7.1.0...v8.0.0
v7.1.0
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
What’s Changed
- Add support for Capacitor 3.0! 🎊
- 🔥 Upgrade to JHipster 7 (#482) Thanks @mshima!
- Add support for npm 7 (more awesomeness from @mshima)
- Migrated from TSLint to ESLint (ionic-team/starters@fbf471a) Thanks @mhartington!
- Refactored README to have a better table of contents
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
What’s Changed
- Fix e2e tests so everything works with JHipster 6. See this commit for more information.
v6.1.0
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.