Releases: nuskey8/NRandom
Releases · nuskey8/NRandom
v2.0.1
v2.0.0
v1.0.4
What's Changed
Features
- Add: ToWeightedList by @annulusgames in #9
Bug fixes
- Fix: RemoveRandom returns default(T) when the last element is selected by @annulusgames in #7
- Fix: WeightedCollectionExtensions by @annulusgames in #8
- Fix: NextFloat/Double could return a value equal to max due to floating point error by @annulusgames in #10
- Fix: WeightedList.GetItem by @annulusgames in #11
Improvements
- Add: WeightedListTests by @annulusgames in #12
Full Changelog: v1.0.3...v1.0.4
v1.0.3
What's Changed
- Change: the return value of RemoveRandom to void by @annulusgames in #5
- Optimize: RandomEx.Create by @annulusgames in #6
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
- Fix: RemoveRandom not working properly by @annulusgames in #4
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- Fix: the definition of IWeightedCollection by @annulusgames in #1
- Add: WeightedList.RemoveRandom() by @annulusgames in #2
- Add: WeightedList.RemoveRandom() overload by @annulusgames in #3
New Contributors
- @annulusgames made their first contribution in #1
Full Changelog: v1.0.0...v1.0.1