Comments (37)
Will a new version be released soon?
from generator-jhipster.
If there are no blockers I can make a release today/tomorrow
from generator-jhipster.
@deepu105 Do you have the bandwidth to do a release this week?
from generator-jhipster.
Hang is fixed in #25543.
from generator-jhipster.
8.2.1 is released
from generator-jhipster.
Hello Guys,
I guess i am not the only one asking myself this question, is there a problem on the realeases since 7 ? seems like jhipster is having more issues to keep up with releases ?
sorry if this question seems uncalled-for, the purpose of the question is to highlight any problems you could have and maybe expose it here and find a way to solve this, in a constructive way ?
from generator-jhipster.
@mshima I tried @module-federation@utilities
v3.0.6 and the issue still happens.
from generator-jhipster.
@deepu105 it's not a regression, happens on v8.1.0 on Node 20.
npx [email protected] jdl reactive-mf.jdl --ignore-deployments --json-only
Node 18 works as expected.
I don't think we should delay v8.1.0 due to this issue.
from generator-jhipster.
@deepu105 All the issues I found are now fixed. Please proceed with the release.
💡 If Gradle 8.7 is released (with Java 22 support), that might be useful for marketing.
from generator-jhipster.
No blocker.
from generator-jhipster.
from generator-jhipster.
I just tried generating my 21-Points Health app using the jhipster
command. It works, but it seems like the questions are in a different order. Maybe this is as designed because the test prompt now applies to the backend and frontend separately?
JHipster 7:
![generating-21points](https://private-user-images.githubusercontent.com/17892/313748349-077f280f-fe71-478e-a6bd-6f1fbcfb254c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczMzc3NTgsIm5iZiI6MTcxNzMzNzQ1OCwicGF0aCI6Ii8xNzg5Mi8zMTM3NDgzNDktMDc3ZjI4MGYtZmU3MS00NzhlLWE2YmQtNmYxZmJjZmIyNTRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAyVDE0MTA1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM5NzFjNmQ5NDE0ZmUyMWIzMjhkMDczM2Q2ZmI1NmUyMjYxOWM0Y2NkMDhkYWVmZDZjMjQ3NzY0ZWYzYzI0YWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.kvjwjX_jYCwLYb8NUk5tfijvs5QQwCzg8XkjzT3Y1zw)
JHipster main branch:
![Screenshot 2024-03-18 at 9 52 50 AM](https://private-user-images.githubusercontent.com/17892/313748444-a97f0b08-e3b0-4044-a076-856578b6ff90.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczMzc3NTgsIm5iZiI6MTcxNzMzNzQ1OCwicGF0aCI6Ii8xNzg5Mi8zMTM3NDg0NDQtYTk3ZjBiMDgtZTNiMC00MDQ0LWEwNzYtODU2NTc4YjZmZjkwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAyVDE0MTA1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExN2M0NjkwMDRiMzgzYWQ4ZDdmMTMxMmFjZDA5MGIwNGQwMmY4MDk0ZDJkNzMzZmZmNDBmYzBjZmZiODcxNjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZawMYFouNIN6Lz1LB1pAlGMhLYAvpEgD8uJ9-Y32Prk)
Also, it'd be nice to get rid of this warning since it happens in a brand new app and I feel there shouldn't be warnings in a brand new app.
WARNING! Ignoring 'UserManagement' definitions as it is using a built-in Entity 'Authority':
'otherEntityRelationshipName' is set with value 'undefined' at relationship 'authority' but no back-reference was found
from generator-jhipster.
I just found a compilation issue when using Neo4j. Steps to reproduce:
Generate a microservices and microfrontend architecture using the following command:
jhipster jdl reactive-mf.jdl --monorepository --workspaces
Try to compile the resulting blog
project and you'll get an error:
/Users/mraible/Downloads/micro-frontends/blog/src/main/java/com/okta/developer/blog/web/rest/TagResource.java:183: error: cannot find symbol
.zipWith(tagRepository.findAllBy(pageable).collectList())
^
symbol: method findAllBy(Pageable)
location: variable tagRepository of type TagRepository
/Users/mraible/Downloads/micro-frontends/blog/src/main/java/com/okta/developer/blog/web/rest/PostResource.java:191: error: cannot find symbol
.zipWith(postRepository.findAllBy(pageable).collectList())
^
symbol: method findAllBy(Pageable)
location: variable postRepository of type PostRepository
2 errors
3 warnings
> Task :compileJava FAILED
This is a regression that worked with JHipster 8.1.0.
from generator-jhipster.
Here's another issue that's quite strange when running jhipster jdl reactive-mf.jdl --monorepository --workspaces
. If I hit Ctrl+C right after the "Thanks for using JHipster!" message, it only takes around 2 minutes.
![Screenshot 2024-03-18 at 11 41 24 AM](https://private-user-images.githubusercontent.com/17892/313785775-0293b526-ba32-46a5-ab53-94b7c3636d11.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczMzc3NTgsIm5iZiI6MTcxNzMzNzQ1OCwicGF0aCI6Ii8xNzg5Mi8zMTM3ODU3NzUtMDI5M2I1MjYtYmEzMi00NmE1LWFiNTMtOTRiN2MzNjM2ZDExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAyVDE0MTA1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2Y2JiZTdhYzVlNDNlOWZlMmY4YzBmZjk1MTQzNDUzOWVhMmVlZTg2MDNlMTRhZGM1NmM2MDBhMWNlYjNkOWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CGxc09cTx2adA86AsfwJORx37YFpmj2oEFBisNadLss)
However, if I wait for the generation process to complete, it takes 10 minutes! 😳
![Screenshot 2024-03-18 at 11 53 01 AM](https://private-user-images.githubusercontent.com/17892/313785921-ddd9766d-d0f0-4ed5-939e-a801461e90cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczMzc3NTgsIm5iZiI6MTcxNzMzNzQ1OCwicGF0aCI6Ii8xNzg5Mi8zMTM3ODU5MjEtZGRkOTc2NmQtZDBmMC00ZWQ1LTkzOWUtYTgwMTQ2MWU5MGNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAyVDE0MTA1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI3YmVkMGUxNGY2MjZkNjMxOTgxYjhkNTNiOWVlYmMzYzI0NzIxNmZiMWNhNzRjYzM1ZjYzMjBhMTI5ZDgwZjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.NtRiklJIMk5ER8O9B6IO-pQ1BtwQnO14sZmVRQN7vkA)
I'm on an Apple M3 Max with Sanoma 14.3.1 (23D60).
from generator-jhipster.
I found another issue with my micro frontends demo. There is a warning that happens when building the gateway.
WARNING in ../node_modules/@module-federation/utilities/dist/index.cjs.js 862:122-132
Critical dependency: the request of a dependency is an expression
This is kinda awkward because it does pop up an alert when building. Everything still seems to work though. It gets more intrusive when you run npm start
because the warning has to be dismissed.
![Screenshot 2024-03-18 at 12 58 36 PM](https://private-user-images.githubusercontent.com/17892/313804162-2e59ad85-ff92-465b-9093-66aef6c2a36e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczMzc3NTgsIm5iZiI6MTcxNzMzNzQ1OCwicGF0aCI6Ii8xNzg5Mi8zMTM4MDQxNjItMmU1OWFkODUtZmY5Mi00NjViLTkwOTMtNjZhZWY2YzJhMzZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAyVDE0MTA1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg5ZWJkYWMzMjQ4YWU1MzU0MzViNjU3OTc4NWUxYWI4ZDkxMGRkMjQ1ZTJhMTk1ZjkwYWNjOGE0OWE5OGI0NmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9ufSeL68-mKZPktkFixCeJiICXwMRsW1BUsHmqflB90)
from generator-jhipster.
However, if I wait for the generation process to complete, it takes 10 minutes! 😳
Looks related to kubernetes generator.
If you remove kubernetes it is quick.
from generator-jhipster.
I found another issue with my micro frontends demo. There is a warning that happens when building the gateway.
WARNING in ../node_modules/@module-federation/utilities/dist/index.cjs.js 862:122-132 Critical dependency: the request of a dependency is an expression
This is kinda awkward because it does pop up an alert when building. Everything still seems to work though. It gets more intrusive when you run
npm start
because the warning has to be dismissed.![]()
@mraible can you try with @module-federation@utilities
v3.0.6?
It’s not tagged as latest.
from generator-jhipster.
ok seems like there are some issues, so i'm not starting the release
from generator-jhipster.
Even with kubernetes it shouldnt take 10 minutes, so thgere might be some regressions
from generator-jhipster.
The issue is related to download sample command.
jhipster download reactive-mf.jdl
from generator-jhipster.
@mraible I'll wait for your go ahead for the release. Let me know if there is anything else you find
from generator-jhipster.
@mshima I've been testing on Node 20 since yesterday. Everything seems to work. Should we make that the baseline or stick with Node 18?
from generator-jhipster.
@mraible we are having this issue #24134.
Now that devserver check is fixed it will break if it’s not fixed by upstream.
from generator-jhipster.
Cool i'm gonna start the release now
from generator-jhipster.
Do we support Java 22, I dont see it in the supported list
from generator-jhipster.
Java 22 doesn't work with the latest version of Gradle (v8.6) and Java 22 won't be supported by Gradle until Gradle 8.7. We could use RC3 if we wanted.
https://twitter.com/gradle/status/1767496178877272204
I just tried using the main branch and jhipster --defaults
with Java 22 and mvn verify
fails (after updating the pom.xml
to allow Java 22).
[ERROR] Failures:
[ERROR] CRLFLogConverterTest.testToAnsiString:131
expected: "input"
but was: "input"
[ERROR] CRLFLogConverterTest.transformShouldReplaceNewlinesAndCarriageReturnsWithAnsiStringWhenMarkersDoNotContainCRLFSafeMarkerAndLoggerIsNotSafeAndAnsiElementIsNotNull:99 expected: <Test_input_string> but was: <Test_input_string>
[INFO]
[ERROR] Tests run: 38, Failures: 2, Errors: 0, Skipped: 0
mvn verify
works if I use Java 21.
For these reasons, I'd say we don't support 22 yet. We can release 8.2.1 once we do.
from generator-jhipster.
@deepu105 First of all, thanks for doing the release. Unfortunately, it seems to be broken when I try to reproduce the issue in #25255.
jhipster jdl app.jdl
results in the following error:
Welcome to JHipster v8.2.0
INFO! Generating jdls app.jdl
info Generating 1 application
_______________________________________________________________________________________________________________
Documentation for creating an application is at https://www.jhipster.tech/creating-an-app/
Application files will be generated in folder: /Users/mraible/Downloads/websocket
_______________________________________________________________________________________________________________
ERROR! An error occured while running jhipster:server#writeFiles
ERROR! ERROR! /Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/dist/generators/server/templates/src/test/java/_package_/web/rest/AccountResourceIT.java.ejs:424
422| <%_ } _%>
423| secondUser.setLangKey(firstUser.getLangKey());
>> 424| <%_ if (generateSpringAuditor) { _%>
425| secondUser.setCreatedBy(firstUser.getCreatedBy());
426| secondUser.setCreatedDate(firstUser.getCreatedDate());
427| secondUser.setLastModifiedBy(firstUser.getLastModifiedBy());
generateSpringAuditor is not defined
ReferenceError: /Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/dist/generators/server/templates/src/test/java/_package_/web/rest/AccountResourceIT.java.ejs:424
422| <%_ } _%>
423| secondUser.setLangKey(firstUser.getLangKey());
>> 424| <%_ if (generateSpringAuditor) { _%>
425| secondUser.setCreatedBy(firstUser.getCreatedBy());
426| secondUser.setCreatedDate(firstUser.getCreatedDate());
427| secondUser.setLastModifiedBy(firstUser.getLastModifiedBy());
generateSpringAuditor is not defined
at JHipsterServerGenerator.eval ("/Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/dist/generators/server/templates/src/test/java/_package_/web/rest/AccountResourceIT.java.ejs":418:8)
at AccountResourceIT.java (/Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/ejs/lib/ejs.js:703:17)
at /Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/ejs/lib/ejs.js:260:40
at new Promise (<anonymous>)
at tryHandleCache (/Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/ejs/lib/ejs.js:258:14)
at exports.renderFile (/Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/ejs/lib/ejs.js:491:10)
at renderFile (file:///Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/mem-fs-editor/dist/util.js:65:16)
at MemFsEditor.processFile (file:///Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/mem-fs-editor/dist/actions/copy-tpl-async.js:13:20)
at MemFsEditor.applyProcessingFileFunc (file:///Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/mem-fs-editor/dist/actions/copy-async.js:10:54)
at MemFsEditor._copySingleAsync (file:///Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/mem-fs-editor/dist/actions/copy-async.js:76:52) {
path: '/Users/mraible/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/dist/generators/server/templates/src/test/java/_package_/web/rest/AccountResourceIT.java.ejs'
}
from generator-jhipster.
ya just noticed this. I don't know how this got past the CI. Did something change after your last tests
from generator-jhipster.
I'm not sure what the issue is. If I clone the repo and run npm i && npm link
, everything works as expected.
Any ideas, @mshima?
from generator-jhipster.
@deepu105 The only thing I can think of is the deployed artifact doesn't contain some files. Did you run npm run build
before publishing? If not, we should add the following to our scripts so it always happens.
"prepublishOnly": "npm run build",
from generator-jhipster.
![微信图片_20240320234844](https://private-user-images.githubusercontent.com/51911810/314569121-86a7ee51-b116-4fbc-8809-76215bc6b6d4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczMzc3NTgsIm5iZiI6MTcxNzMzNzQ1OCwicGF0aCI6Ii81MTkxMTgxMC8zMTQ1NjkxMjEtODZhN2VlNTEtYjExNi00ZmJjLTg4MDktNzYyMTViYzZiNmQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAyVDE0MTA1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk4MTRiMDUwZTNhMzMyNTk1OGU2MzUyOTcyNmIyZTZhMWUwZDRkNjdlNTUwMjJiOWYyOWQ1NTYwOGI5ZGQzYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sYFWTHSvpmAP5yAZSepg6kKrgfP3grwWBtpvJVzXHJ8)
from generator-jhipster.
I'm not sure what the issue is. If I clone the repo and run
npm i && npm link
, everything works as expected.Any ideas, @mshima?
The published package has old mjs
files.
Added prebuild script here #25563.
from generator-jhipster.
FWIW, it should be possible to remove and republish 8.2.0 from npmjs.com using npm unpublish
. Then, you can delete the v8.2.0 tag on GitHub and re-create the release.
from generator-jhipster.
But running npm publish
runs prepare which runs the build. I can see the build logs in my terminal from the ansible job
from generator-jhipster.
So clean was missing
from generator-jhipster.
@mraible its not possible to unpublish since there are dependent packages for this. I can only mark it deprecated and release 8.2.1
from generator-jhipster.
@mshima Btw the "Generators / generate-blueprint / check-generator-generate-blueprint (push) " job is still failing with a permission error
from generator-jhipster.
Related Issues (20)
- IllegalArgumentException "key cannot be empty or null" on freshly created project. (add steps to the guide or fix the issue) HOT 6
- Oauth2 OIDC - claims - BuiltInUserEntity HOT 6
- side-by-side pattern for vue js
- Can't wrap a component from PrimeReact with ValidatedField.
- Astro for Microfrontend
- Embedded ManyToOne relationships are broken in vue and react frontends.
- Release missing v8 based blueprints. HOT 18
- [React] `serializeError` should not be used by known errors
- Upgrade spring-boot to v3.3.0 HOT 1
- Not generating service files HOT 4
- Upgrade to Angular 18 HOT 2
- Applications should not delete entire User records in tests. HOT 3
- Jhipster Support Sidebar Menu HOT 4
- generatr-blueprint creates *.js files instead of *.mjs HOT 7
- Get "Not Found" error for Entities menu for Micro Frontend entities HOT 3
- Release 8.5.0 with Spring Boot 3.3.0 HOT 18
- Handle generator-jhipster version compatibility using engines. HOT 1
- `jhipster jdl blog-oauth2` doesn't work with JHipster 8.5.0 HOT 5
- Use tailwindcss to replace bootstrap ui framework HOT 1
- The default profile is ignored when run a application generated with Jhipster 8.4.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-jhipster.