Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Planning for 0.19 and 5.0.0 #191

Closed
6 of 11 tasks
mgold opened this issue Jul 9, 2017 · 12 comments
Closed
6 of 11 tasks

Planning for 0.19 and 5.0.0 #191

mgold opened this issue Jul 9, 2017 · 12 comments

Comments

@mgold
Copy link
Member

mgold commented Jul 9, 2017

Although it's fair to question whether we should group API and language changes together. I'd be open to updating to 0.19 on the 4.x line, and following up with breaking API when we are good and ready. That will also help isolate bugs in the test runners.

Changes that need/should to be done for 0.19:

  • Update the node runner to use elm.json and test-dependencies (@rtfeldman )
  • Update the HTML runner to use elm.json and test-dependencies (@hkgumbs ?)
  • Use pure Elm for laziness (lazy package going away in 0.19) Use pure elm for laziness #184 (@eeue56)
  • Use core Random instead of 3rd party lib (@mgold)
    • elm-lang/core#887
  • Update dependencies
  • Convert elm-package.json to elm.json
  • Update docs re: elm.json

Changes considered for 5.0.0:

Punting:

All of this is subject to community discussion and approval.

@rtfeldman
Copy link
Member

rtfeldman commented Jul 9, 2017 via email

@mgold
Copy link
Member Author

mgold commented Jul 9, 2017

So in 4.0.0

We've already released 4.0.0.

Oh right, changing Random will be a breaking change. Technically, but not actually. Silly elm-package.

I want to avoid two major version bumps in the near future. I will work to make core/Random compatible with our needs. Then we'll swap over elm-test.

@rtfeldman
Copy link
Member

rtfeldman commented Jul 9, 2017 via email

@jwoudenberg
Copy link
Collaborator

@rtfeldman I definitely see the advantage for users of moving features to Test.Deprecated. The disadvantage I see is that while we have andThen in that module our fuzzers will not be statically analysable which would preclude some optimisations we might start thinking about.

@rtfeldman
Copy link
Member

rtfeldman commented Jul 9, 2017 via email

@rtfeldman
Copy link
Member

rtfeldman commented Jul 9, 2017 via email

@mgold
Copy link
Member Author

mgold commented Jul 10, 2017

I'm okay with going to 5 for 0.19 and then 6 with more serious breaking
changes like taking out andThen and conditional.

Are there any breaking changes absolutely required for 0.19 compatibility? I'm not sure there are any.

@rtfeldman
Copy link
Member

Not if you publish an 0.19-compatible mgold/elm-random-pcg release.

Otherwise Fuzz.custom currently takes a Random.PcgGenerator, and it'll take a Random.Generator instead if we switch to using core.

@mgold
Copy link
Member Author

mgold commented Jul 10, 2017

Not if you publish an 0.19-compatible mgold/elm-random-pcg release.

I can do that. Give people (like us!) time to transition, and complain about anything that's different in core.

Let's do everything in 5.0.0 and save 6.0.0 for the distant future. (Distant in a software development sense.)

@rtfeldman
Copy link
Member

Okay, that works for me.

That said, I think we're agreed that there will be a future release which removes andThen, so @jwoudenberg I think it's safe to continue (on a branch) under the assumption that this will happen post-0.19, yeah?

@Maxim-Filimonov
Copy link

Hi, found this after a quick try to use with 0.19. Are there plans to update this library to 0.19 ?

@mgold
Copy link
Member Author

mgold commented Sep 5, 2018

It's at elm-explorations/test. You'll also want nom I -g elm-test@beta.

I also think it's time to close this issue.

@mgold mgold closed this as completed Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants