-
Notifications
You must be signed in to change notification settings - Fork 30
Update documentation for 2.0 #142
Comments
Oh no! Looks like the 2.0 versions were updated with a pre-release version of some dependencies. That was not intended. Those changes are primarily heading toward the 3.0 branch, which is a pre-release. Feel free to ignore those warnings for now and apologies for the inconvenience. On the other hand, you get a preview of where we are going. :) |
I'll see if I can publish a new 2.0.202 that backs up the dependencies. |
Bizarre. The 2.0.201 tag is pointing at a different commit than the one I thought I tagged. I appear to have made a significant mistake. |
Okay, this appears to be resolved. @SimonGustavsson, please update your Freya to 2.0.202 and let us know. I untagged 2.0.201 and removed it from the NuGet listings. 2.0.202 should show up and 2.0.201 should be hidden soon. Thank you very much for reporting this error! |
Ah, how unfortunate that I updated my project to not use the "obsolete" stuff before you got back to me :-) |
Well, if you don't upgrade, 3.0 will catch up with you :) Happy to hear A. On 14 December 2015 at 14:18, Simon Gustavsson [email protected]
|
Hi again :) |
I have a sneaking suspicion that I do, yes. I think we need a new release I'm not sure how you pushed the previous 2.x point release. There might be a quick workaround possible if you're using Paket for Aether ~> 7 to your paket.dependencies. That should, I think, restrict the global Sorry, we need to nail the dependencies down properly on Freya. They're On 14 December 2015 at 21:18, Simon Gustavsson [email protected]
|
@SimonGustavsson did you happen to delete your packages folder before updating to 2.0.202? |
oic, yes, @kolektiv is correct. Let me make another change and push. |
@SimonGustavsson I think this is now fixed with 2.0.203. Please re-open if you continue to experience problems. |
The paket.dependencies file https://github.com/freya-fs/freya/blob/master/paket.dependencies looks slightly odd at the moment, duplicated/clashing versions? Not sure what's happened there? Maybe a cross version merge... I think maybe we should split off a 2.x branch and make specific builds from that if possible - it might be easier :) |
(Oh, should note that the actual dependencies in the released packages are correct though, so it's only a minor point at the moment! :) |
I just upgraded to 2.0 and much to my surprise my error window was absolutely filled with Obsolete warnings. Mostly about Freya.get/set-Lens/LensPartial, accessing uppercase members of Request/Response and a fair few FreyaMachine.toPipeline.
As far as I can tell, the docs have no mention of the new
Freya.Optic
way of doing things.For bonus points:
On the topic of Optic, are you expected to write code such as
do! Freya.Optic.set Response.statuscode_ (Some 404)
? Only asking because my code just got longer and I'm not sure why. :-)The text was updated successfully, but these errors were encountered: