Skip to content

Commit da37aac

Browse files
committed
automatic project update for v8.10.0
1 parent 34ce8cb commit da37aac

File tree

101 files changed

+291
-293
lines changed

Some content is hidden

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

101 files changed

+291
-293
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
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.13.1"
16+
"NODE_VERSION": "22.14.0"
1717
}
1818
},
1919

.yo-rc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"entitySuffix": "",
2727
"hibernateCache": "no",
2828
"jhiPrefix": "jhi",
29-
"jhipsterVersion": "8.9.0",
29+
"jhipsterVersion": "8.10.0",
3030
"languages": ["en"],
3131
"messageBroker": false,
3232
"nativeLanguage": "en",

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# jhipsterNoCacheSampleApplication
22

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).
3+
This application was generated using JHipster 8.10.0, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.10.0](https://www.jhipster.tech/documentation-archive/v8.10.0).
44

55
## Project Structure
66

@@ -267,13 +267,13 @@ For more information refer to [Using Docker and Docker-Compose][], this page als
267267
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.
268268

269269
[JHipster Homepage and latest documentation]: https://www.jhipster.tech
270-
[JHipster 8.9.0 archive]: https://www.jhipster.tech/documentation-archive/v8.9.0
271-
[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.9.0/development/
272-
[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.9.0/docker-compose
273-
[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.9.0/production/
274-
[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.9.0/running-tests/
275-
[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.9.0/code-quality/
276-
[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.9.0/setting-up-ci/
270+
[JHipster 8.10.0 archive]: https://www.jhipster.tech/documentation-archive/v8.10.0
271+
[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.10.0/development/
272+
[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.10.0/docker-compose
273+
[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.10.0/production/
274+
[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.10.0/running-tests/
275+
[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.10.0/code-quality/
276+
[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.10.0/setting-up-ci/
277277
[Node.js]: https://nodejs.org/
278278
[NPM]: https://www.npmjs.com/
279279
[Gatling]: https://gatling.io/

package.json

Lines changed: 37 additions & 37 deletions
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",
2019
"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",
2120
"ci:e2e:dev": "concurrently -k -s first -n application,e2e -c red,blue npm:app:start npm:e2e:headless",
2221
"ci:e2e:package": "npm run java:$npm_package_config_packaging:$npm_package_config_default_environment -- -Pe2e -Denforcer.skip=true",
2322
"ci:e2e:prepare": "npm run ci:e2e:prepare:docker",
2423
"ci:e2e:prepare:docker": "npm run services:up --if-present && docker ps -a",
2524
"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",
@@ -35,7 +35,6 @@
3535
"cypress:audits": "cypress open --e2e --config-file cypress-audits.config.js",
3636
"docker:db:down": "docker compose -f src/main/docker/mysql.yml down -v",
3737
"docker:db:up": "docker compose -f src/main/docker/mysql.yml up --wait",
38-
"pree2e:headless": "npm run ci:server:await",
3938
"e2e": "npm run e2e:cypress:headed --",
4039
"e2e:cypress": "cypress run --e2e --browser chrome",
4140
"e2e:cypress:audits": "cypress run --e2e --browser chrome --config-file cypress-audits.config.js",
@@ -44,6 +43,7 @@
4443
"e2e:cypress:record": "npm run e2e:cypress -- --record",
4544
"e2e:dev": "concurrently -k -s first -n application,e2e -c red,blue npm:app:start npm:e2e",
4645
"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\"",
46+
"pree2e:headless": "npm run ci:server:await",
4747
"e2e:headless": "npm run e2e:cypress --",
4848
"java:docker": "./mvnw -ntp verify -DskipTests -Pprod jib:dockerBuild",
4949
"java:docker:arm64": "npm run java:docker -- -Djib-maven-plugin.architecture=arm64",
@@ -84,14 +84,14 @@
8484
"packaging": "jar"
8585
},
8686
"dependencies": {
87-
"@angular/common": "19.1.5",
88-
"@angular/compiler": "19.1.5",
89-
"@angular/core": "19.1.5",
90-
"@angular/forms": "19.1.5",
91-
"@angular/localize": "19.1.5",
92-
"@angular/platform-browser": "19.1.5",
93-
"@angular/platform-browser-dynamic": "19.1.5",
94-
"@angular/router": "19.1.5",
87+
"@angular/common": "19.2.4",
88+
"@angular/compiler": "19.2.4",
89+
"@angular/core": "19.2.4",
90+
"@angular/forms": "19.2.4",
91+
"@angular/localize": "19.2.4",
92+
"@angular/platform-browser": "19.2.4",
93+
"@angular/platform-browser-dynamic": "19.2.4",
94+
"@angular/router": "19.2.4",
9595
"@fortawesome/angular-fontawesome": "1.0.0",
9696
"@fortawesome/fontawesome-svg-core": "6.7.2",
9797
"@fortawesome/free-solid-svg-icons": "6.7.2",
@@ -102,66 +102,66 @@
102102
"bootstrap": "5.3.3",
103103
"dayjs": "1.11.13",
104104
"ngx-infinite-scroll": "19.0.0",
105-
"rxjs": "7.8.1",
105+
"rxjs": "7.8.2",
106106
"tslib": "2.8.1",
107107
"zone.js": "0.15.0"
108108
},
109109
"devDependencies": {
110110
"@angular-builders/custom-webpack": "19.0.0",
111111
"@angular-builders/jest": "19.0.0",
112-
"@angular-devkit/build-angular": "19.1.6",
113-
"@angular/cli": "19.1.6",
114-
"@angular/compiler-cli": "19.1.5",
115-
"@angular/service-worker": "19.1.5",
116-
"@eslint/js": "9.20.0",
112+
"@angular-devkit/build-angular": "19.2.5",
113+
"@angular/cli": "19.2.5",
114+
"@angular/compiler-cli": "19.2.4",
115+
"@angular/service-worker": "19.2.4",
116+
"@eslint/js": "9.23.0",
117117
"@types/jest": "29.5.14",
118118
"@types/node": "20.11.25",
119-
"angular-eslint": "19.0.2",
119+
"angular-eslint": "19.3.0",
120120
"browser-sync": "3.0.3",
121121
"browser-sync-webpack-plugin": "2.3.0",
122122
"buffer": "6.0.3",
123123
"concurrently": "9.1.2",
124-
"copy-webpack-plugin": "12.0.2",
125-
"cypress": "14.0.2",
124+
"copy-webpack-plugin": "13.0.0",
125+
"cypress": "14.2.1",
126126
"cypress-audit": "1.1.0",
127-
"eslint": "9.20.0",
128-
"eslint-config-prettier": "10.0.1",
129-
"eslint-plugin-cypress": "4.1.0",
130-
"eslint-plugin-prettier": "5.2.3",
127+
"eslint": "9.23.0",
128+
"eslint-config-prettier": "10.1.1",
129+
"eslint-plugin-cypress": "4.2.0",
130+
"eslint-plugin-prettier": "5.2.5",
131131
"folder-hash": "4.1.1",
132-
"generator-jhipster": "8.9.0",
133-
"globals": "15.14.0",
132+
"generator-jhipster": "8.10.0",
133+
"globals": "16.0.0",
134134
"husky": "9.1.7",
135135
"jest": "29.7.0",
136136
"jest-date-mock": "1.0.10",
137137
"jest-environment-jsdom": "29.7.0",
138138
"jest-junit": "16.0.0",
139-
"jest-preset-angular": "14.5.1",
139+
"jest-preset-angular": "14.5.3",
140140
"jest-sonar": "0.2.16",
141-
"lighthouse": "12.3.0",
142-
"lint-staged": "15.4.3",
141+
"lighthouse": "12.5.1",
142+
"lint-staged": "15.5.0",
143143
"merge-jsons-webpack-plugin": "2.0.1",
144-
"prettier": "3.4.2",
144+
"prettier": "3.5.3",
145145
"prettier-plugin-java": "2.6.7",
146-
"prettier-plugin-packagejson": "2.5.8",
146+
"prettier-plugin-packagejson": "2.5.10",
147147
"rimraf": "5.0.8",
148-
"swagger-ui-dist": "5.18.3",
149-
"ts-jest": "29.2.5",
150-
"typescript": "5.7.3",
151-
"typescript-eslint": "8.23.0",
152-
"wait-on": "8.0.2",
148+
"swagger-ui-dist": "5.20.2",
149+
"ts-jest": "29.3.0",
150+
"typescript": "5.8.2",
151+
"typescript-eslint": "8.29.0",
152+
"wait-on": "8.0.3",
153153
"webpack-bundle-analyzer": "4.10.2",
154154
"webpack-merge": "6.0.1",
155155
"webpack-notifier": "1.15.0"
156156
},
157157
"engines": {
158-
"node": ">=22.13.1"
158+
"node": ">=22.14.0"
159159
},
160160
"cacheDirectories": [
161161
"node_modules"
162162
],
163163
"overrides": {
164164
"browser-sync": "3.0.3",
165-
"webpack": "5.97.1"
165+
"webpack": "5.98.0"
166166
}
167167
}

pom.xml

Lines changed: 18 additions & 18 deletions
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.2</version>
15+
<version>3.4.4</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.13.1</node.version>
28-
<npm.version>11.1.0</npm.version>
27+
<node.version>v22.14.0</node.version>
28+
<npm.version>11.2.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>
@@ -36,18 +36,18 @@
3636
<m2e.apt.activation>jdt_apt</m2e.apt.activation>
3737
<run.addResources>false</run.addResources>
3838
<spring-boot.version>${project.parent.version}</spring-boot.version>
39-
<archunit-junit5.version>1.3.0</archunit-junit5.version>
40-
<checkstyle.version>10.21.2</checkstyle.version>
39+
<archunit-junit5.version>1.4.0</archunit-junit5.version>
40+
<checkstyle.version>10.22.0</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.13.0</gatling-maven-plugin.version>
44-
<gatling.version>3.13.3</gatling.version>
43+
<gatling-maven-plugin.version>4.16.2</gatling-maven-plugin.version>
44+
<gatling.version>3.13.5</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.9.0</jhipster-framework.version>
47+
<jhipster-framework.version>8.10.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>
50-
<jib-maven-plugin.version>3.4.4</jib-maven-plugin.version>
50+
<jib-maven-plugin.version>3.4.5</jib-maven-plugin.version>
5151
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
5252
<liquibase-plugin.driver/>
5353
<liquibase-plugin.hibernate-dialect/>
@@ -57,15 +57,15 @@
5757
<mapstruct.version>1.6.3</mapstruct.version>
5858
<maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
5959
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
60-
<maven-clean-plugin.version>3.4.0</maven-clean-plugin.version>
61-
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
60+
<maven-clean-plugin.version>3.4.1</maven-clean-plugin.version>
61+
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
6262
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
63-
<maven-failsafe-plugin.version>3.5.2</maven-failsafe-plugin.version>
63+
<maven-failsafe-plugin.version>3.5.3</maven-failsafe-plugin.version>
6464
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
6565
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
6666
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
6767
<maven-site-plugin.version>3.21.0</maven-site-plugin.version>
68-
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
68+
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
6969
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
7070
<modernizer-maven-plugin.version>3.1.0</modernizer-maven-plugin.version>
7171
<nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
@@ -76,10 +76,10 @@
7676
<profile.tls/>
7777
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
7878
<resource.delimiter>@</resource.delimiter>
79-
<sonar-maven-plugin.version>5.0.0.4389</sonar-maven-plugin.version>
80-
<spotless-maven-plugin.version>2.44.2</spotless-maven-plugin.version>
79+
<sonar-maven-plugin.version>5.1.0.4751</sonar-maven-plugin.version>
80+
<spotless-maven-plugin.version>2.44.3</spotless-maven-plugin.version>
8181
<spring.profiles.active>dev</spring.profiles.active>
82-
<springdoc-openapi-starter-webmvc-api.version>2.7.0</springdoc-openapi-starter-webmvc-api.version>
82+
<springdoc-openapi-starter-webmvc-api.version>2.8.6</springdoc-openapi-starter-webmvc-api.version>
8383
</properties>
8484

8585
<dependencies>
@@ -451,8 +451,8 @@
451451
<version>[${maven.version},)</version>
452452
</requireMavenVersion>
453453
<requireJavaVersion>
454-
<message>You are running an incompatible version of Java. JHipster supports JDK 17 to 23.</message>
455-
<version>[17,18),[21,22),[23,24)</version>
454+
<message>You are running an incompatible version of Java. JHipster supports JDK 17 to 24.</message>
455+
<version>[17,18),[21,22),[24,25)</version>
456456
</requireJavaVersion>
457457
</rules>
458458
</configuration>

src/main/docker/monitoring.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: jhipsternocachesampleapplication
33
services:
44
prometheus:
5-
image: prom/prometheus:v3.1.0
5+
image: prom/prometheus:v3.2.1
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.5.1
18+
image: grafana/grafana:11.6.0
1919
volumes:
2020
- ./grafana/provisioning/:/etc/grafana/provisioning/
2121
environment:

src/main/docker/sonar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: jhipsternocachesampleapplication
33
services:
44
sonar:
55
container_name: sonarqube
6-
image: sonarqube:25.2.0.102705-community
6+
image: sonarqube:25.3.0.104237-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

Lines changed: 1 addition & 1 deletion
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.9.0")
9+
@Generated(value = "JHipster", comments = "Generated by JHipster 8.10.0")
1010
@Retention(RetentionPolicy.SOURCE)
1111
@Target({ ElementType.TYPE })
1212
public @interface GeneratedByJHipster {

src/main/java/io/github/jhipster/sample/web/rest/AccountResource.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.slf4j.Logger;
2222
import org.slf4j.LoggerFactory;
2323
import org.springframework.http.HttpStatus;
24-
import org.springframework.http.MediaType;
24+
import org.springframework.http.ResponseEntity;
2525
import org.springframework.web.bind.annotation.*;
2626

2727
/**
@@ -93,15 +93,15 @@ public void activateAccount(@RequestParam(value = "key") String key) {
9393
}
9494

9595
/**
96-
* {@code GET /authenticate} : check if the user is authenticated, and return its login.
96+
* {@code GET /authenticate} : check if the user is authenticated.
9797
*
98-
* @param principal the authentication principal.
99-
* @return the login if the user is authenticated.
98+
* @return the {@link ResponseEntity} with status {@code 204 (No Content)},
99+
* or with status {@code 401 (Unauthorized)} if not authenticated.
100100
*/
101-
@GetMapping(value = "/authenticate", produces = MediaType.TEXT_PLAIN_VALUE)
102-
public String isAuthenticated(Principal principal) {
101+
@GetMapping("/authenticate")
102+
public ResponseEntity<Void> isAuthenticated(Principal principal) {
103103
LOG.debug("REST request to check if the current user is authenticated");
104-
return principal == null ? null : principal.getName();
104+
return ResponseEntity.status(principal == null ? HttpStatus.UNAUTHORIZED : HttpStatus.NO_CONTENT).build();
105105
}
106106

107107
/**

src/main/java/io/github/jhipster/sample/web/rest/errors/ExceptionTranslator.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
import java.util.Map;
1111
import java.util.Optional;
1212
import org.apache.commons.lang3.StringUtils;
13+
import org.slf4j.Logger;
14+
import org.slf4j.LoggerFactory;
1315
import org.springframework.beans.factory.annotation.Value;
1416
import org.springframework.core.env.Environment;
1517
import org.springframework.dao.ConcurrencyFailureException;
@@ -48,6 +50,8 @@ public class ExceptionTranslator extends ResponseEntityExceptionHandler {
4850
private static final String PATH_KEY = "path";
4951
private static final boolean CASUAL_CHAIN_ENABLED = false;
5052

53+
private static final Logger LOG = LoggerFactory.getLogger(ExceptionTranslator.class);
54+
5155
@Value("${jhipster.clientApp.name}")
5256
private String applicationName;
5357

@@ -59,6 +63,7 @@ public ExceptionTranslator(Environment env) {
5963

6064
@ExceptionHandler
6165
public ResponseEntity<Object> handleAnyException(Throwable ex, NativeWebRequest request) {
66+
LOG.debug("Converting Exception to Problem Details:", ex);
6267
ProblemDetailWithCause pdCause = wrapAndCustomizeProblem(ex, request);
6368
return handleExceptionInternal((Exception) ex, pdCause, buildHeaders(ex), HttpStatusCode.valueOf(pdCause.getStatus()), request);
6469
}

0 commit comments

Comments
 (0)