Skip to content

Commit e377d69

Browse files
committed
automatic project update for v8.9.0
1 parent 19e3e64 commit e377d69

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+246
-255
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// maven and gradle wrappers are used by default, we don't need them installed globally
1414
// "INSTALL_MAVEN": "true",
1515
// "INSTALL_GRADLE": "false",
16-
"NODE_VERSION": "22.12.0"
16+
"NODE_VERSION": "22.13.1"
1717
}
1818
},
1919

.yo-rc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"entitySuffix": "",
2727
"hibernateCache": "ehcache",
2828
"jhiPrefix": "jhi",
29-
"jhipsterVersion": "8.8.0",
29+
"jhipsterVersion": "8.9.0",
3030
"languages": ["en"],
3131
"messageBroker": false,
3232
"nativeLanguage": "en",

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# jhipsterOauth2SampleApplication
22

3-
This application was generated using JHipster 8.8.0, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.8.0](https://www.jhipster.tech/documentation-archive/v8.8.0).
3+
This application was generated using JHipster 8.9.0, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.9.0](https://www.jhipster.tech/documentation-archive/v8.9.0).
44

55
## Project Structure
66

@@ -315,7 +315,7 @@ You can execute all Gatling tests with
315315

316316
### Client tests
317317

318-
Unit tests are run by [Jest][]. They're located in [src/test/javascript/](src/test/javascript/) and can be run with:
318+
Unit tests are run by [Jest][]. They're located near components and can be run with:
319319

320320
```
321321
./npmw test
@@ -417,19 +417,19 @@ For more information refer to [Using Docker and Docker-Compose][], this page als
417417
To configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`), this will let you generate configuration files for a number of Continuous Integration systems. Consult the [Setting up Continuous Integration][] page for more information.
418418

419419
[JHipster Homepage and latest documentation]: https://www.jhipster.tech
420-
[JHipster 8.8.0 archive]: https://www.jhipster.tech/documentation-archive/v8.8.0
421-
[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.8.0/development/
422-
[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.8.0/docker-compose
423-
[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.8.0/production/
424-
[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.8.0/running-tests/
425-
[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.8.0/code-quality/
426-
[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.8.0/setting-up-ci/
420+
[JHipster 8.9.0 archive]: https://www.jhipster.tech/documentation-archive/v8.9.0
421+
[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.9.0/development/
422+
[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.9.0/docker-compose
423+
[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.9.0/production/
424+
[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.9.0/running-tests/
425+
[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.9.0/code-quality/
426+
[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.9.0/setting-up-ci/
427427
[Node.js]: https://nodejs.org/
428428
[NPM]: https://www.npmjs.com/
429429
[Gatling]: https://gatling.io/
430430
[Webpack]: https://webpack.github.io/
431431
[BrowserSync]: https://www.browsersync.io/
432-
[Jest]: https://facebook.github.io/jest/
432+
[Jest]: https://jestjs.io
433433
[Cypress]: https://www.cypress.io/
434434
[Leaflet]: https://leafletjs.com/
435435
[DefinitelyTyped]: https://definitelytyped.org/

eslint.config.mjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export default tseslint.config(
8383
'@typescript-eslint/no-empty-object-type': 'off',
8484
'@typescript-eslint/no-explicit-any': 'off',
8585
'@typescript-eslint/no-extraneous-class': 'off',
86+
'@typescript-eslint/no-misused-spread': 'off',
8687
'@typescript-eslint/no-floating-promises': 'off',
8788
'@typescript-eslint/no-non-null-assertion': 'off',
8889
'@typescript-eslint/no-shadow': ['error'],
@@ -124,7 +125,7 @@ export default tseslint.config(
124125
rules: {},
125126
},
126127
{
127-
// Html templates requires some work
128+
// Html templates require some work
128129
ignores: ['**/*.html'],
129130
extends: [prettier],
130131
},

mvnw.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
@SET __MVNW_ARG0_NAME__=
4141
@SET MVNW_USERNAME=
4242
@SET MVNW_PASSWORD=
43-
@IF NOT "%__MVNW_CMD__%"=="" (%__MVNW_CMD__% %*)
43+
@IF NOT "%__MVNW_CMD__%"=="" ("%__MVNW_CMD__%" %*)
4444
@echo Cannot start maven from wrapper >&2 && exit /b 1
4545
@GOTO :EOF
4646
: end batch / begin powershell #>

package.json

+33-34
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"backend:unit:test": "./mvnw -ntp -Dskip.installnodenpm -Dskip.npm verify --batch-mode -Dlogging.level.ROOT=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.io.github.jhipster.sample=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF",
1717
"build": "npm run webapp:prod --",
1818
"build-watch": "concurrently 'npm run webapp:build:dev -- --watch' npm:backend:start",
19+
"preci:e2e:server:start": "npm run services:db:await --if-present && npm run services:others:await --if-present",
1920
"ci:backend:test": "npm run backend:info && npm run backend:doc:test && npm run backend:nohttp:test && npm run backend:unit:test -- -P$npm_package_config_default_environment",
2021
"ci:e2e:dev": "concurrently -k -s first -n application,e2e -c red,blue npm:app:start npm:e2e:headless",
2122
"ci:e2e:package": "npm run java:$npm_package_config_packaging:$npm_package_config_default_environment -- -Pe2e -Denforcer.skip=true",
2223
"ci:e2e:prepare": "npm run ci:e2e:prepare:docker",
2324
"ci:e2e:prepare:docker": "npm run services:up --if-present && docker ps -a",
2425
"ci:e2e:run": "concurrently -k -s first -n application,e2e -c red,blue npm:ci:e2e:server:start npm:e2e:headless",
25-
"preci:e2e:server:start": "npm run services:db:await --if-present && npm run services:others:await --if-present",
2626
"ci:e2e:server:start": "java -jar target/e2e.$npm_package_config_packaging --spring.profiles.active=e2e,$npm_package_config_default_environment -Dlogging.level.ROOT=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.io.github.jhipster.sample=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF --logging.level.org.springframework.web=ERROR",
2727
"ci:e2e:teardown": "npm run ci:e2e:teardown:docker --if-present",
2828
"ci:e2e:teardown:docker": "docker compose -f src/main/docker/services.yml down -v && docker ps -a",
@@ -37,6 +37,7 @@
3737
"docker:db:up": "docker compose -f src/main/docker/mysql.yml up --wait",
3838
"docker:keycloak:down": "docker compose -f src/main/docker/keycloak.yml down -v",
3939
"docker:keycloak:up": "docker compose -f src/main/docker/keycloak.yml up --wait",
40+
"pree2e:headless": "npm run ci:server:await",
4041
"e2e": "npm run e2e:cypress:headed --",
4142
"e2e:cypress": "cypress run --e2e --browser chrome",
4243
"e2e:cypress:audits": "cypress run --e2e --browser chrome --config-file cypress-audits.config.js",
@@ -45,7 +46,6 @@
4546
"e2e:cypress:record": "npm run e2e:cypress -- --record",
4647
"e2e:dev": "concurrently -k -s first -n application,e2e -c red,blue npm:app:start npm:e2e",
4748
"e2e:devserver": "concurrently -k -s first -n backend,frontend,e2e -c red,yellow,blue npm:backend:start npm:start \"wait-on -t 180000 http-get://127.0.0.1:9000 && npm run e2e:headless -- -c baseUrl=http://localhost:9000\"",
48-
"pree2e:headless": "npm run ci:server:await",
4949
"e2e:headless": "npm run e2e:cypress --",
5050
"java:docker": "./mvnw -ntp verify -DskipTests -Pprod jib:dockerBuild",
5151
"java:docker:arm64": "npm run java:docker -- -Djib-maven-plugin.architecture=arm64",
@@ -86,14 +86,14 @@
8686
"packaging": "jar"
8787
},
8888
"dependencies": {
89-
"@angular/common": "19.0.5",
90-
"@angular/compiler": "19.0.5",
91-
"@angular/core": "19.0.5",
92-
"@angular/forms": "19.0.5",
93-
"@angular/localize": "19.0.5",
94-
"@angular/platform-browser": "19.0.5",
95-
"@angular/platform-browser-dynamic": "19.0.5",
96-
"@angular/router": "19.0.5",
89+
"@angular/common": "19.1.5",
90+
"@angular/compiler": "19.1.5",
91+
"@angular/core": "19.1.5",
92+
"@angular/forms": "19.1.5",
93+
"@angular/localize": "19.1.5",
94+
"@angular/platform-browser": "19.1.5",
95+
"@angular/platform-browser-dynamic": "19.1.5",
96+
"@angular/router": "19.1.5",
9797
"@fortawesome/angular-fontawesome": "1.0.0",
9898
"@fortawesome/fontawesome-svg-core": "6.7.2",
9999
"@fortawesome/free-solid-svg-icons": "6.7.2",
@@ -109,56 +109,55 @@
109109
"zone.js": "0.15.0"
110110
},
111111
"devDependencies": {
112-
"@angular-builders/custom-webpack": "19.0.0-beta.0",
113-
"@angular-builders/jest": "19.0.0-beta.1",
114-
"@angular-devkit/build-angular": "19.0.6",
115-
"@angular/cli": "19.0.6",
116-
"@angular/compiler-cli": "19.0.5",
117-
"@angular/service-worker": "19.0.5",
118-
"@eslint/js": "9.17.0",
112+
"@angular-builders/custom-webpack": "19.0.0",
113+
"@angular-builders/jest": "19.0.0",
114+
"@angular-devkit/build-angular": "19.1.6",
115+
"@angular/cli": "19.1.6",
116+
"@angular/compiler-cli": "19.1.5",
117+
"@angular/service-worker": "19.1.5",
118+
"@eslint/js": "9.20.0",
119119
"@types/jest": "29.5.14",
120120
"@types/node": "20.11.25",
121121
"angular-eslint": "19.0.2",
122122
"browser-sync": "3.0.3",
123123
"browser-sync-webpack-plugin": "2.3.0",
124124
"buffer": "6.0.3",
125-
"concurrently": "9.1.0",
125+
"concurrently": "9.1.2",
126126
"copy-webpack-plugin": "12.0.2",
127-
"cypress": "13.17.0",
127+
"cypress": "14.0.2",
128128
"cypress-audit": "1.1.0",
129-
"eslint": "9.17.0",
130-
"eslint-config-prettier": "9.1.0",
129+
"eslint": "9.20.0",
130+
"eslint-config-prettier": "10.0.1",
131131
"eslint-plugin-cypress": "4.1.0",
132-
"eslint-plugin-prettier": "5.2.1",
133-
"eslint-webpack-plugin": "4.2.0",
134-
"folder-hash": "4.0.4",
135-
"generator-jhipster": "8.8.0",
132+
"eslint-plugin-prettier": "5.2.3",
133+
"folder-hash": "4.1.1",
134+
"generator-jhipster": "8.9.0",
136135
"globals": "15.14.0",
137136
"husky": "9.1.7",
138137
"jest": "29.7.0",
139138
"jest-date-mock": "1.0.10",
140139
"jest-environment-jsdom": "29.7.0",
141140
"jest-junit": "16.0.0",
142-
"jest-preset-angular": "14.4.2",
141+
"jest-preset-angular": "14.5.1",
143142
"jest-sonar": "0.2.16",
144143
"lighthouse": "12.3.0",
145-
"lint-staged": "15.2.11",
144+
"lint-staged": "15.4.3",
146145
"merge-jsons-webpack-plugin": "2.0.1",
147146
"prettier": "3.4.2",
148-
"prettier-plugin-java": "2.6.5",
149-
"prettier-plugin-packagejson": "2.5.6",
147+
"prettier-plugin-java": "2.6.7",
148+
"prettier-plugin-packagejson": "2.5.8",
150149
"rimraf": "5.0.8",
151-
"swagger-ui-dist": "5.18.2",
150+
"swagger-ui-dist": "5.18.3",
152151
"ts-jest": "29.2.5",
153-
"typescript": "5.6.3",
154-
"typescript-eslint": "8.18.1",
155-
"wait-on": "8.0.1",
152+
"typescript": "5.7.3",
153+
"typescript-eslint": "8.23.0",
154+
"wait-on": "8.0.2",
156155
"webpack-bundle-analyzer": "4.10.2",
157156
"webpack-merge": "6.0.1",
158157
"webpack-notifier": "1.15.0"
159158
},
160159
"engines": {
161-
"node": ">=22.12.0"
160+
"node": ">=22.13.1"
162161
},
163162
"cacheDirectories": [
164163
"node_modules"

pom.xml

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.4.1</version>
15+
<version>3.4.2</version>
1616
<relativePath/>
1717
<!-- lookup parent from repository -->
1818
</parent>
@@ -24,8 +24,8 @@
2424
-->
2525
<maven.version>3.2.5</maven.version>
2626
<java.version>17</java.version>
27-
<node.version>v22.12.0</node.version>
28-
<npm.version>11.0.0</npm.version>
27+
<node.version>v22.13.1</node.version>
28+
<npm.version>11.1.0</npm.version>
2929
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3030
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
3131
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
@@ -37,14 +37,14 @@
3737
<run.addResources>false</run.addResources>
3838
<spring-boot.version>${project.parent.version}</spring-boot.version>
3939
<archunit-junit5.version>1.3.0</archunit-junit5.version>
40-
<checkstyle.version>10.21.0</checkstyle.version>
40+
<checkstyle.version>10.21.2</checkstyle.version>
4141
<checksum-maven-plugin.version>1.11</checksum-maven-plugin.version>
4242
<frontend-maven-plugin.version>1.15.1</frontend-maven-plugin.version>
43-
<gatling-maven-plugin.version>4.12.2</gatling-maven-plugin.version>
44-
<gatling.version>3.13.1</gatling.version>
43+
<gatling-maven-plugin.version>4.13.0</gatling-maven-plugin.version>
44+
<gatling.version>3.13.3</gatling.version>
4545
<git-commit-id-maven-plugin.version>9.0.1</git-commit-id-maven-plugin.version>
4646
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
47-
<jhipster-framework.version>8.8.0</jhipster-framework.version>
47+
<jhipster-framework.version>8.9.0</jhipster-framework.version>
4848
<jib-maven-plugin.architecture>amd64</jib-maven-plugin.architecture>
4949
<jib-maven-plugin.image>eclipse-temurin:17-jre-focal</jib-maven-plugin.image>
5050
<jib-maven-plugin.version>3.4.4</jib-maven-plugin.version>
@@ -67,7 +67,7 @@
6767
<maven-site-plugin.version>3.21.0</maven-site-plugin.version>
6868
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
6969
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
70-
<modernizer-maven-plugin.version>2.9.0</modernizer-maven-plugin.version>
70+
<modernizer-maven-plugin.version>3.1.0</modernizer-maven-plugin.version>
7171
<nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
7272
<profile.api-docs/>
7373
<profile.e2e/>
@@ -77,7 +77,7 @@
7777
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
7878
<resource.delimiter>@</resource.delimiter>
7979
<sonar-maven-plugin.version>5.0.0.4389</sonar-maven-plugin.version>
80-
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>
80+
<spotless-maven-plugin.version>2.44.2</spotless-maven-plugin.version>
8181
<spring.profiles.active>dev</spring.profiles.active>
8282
<springdoc-openapi-starter-webmvc-api.version>2.7.0</springdoc-openapi-starter-webmvc-api.version>
8383
</properties>

src/main/docker/jhipster-control-center.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# To allow JHCC to reach JHipster application from a docker container note that we set the host as host.docker.internal
33
# To reach the application from a browser, you need to add '127.0.0.1 host.docker.internal' to your hosts file.
44
### Discovery mode
5-
# JHCC support 3 kinds of discovery mode: Consul, Eureka and static
5+
# JHCC supports 3 kinds of discovery mode: Consul, Eureka and static
66
# In order to use one, please set SPRING_PROFILES_ACTIVE to one (and only one) of this values: consul,eureka,static
77
### Discovery properties
88
# According to the discovery mode choose as Spring profile, you have to set the right properties
@@ -24,7 +24,7 @@
2424
#### IMPORTANT
2525
# If you choose Consul or Eureka mode:
2626
# Do not forget to remove the prefix "127.0.0.1" in front of their port in order to expose them.
27-
# This is required because JHCC need to communicate with Consul or Eureka.
27+
# This is required because JHCC needs to communicate with Consul or Eureka.
2828
# - In Consul mode, the ports are in the consul.yml file.
2929
# - In Eureka mode, the ports are in the jhipster-registry.yml file.
3030

src/main/docker/keycloak.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: jhipsteroauth2sampleapplication
33
services:
44
keycloak:
5-
image: quay.io/keycloak/keycloak:26.0.7
5+
image: quay.io/keycloak/keycloak:26.1.1
66
command: 'start-dev --import-realm'
77
volumes:
88
- ./realm-config:/opt/keycloak/data/import

src/main/docker/monitoring.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: jhipsteroauth2sampleapplication
33
services:
44
prometheus:
5-
image: prom/prometheus:v3.0.1
5+
image: prom/prometheus:v3.1.0
66
volumes:
77
- ./prometheus/:/etc/prometheus/
88
command:
@@ -15,7 +15,7 @@ services:
1515
# grafana/provisioning/datasources/datasource.yml
1616
network_mode: 'host' # to test locally running service
1717
grafana:
18-
image: grafana/grafana:11.4.0
18+
image: grafana/grafana:11.5.1
1919
volumes:
2020
- ./grafana/provisioning/:/etc/grafana/provisioning/
2121
environment:

src/main/docker/mysql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: jhipsteroauth2sampleapplication
33
services:
44
mysql:
5-
image: mysql:9.1.0
5+
image: mysql:9.2.0
66
volumes:
77
- ./config/mysql:/etc/mysql/conf.d
88
environment:

src/main/docker/sonar.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: jhipsteroauth2sampleapplication
33
services:
44
sonar:
55
container_name: sonarqube
6-
image: sonarqube:24.12.0.100206-community
6+
image: sonarqube:25.2.0.102705-community
77
# Forced authentication redirect for UI is turned off for out of the box experience while trying out SonarQube
88
# For real use cases delete SONAR_FORCEAUTHENTICATION variable or set SONAR_FORCEAUTHENTICATION=true
99
environment:

src/main/java/io/github/jhipster/sample/GeneratedByJHipster.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import java.lang.annotation.RetentionPolicy;
77
import java.lang.annotation.Target;
88

9-
@Generated(value = "JHipster", comments = "Generated by JHipster 8.8.0")
9+
@Generated(value = "JHipster", comments = "Generated by JHipster 8.9.0")
1010
@Retention(RetentionPolicy.SOURCE)
1111
@Target({ ElementType.TYPE })
1212
public @interface GeneratedByJHipster {

src/main/java/io/github/jhipster/sample/config/JacksonConfiguration.java

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
package io.github.jhipster.sample.config;
22

3+
import com.fasterxml.jackson.core.JsonGenerator;
4+
import com.fasterxml.jackson.databind.JsonSerializer;
5+
import com.fasterxml.jackson.databind.SerializerProvider;
36
import com.fasterxml.jackson.datatype.hibernate6.Hibernate6Module;
47
import com.fasterxml.jackson.datatype.hibernate6.Hibernate6Module.Feature;
58
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
69
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
10+
import java.io.IOException;
11+
import java.time.LocalTime;
712
import org.springframework.context.annotation.Bean;
813
import org.springframework.context.annotation.Configuration;
914

@@ -16,7 +21,17 @@ public class JacksonConfiguration {
1621
*/
1722
@Bean
1823
public JavaTimeModule javaTimeModule() {
19-
return new JavaTimeModule();
24+
final JavaTimeModule javaTime = new JavaTimeModule();
25+
javaTime.addSerializer(
26+
LocalTime.class,
27+
new JsonSerializer<LocalTime>() {
28+
@Override
29+
public void serialize(LocalTime value, JsonGenerator gen, SerializerProvider serializers) throws IOException {
30+
gen.writeString(value.toString());
31+
}
32+
}
33+
);
34+
return javaTime;
2035
}
2136

2237
@Bean

0 commit comments

Comments
 (0)