Skip to content

Commit 7e5f276

Browse files
committed
automatic project update for v8.11.0
1 parent da37aac commit 7e5f276

File tree

18 files changed

+127
-99
lines changed

18 files changed

+127
-99
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.14.0"
16+
"NODE_VERSION": "22.15.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.10.0",
29+
"jhipsterVersion": "8.11.0",
3030
"languages": ["en"],
3131
"messageBroker": false,
3232
"nativeLanguage": "en",

README.md

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

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).
3+
This application was generated using JHipster 8.11.0, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.11.0](https://www.jhipster.tech/documentation-archive/v8.11.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.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/
270+
[JHipster 8.11.0 archive]: https://www.jhipster.tech/documentation-archive/v8.11.0
271+
[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.11.0/development/
272+
[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.11.0/docker-compose
273+
[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.11.0/production/
274+
[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.11.0/running-tests/
275+
[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.11.0/code-quality/
276+
[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.11.0/setting-up-ci/
277277
[Node.js]: https://nodejs.org/
278278
[NPM]: https://www.npmjs.com/
279279
[Gatling]: https://gatling.io/
@@ -283,4 +283,4 @@ To configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`)
283283
[Cypress]: https://www.cypress.io/
284284
[Leaflet]: https://leafletjs.com/
285285
[DefinitelyTyped]: https://definitelytyped.org/
286-
[Angular CLI]: https://cli.angular.io/
286+
[Angular CLI]: https://angular.dev/tools/cli

eslint.config.mjs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,10 @@ export default tseslint.config(
122122
{
123123
files: ['**/*.html'],
124124
extends: [...angular.configs.templateRecommended, ...angular.configs.templateAccessibility],
125-
rules: {},
126-
},
127-
{
128-
// Html templates require some work
129-
ignores: ['**/*.html'],
130-
extends: [prettier],
125+
rules: {
126+
'@angular-eslint/template/click-events-have-key-events': 'off',
127+
'@angular-eslint/template/interactive-supports-focus': 'off',
128+
},
131129
},
132130
{
133131
files: ['src/test/javascript/cypress/**/*.ts'],
@@ -147,5 +145,9 @@ export default tseslint.config(
147145
},
148146
},
149147
// jhipster-needle-eslint-add-config - JHipster will add additional config here
150-
prettier,
148+
{
149+
// Html templates require some work
150+
ignores: ['**/*.html'],
151+
extends: [prettier],
152+
},
151153
);

package.json

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -83,85 +83,85 @@
8383
"default_environment": "prod",
8484
"packaging": "jar"
8585
},
86+
"overrides": {
87+
"browser-sync": "3.0.4",
88+
"webpack": "5.99.7"
89+
},
8690
"dependencies": {
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",
91+
"@angular/common": "19.2.9",
92+
"@angular/compiler": "19.2.9",
93+
"@angular/core": "19.2.9",
94+
"@angular/forms": "19.2.9",
95+
"@angular/localize": "19.2.9",
96+
"@angular/platform-browser": "19.2.9",
97+
"@angular/platform-browser-dynamic": "19.2.9",
98+
"@angular/router": "19.2.9",
9599
"@fortawesome/angular-fontawesome": "1.0.0",
96100
"@fortawesome/fontawesome-svg-core": "6.7.2",
97101
"@fortawesome/free-solid-svg-icons": "6.7.2",
98102
"@ng-bootstrap/ng-bootstrap": "18.0.0",
99103
"@ngx-translate/core": "16.0.4",
100104
"@ngx-translate/http-loader": "16.0.1",
101105
"@popperjs/core": "2.11.8",
102-
"bootstrap": "5.3.3",
106+
"bootstrap": "5.3.6",
103107
"dayjs": "1.11.13",
104108
"ngx-infinite-scroll": "19.0.0",
105109
"rxjs": "7.8.2",
106110
"tslib": "2.8.1",
107111
"zone.js": "0.15.0"
108112
},
109113
"devDependencies": {
110-
"@angular-builders/custom-webpack": "19.0.0",
111-
"@angular-builders/jest": "19.0.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",
114+
"@angular-builders/custom-webpack": "19.0.1",
115+
"@angular-builders/jest": "19.0.1",
116+
"@angular-devkit/build-angular": "19.2.10",
117+
"@angular/cli": "19.2.10",
118+
"@angular/compiler-cli": "19.2.9",
119+
"@angular/service-worker": "19.2.9",
120+
"@eslint/js": "9.26.0",
117121
"@types/jest": "29.5.14",
118122
"@types/node": "20.11.25",
119123
"angular-eslint": "19.3.0",
120-
"browser-sync": "3.0.3",
124+
"browser-sync": "3.0.4",
121125
"browser-sync-webpack-plugin": "2.3.0",
122126
"buffer": "6.0.3",
123127
"concurrently": "9.1.2",
124128
"copy-webpack-plugin": "13.0.0",
125-
"cypress": "14.2.1",
129+
"cypress": "14.3.2",
126130
"cypress-audit": "1.1.0",
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",
131+
"eslint": "9.26.0",
132+
"eslint-config-prettier": "10.1.2",
133+
"eslint-plugin-cypress": "4.3.0",
134+
"eslint-plugin-prettier": "5.4.0",
131135
"folder-hash": "4.1.1",
132-
"generator-jhipster": "8.10.0",
136+
"generator-jhipster": "8.11.0",
133137
"globals": "16.0.0",
134138
"husky": "9.1.7",
135139
"jest": "29.7.0",
136140
"jest-date-mock": "1.0.10",
137141
"jest-environment-jsdom": "29.7.0",
138142
"jest-junit": "16.0.0",
139-
"jest-preset-angular": "14.5.3",
143+
"jest-preset-angular": "14.5.5",
140144
"jest-sonar": "0.2.16",
141-
"lighthouse": "12.5.1",
142-
"lint-staged": "15.5.0",
145+
"lighthouse": "12.6.0",
146+
"lint-staged": "15.5.2",
143147
"merge-jsons-webpack-plugin": "2.0.1",
144148
"prettier": "3.5.3",
145149
"prettier-plugin-java": "2.6.7",
146-
"prettier-plugin-packagejson": "2.5.10",
150+
"prettier-plugin-packagejson": "2.5.11",
147151
"rimraf": "5.0.8",
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+
"swagger-ui-dist": "5.21.0",
153+
"ts-jest": "29.3.2",
154+
"typescript": "5.8.3",
155+
"typescript-eslint": "8.32.0",
152156
"wait-on": "8.0.3",
153157
"webpack-bundle-analyzer": "4.10.2",
154158
"webpack-merge": "6.0.1",
155159
"webpack-notifier": "1.15.0"
156160
},
157161
"engines": {
158-
"node": ">=22.14.0"
162+
"node": ">=22.15.0"
159163
},
160164
"cacheDirectories": [
161165
"node_modules"
162-
],
163-
"overrides": {
164-
"browser-sync": "3.0.3",
165-
"webpack": "5.98.0"
166-
}
166+
]
167167
}

pom.xml

Lines changed: 9 additions & 9 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.4</version>
15+
<version>3.4.5</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.14.0</node.version>
28-
<npm.version>11.2.0</npm.version>
27+
<node.version>v22.15.0</node.version>
28+
<npm.version>11.3.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.4.0</archunit-junit5.version>
40-
<checkstyle.version>10.22.0</checkstyle.version>
40+
<checkstyle.version>10.23.1</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.16.2</gatling-maven-plugin.version>
43+
<gatling-maven-plugin.version>4.16.3</gatling-maven-plugin.version>
4444
<gatling.version>3.13.5</gatling.version>
4545
<git-commit-id-maven-plugin.version>9.0.1</git-commit-id-maven-plugin.version>
46-
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
47-
<jhipster-framework.version>8.10.0</jhipster-framework.version>
46+
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
47+
<jhipster-framework.version>8.11.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.5</jib-maven-plugin.version>
@@ -77,9 +77,9 @@
7777
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
7878
<resource.delimiter>@</resource.delimiter>
7979
<sonar-maven-plugin.version>5.1.0.4751</sonar-maven-plugin.version>
80-
<spotless-maven-plugin.version>2.44.3</spotless-maven-plugin.version>
80+
<spotless-maven-plugin.version>2.44.4</spotless-maven-plugin.version>
8181
<spring.profiles.active>dev</spring.profiles.active>
82-
<springdoc-openapi-starter-webmvc-api.version>2.8.6</springdoc-openapi-starter-webmvc-api.version>
82+
<springdoc-openapi-starter-webmvc-api.version>2.8.8</springdoc-openapi-starter-webmvc-api.version>
8383
</properties>
8484

8585
<dependencies>

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.2.1
5+
image: prom/prometheus:v3.3.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.6.0
18+
image: grafana/grafana:12.0.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.3.0.104237-community
6+
image: sonarqube:25.5.0.107428-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.10.0")
9+
@Generated(value = "JHipster", comments = "Generated by JHipster 8.11.0")
1010
@Retention(RetentionPolicy.SOURCE)
1111
@Target({ ElementType.TYPE })
1212
public @interface GeneratedByJHipster {

src/main/java/io/github/jhipster/sample/security/DomainUserDetailsService.java

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import org.hibernate.validator.internal.constraintvalidators.hv.EmailValidator;
88
import org.slf4j.Logger;
99
import org.slf4j.LoggerFactory;
10+
import org.springframework.security.core.GrantedAuthority;
1011
import org.springframework.security.core.authority.SimpleGrantedAuthority;
1112
import org.springframework.security.core.userdetails.UserDetails;
1213
import org.springframework.security.core.userdetails.UserDetailsService;
@@ -51,12 +52,39 @@ private org.springframework.security.core.userdetails.User createSpringSecurityU
5152
if (!user.isActivated()) {
5253
throw new UserNotActivatedException("User " + lowercaseLogin + " was not activated");
5354
}
54-
List<SimpleGrantedAuthority> grantedAuthorities = user
55-
.getAuthorities()
56-
.stream()
57-
.map(Authority::getName)
58-
.map(SimpleGrantedAuthority::new)
59-
.toList();
60-
return new org.springframework.security.core.userdetails.User(user.getLogin(), user.getPassword(), grantedAuthorities);
55+
return UserWithId.fromUser(user);
56+
}
57+
58+
public static class UserWithId extends org.springframework.security.core.userdetails.User {
59+
60+
private final Long id;
61+
62+
public UserWithId(String login, String password, Collection<? extends GrantedAuthority> authorities, Long id) {
63+
super(login, password, authorities);
64+
this.id = id;
65+
}
66+
67+
public Long getId() {
68+
return id;
69+
}
70+
71+
@Override
72+
public boolean equals(Object obj) {
73+
return super.equals(obj);
74+
}
75+
76+
@Override
77+
public int hashCode() {
78+
return super.hashCode();
79+
}
80+
81+
public static UserWithId fromUser(User user) {
82+
return new UserWithId(
83+
user.getLogin(),
84+
user.getPassword(),
85+
user.getAuthorities().stream().map(Authority::getName).map(SimpleGrantedAuthority::new).toList(),
86+
user.getId()
87+
);
88+
}
6189
}
6290
}

0 commit comments

Comments
 (0)