Use RgxGen to cope with StackOverFlow#1092
Conversation
PR Summary
|
pom.xml
Outdated
| <commons-text.version>1.11.0</commons-text.version> | ||
| <commons-validator.version>1.8.0</commons-validator.version> | ||
| <generex.version>1.0.2</generex.version> | ||
| <rgxgen.version>2.0-SNAPSHOT</rgxgen.version> |
There was a problem hiding this comment.
Seems like they also do not release often however provide snapshots...
Anyway need this version since the leveraging api is not supported in previous non-SNAPSHOT
|
I don't think we can depend on snapshot versions. If they publish a new version, we would have no idea what kind of code we get into our library. I don't think this would be an acceptable situation. |
|
based on the commit history they are not going to do it... |
|
I don't really care how often they release, I care that we don't depend on snapshots for production releases. Maybe they change the api in a year, then it would break every Datafaker release depending on the snapshot, including older versions. If they would introduce something malicious, we would download this too automatically. So no, let's not do this. |
|
Wouldn't that be true of any dependency? |
|
No. Once a dependency with a version has been published on Maven Central, it's not possible to change the library anymore. The same is not true for snapshots. |
|
Also, we wouldn't be able to publish Datafaker anymore, cause the maven release plugin forbids releases with snapshot dependencies (unless you override it, but that's just not a great idea) |
|
Okay, fair. Let's see what they say. Nothing wrong with asking. |
kingthorin
left a comment
There was a problem hiding this comment.
Assuming a release happens and this PR goes forward then I think src/main/java/module-info.java will also need updating.
|
it is already a a part of the PR or do you mean something else? |
|
All good, I totally overlooked it 🤦♂️ |
|
2.0.0 has been released! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1092 +/- ##
============================================
- Coverage 92.35% 92.33% -0.02%
Complexity 2821 2821
============================================
Files 292 292
Lines 5609 5610 +1
Branches 599 598 -1
============================================
Hits 5180 5180
Misses 275 275
- Partials 154 155 +1 ☔ View full report in Codecov by Sentry. |
|
thanks for letting know, updated to use released version |
|
Merging since now there is no SNAPSHOT version in deps |
fixes #1091