-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would you mind wrapping up a 1.4.3 release? #383
Comments
Unfortunately there was not enough interest to aim for a 2.x release anytime soon. |
@keilw |
@otaviojava Because nothing works without that fixed. The conversion modules are not even built right now and still there are at least 4 test failures or more in the core module.: https://app.travis-ci.com/github/JavaMoney/jsr354-ri/jobs/587916157 The exchange rates and providers in convert rely on the config and as that's somehow broken they also do not get the correct settings. There are multiple test failures like
Because the configuration won't pick up the necessary conversion data. |
It would be good to have a 1.4.3 release when that blocker issue is completed. About a 2.x release, because of this major jakarta namespace change, from my POV, it would be better that 2.0 is exactly the same as 1.4.3, with only the javax -> jakarta imports. That makes upgrade paths easier. |
The jakarta namespace is not necessarily up to a 2.x release because that requires a whole new JSR with a new number. Which so far there has not been enough interest and echo by JCP members and while @otaviojava and I are good to help as Maintenance Lead, we would not file a new JSR without a solid and committed EG. If either of you in this thread knows a company that would be happy and able to join as co-spec lead, then we could think of a new JSR, otherwise without at least one Corporate member involved, I guess it's maintenance only. |
What I meant was to have a release that doesn't depend on old Not actually moving javax money to jakarta money |
There will never be a jakarta money, the JSR keeps javax. #381 would involve using Jakarta EE 9, The 4 failed tests must pass, please propose PRs if you find a solution, some may even have something to do with changes to reflection in later Java versions. |
The 4 failing tests seems related to ServiceLoader not finding the I believe the issue might be related to how Java 9 module system changed the ServiceLoader. I'm still not familiar with java modules but if I find a solution I'll propose a PR for them |
And that's not the only place. loading resources like the IMF defaults also fails for JPMS related reasons, but that resolved (by putting the files into the package structure (similar to suggestions in https://stackoverflow.com/questions/61531317/how-do-i-determine-the-correct-path-for-fxml-files-css-files-images-and-other/61531318#61531318) still won't get past #353. |
I'
@ratoaq2 Thanks for the research. Any remedy for that? It looks like we cannot mix META-INF/services in test code with module-info declarations, and that means the test classes even require a different module and package structure, based on what https://stackoverflow.com/questions/46613214/java-9-maven-junit-does-test-code-need-module-info-java-of-its-own-and-wher states. |
Guys, Especially the two with "help wanted" can use some help, as both the proper configuration and hopefully a solution to fetching both ECB and IMF exchange rates at runtime, are the most critical issues, while others like Indian formatting mostly concern fixing unit tests and that seems very advanced. Once those are fixed, we can release 1.4.3. |
IMHO: I would put both services out. |
@otaviojava No we shouldn't drop IMF either, but properly use the REST service, especially with all the Jakarta/Enterprise people involved ;-) |
With #357 addressed (still waiting for your review) there are at least 2 major showstoppers that need to be addressed:
|
@keilw I've been looking into the test failures and it seems that, again, the issue is the JPMS... From what I've found, the tests apparently run in the main sources' module, which does not declare this test provider. What I think could work is moving the tests that rely on service loaders to a separate source tree, with a separate module definition, which I've tested and works. |
@kewne If you can, please provide the PR. |
Closing as the release is about to be published. |
Just in case @odrotbohm the 1.4.3 release was published 2 days ago after all the critical issues, especially around exchange sources could be resolved. |
@odrotbohm We don't plan to use an odd/even pattern like the Linux Kernel, but please use release 1.4.4 because in 1.4.3 the IMF exchange rate provider was still disabled to avoid the prior timeouts. I assume not too many people started using 1.4.3 yet ;-) |
@keilw well, in times of dependabot & co. your assumption might be wrong. Anyway, thank you for that information. |
@saw303 is it possible to add upgrade recommendations for libraries like Moneta to Dependabot? |
@keilw Yes, I guess it is. At least according to the docs https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates#checking-the-status-of-version-updates |
There hasn't been a release in 2,5 years and the branch for 1.4.3 contains quite a few much awaited, low-level fixes (see below), some of them almost 3 years old. Do you think it'd make sense to wrap up the release to ship these?
The text was updated successfully, but these errors were encountered: