FWDekker / intellij-randomness

IntelliJ plugin for inserting random numbers, UUIDs, names, IP addresses, and much more
https://plugins.jetbrains.com/plugin/9836-randomness
MIT License
45 stars 7 forks source link

New UUIDs #514

Closed FWDekker closed 8 months ago

FWDekker commented 8 months ago

Adds support for UUID version 6, 7, and 8. Technically, those are currently only in the draft phase, but my understanding is that their specifications are unlikely to change.

Fixes #513.

Additionally, I renamed the type field of the UuidScheme to version, because that's more accurate; user configs are migrated automatically using the API introduced in #464. Since this is the first time I actually used that API, I also fixed some usability and clarity issues and added more utility methods.

(I also snuck in a little bug fix.)

codecov[bot] commented 8 months ago

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (aa0a143) 85.09% compared to head (0fbe43c) 85.50%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/FWDekker/intellij-randomness/pull/514/graphs/tree.svg?width=650&height=150&src=pr&token=HXVFGMwtwv&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florine+W.+Dekker)](https://app.codecov.io/gh/FWDekker/intellij-randomness/pull/514?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florine+W.+Dekker) ```diff @@ Coverage Diff @@ ## main #514 +/- ## ========================================== + Coverage 85.09% 85.50% +0.41% ========================================== Files 51 51 Lines 1992 2035 +43 Branches 335 343 +8 ========================================== + Hits 1695 1740 +45 + Misses 234 224 -10 - Partials 63 71 +8 ```