1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
# Change Log
All notable changes to rantly will be documented in this file. The curated log begins at changes to version 0.4.0.
This project adheres to [Semantic Versioning](http://semver.org/).
## [Master](https://github.com/rantly-rb/rantly/compare/2.0.0...master) (unreleased)
### New features
### Bug fixes
### Changes
## [2.0.0](https://github.com/rantly-rb/rantly/compare/1.2.0...2.0.0) - 2019-01-08
### New features
- Add support for float ranges to `range` generator
- [Issue #60](https://github.com/rantly-rb/rantly/issues/60)
- thanks [Trevor Brown][Trevor Brown]
### Bug fixes
- `range` generator returns `nil` for invalid ranges
- [Issue #60](https://github.com/rantly-rb/rantly/issues/60)
- thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
- `choose` generator returns `nil` when no values are given
- thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
### Changes
- Only support for Ruby >= 2.4 and JRuby >= 9.2
- [Issue #42](https://github.com/rantly-rb/rantly/issues/42) and [issue #37](https://github.com/rantly-rb/rantly/issues/37)
- Do not render all shrinking levels, only the failing case and the minimal failed data.
- thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
- Improve failure/success messages
- thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
## [1.2.0](https://github.com/abargnesi/rantly/compare/1.1.0...1.2.0) - 2018-08-29
### New features
- Allow to generate floats using Gaussian distribution
- [Issue #29](https://github.com/rantly-rb/rantly/issues/29)
- thanks [Ana María Martínez Gómez][Ana María Martínez Gómez] and [Víctor Gallego][Víctor Gallego]
### Bug fixes
- `NoMethodError` - undefined method `retry?` - when a test using `dict` fails
- [Issue #39](https://github.com/rantly-rb/rantly/issues/39)
- thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
### Changes
- Correct typo in _Too many tries_ message
- thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
## [1.1.0][1.1.0] - 2017-04-18
### Improved
- Include failed example and number of example run in failure message.
- [Issue #21][21]
- thanks [Ana María Martínez Gómez][Ana María Martínez Gómez]
- Improve run-time for generation of strings.
- [Issue #19][19]
## [1.0.0][1.0.0] - 2016-07-06
### Added
- Trying harder to shrink collections instead of giving up on first success of property.
- thanks [Eric Bischoff][Eric Bischoff]
- Added convenience classes Deflating and Tuple for more control on shrinking.
- thanks [Eric Bischoff][Eric Bischoff]
- Added usage examples for Deflating and Tuple shrinking strategies.
- thanks [Oleksii Fedorov][Oleksii Fedorov]
- `Property#check` will now use the `RANTLY_COUNT` environment variable to control the number of values generated.
- thanks [Jamie English][Jamie English]
### Major changes
- Array shrink was removed in favor of Tuple and Deflating.
## [0.3.2][0.3.2] - 2015-09-16
### Added
- Ability to shrink an object (`Integer`, `String`, `Array`, `Hash`). This is useful in finding the minimum value that fails a property check condition.
### Changed
- Improved RSpec and Minitest test extensions.
- Improved readability and execution of test suite.
- [Issue #4][4]
- Updates to documentation.
[1.0.0]: https://github.com/abargnesi/rantly/compare/0.3.2...1.0.0
[0.3.2]: https://github.com/abargnesi/rantly/compare/0.3.1...0.3.2
[4]: https://github.com/abargnesi/rantly/issues/4
[19]: https://github.com/abargnesi/rantly/issues/19
[21]: https://github.com/abargnesi/rantly/issues/21
[Eric Bischoff]: https://github.com/Bischoff
[Jamie English]: https://github.com/english
[Oleksii Fedorov]: https://github.com/waterlink
[Ana María Martínez Gómez]: https://github.com/Ana06
[Víctor Gallego]: https://github.com/vicgalle
[Trevor Brown]: https://github.com/Stratus3D
|