Repository navigation
Razor engine update. - #240
Conversation
|
Looks like a bug in the new paket install process. Will try to investigate But paket update and paket restore seems to work. |
hiw can I reproduce this? |
|
That could have been done in an older paket version (one where install still has worked)... |
|
What is the intended behavior when a project does not have |
|
I'm also not sure why the build breaks I'll look into that later (locally everything worked). Maybe I should try again with a clean master state or with a fixed paket ... |
|
I fixed Regarding missing |
|
Thanks for the quick fix! I will try again later and report the results. So I can now remove the == condition from the |
|
No that's still required. Paket doesn't allow multiple versions of the same NuGet package as dependency. |
Just remove the dependencies from |
|
yes. That's intended behaviour (but maybe not in this case here). 2015-01-01 17:14 GMT+01:00 matthid [email protected]:
|
|
Anyone has an idea why the build is now working? It seems like |
|
Is it OK for now to have a beta package in the dependencies? I uploaded the package myself and I do consider it pretty stable, it's basically only beta for possible backwards compatibility issues. After merging this pull request we should be able to close fsprojects/ProjectScaffold#119 by adding the optional |
|
AFAIK, if we have a NuGet dependency on beta version of a package, it means that we won't be able to release F# Formatting as non-beta. That's a bit sad, because our beta would probably be better than our latest non-beta - but I guess we can live with that until RazorEngine reaches non-beta version... Though, I guess I should still release the current build as non-beta (with the cref fix). |
|
Ah I see, so maybe just leave this pull request open until the stable is released (so you can keep doing stable releases on FSharp.Formatting)? |
This reverts commit 1289f61 and updates RazorEngine to version 3.5.0-beta3. The problem with the previous commit was that upstream projects broke (because of a different dependency). This time we use the official update of the RazorEngine project. Conflicts: RELEASE_NOTES.md build.fsx src/Common/AssemblyInfo.fs src/Common/Razor.fs src/FSharp.Literate/Formatting.fs
039d67e to
c4c9423
Compare
…ts, but Razor2 (forced in dependencies) and the net45 build of RazorEngine (because targetframework was 4.5) are not compatible.
|
RazorEngine 3.5.0 is now released. The update commit is already pushed. Can somebody test this on other downstream projects before merging? Are there any downstream projects which use customized cshtml templates (besides me?). |
|
Yay! I'll check with Deedle - although that does not use customized template (it used to, before I realized that it was a better default and copied it into F# Formatting :-)) |
|
Can we merge this? This is a breaking change on some functions as I added parameters to make it run on mono, but the update to 3.5.0 on its own should not be breaking. So I could split those two changes if needed for some reason. |
Just revert this commit and update the version for FSharp.Formatting in `packages.config`
|
I think the PR is looking good - thanks for all the work on this! Could you please document the additional parameters in the documentation? If I'm correct, one change is in the If you need more time for this, let me know and I'll merge & release this as it is (we can add docs later). |
|
Like this? |
|
Thanks, this is fantastic! :-) I'm just releasing this as a new version (2.6.2) and will test it with Deedle later today. |
|
Nice Thanks! So you don't think the change is breaking anyone? |
|
Given that we are now embedding RazorEngine into our NuGet package, I don't think this should be a breaking change (updating to embedded NuGet from non-embedded NuGet would be). In principle, we could break something, but I don't think anyone would call our embedded RazorEngine directly... ... but I certainly want to try this in Deedle docs and see what happens. |
|
What I meant was the API change (additional parameter), its too late anyway now that the nuget package is out. What I was trying to say is that 2.7.0 should have been the next version. I hope everything works with Deedle! I like that we now bundle RazorEngine. I think bundling everything is a good idea for FSharp.Formatting as this enables us to change dependencies without breaking anything... |
|
Yes, you're right - technically speaking, this is a breaking change. Although AFAIK most people reference this through a script ( |
|
(But I think I'm pretty bad at version numbers - but proper SemVer does not seem al that useful & clear for quickly evolving F# projects.. I'd welcome some F#-friendly guidelines from someone who knows this stuff :-)) |
This reverts commit 1289f61 and updates RazorEngine to version 3.5.0-beta2 (paket doesnt like beta1).
The problem with the previous commit was that upstream projects broke (because of a different dependency).
This time we use the official update of the RazorEngine project.
@forki: I again have a problem with paket. With this change
paket installwill not work:paket updateworked fine and everything seems to be ok within the project files. Any hint would be very welcome, can we ignore this?Another thing I noticed: paket seems to add dependencies to the FsLib project files while they do not have any paket.references and they dont need them.
Happy New Year to all who read this :)