structurizr / lite

Structurizr Lite
https://docs.structurizr.com/lite
MIT License
226 stars 26 forks source link

Bump up Java version from 17 to 21 #96

Closed bioform closed 8 months ago

bioform commented 9 months ago

Description

It would be good to use the Pattern Matching feature of Java 21 in custom DSL plugins.

Priority

Low

Resolution

I'm willing to add this feature myself and raise a PR

More information

No response

simonbrowndotje commented 9 months ago

I'm guessing that you're referring to the pre-built Docker image?

bioform commented 9 months ago

yep it's about the pre-built Docker image :slightly_smiling_face:

But I suppose it is safe to update the build.gradle file in this project as well.

bioform commented 8 months ago

And it would be good to have the ability to use Virtual Threads as well. My plugin needs to deal with third-party services and its requests can be easily parallelized(to increase performance). It is clear, that it is possible to use ThreadPoolExecutor for the same purpose, but virtual threads simplify code a bit, so... why not? :slightly_smiling_face: