gampleman / elm-visualization

A data visualization library for Elm
http://package.elm-lang.org/packages/gampleman/elm-visualization/latest/
MIT License
514 stars 48 forks source link

Update elm-explorations/test requirement from 1.1.0 <= v < 2.0.0 to 1.1.0 <= v < 3.0.0 #137

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Updates the requirements on elm-explorations/test to permit the latest version.

Changelog

Sourced from elm-explorations/test's changelog.

Changes in 2.0.0

The changes can be grouped into these categories:

  1. Fuzzing and shrinking reimplementation (re-adding Fuzz.andThen etc.)
  2. Test.Distribution: fuzzer distribution reporting
  3. Test.Html.Event additions
  4. Expect.true and Expect.false removal
  5. Test.Runner.Failure.format removal
  6. Fuzzer behaviour changes

1. Fuzzing and shrinking reimplementation

Fuzzing and shrinking has been reimplemented: the rose tree approach has been replaced with the "internal shrinking" approach found in the Python test library Hypothesis.

In short, shrinking is now done on the PRNG history instead of on the generated values themselves. This is hidden from the user: the Shrink module has now been removed.

This new approach allows us to reintroduce Fuzz.andThen and remove Fuzz.custom: in case you were forced to use Fuzz.custom and a Random generator, you'll now be able to express this logic with Fuzz alone.

We've also taken the opportunity to expand the Fuzz module API with functions that you'd normally reach into *-extra packages for: sequence, traverse, listOfLength, intAtLeast etc., and some quality of life helpers like examples and labelExamples:

> import Fuzz
> Fuzz.examples 5 (Fuzz.intRange 1 10)
[6,7,7,5,4] : List Int

Float fuzzers will now generate NaN and infinities by default (use Fuzz.niceFloat instead if you don't want these values) and shrink towards simple human-readable fractions like 0.5 instead of small floats like 1.1102230246251567e-15.

Full list of changes:

  • Generic helpers
    • :heavy_plus_sign: andThen : (a -> Fuzzer b) -> Fuzzer a -> Fuzzer b
    • :heavy_plus_sign: filter : (a -> Bool) -> Fuzzer a -> Fuzzer a
    • :heavy_plus_sign: lazy : (() -> Fuzzer a) -> Fuzzer a
    • :heavy_plus_sign: map6
    • :heavy_plus_sign: map7
    • :heavy_plus_sign: map8

... (truncated)

Commits
  • d84a561 Merge pull request #201 from elm-explorations/bump-to-2-0-0
  • f15dee6 Add notes about Unicode strings
  • be3c385 Update changelog wrt. coverage->distribution renaming
  • e553c46 1.2.2
  • 375fedc Merge pull request #202 from elm-explorations/rename-coverage-to-distribution
  • dfff491 Rename coverage to distribution
  • 976de13 Add correct IDs
  • 3085e63 Bump elm.json
  • 9168756 Add the changelog
  • 06e2e74 Merge pull request #198 from elm-explorations/vendor-queue
  • Additional commits viewable in compare view


You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.