structurizr / lite

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

Bump up Java version from 17 to 21 #96

Closed bioform closed 11 months ago

bioform commented 1 year 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 1 year ago

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

bioform commented 1 year 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 1 year 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: