-
Notifications
You must be signed in to change notification settings - Fork 152
Release 0.12 #675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just pointing out that this is a very popular package and releasing breaking versions will take some time to trickle down downstream. https://gist.github.com/KristofferC/7c8048e2ee9aaa465966caeb98c1446a shows how many packages upper bounds a certain package to not the latest version and in another file what packages does that. StaticArrays is the package most upper bounded of all packages (with the recenet release of 0.12). |
Thanks @KristofferC for pointing that out. I noticed this myself to some extent when the resolver decided my local environment was inconsistent with a dev'd 0.12 is not very breaking, but I think there's maybe 4 or so packages which could have been affected by some deprecations so I guess everyone else is going to have to deal with bumping the upper bound :-/ Unfortunately we will need at least one more release to get to a 1.x release series (even if there's nothing breaking which is outstanding, oddly enough). I guess I should make the most of it and look carefully for some other deprecations which might be desired. |
Personally I don't think a few deprecations should warrant considering the release not backwards compatible. Deprecation warnings can quite easily be fixed especially if it is just a few packages. It seems less bad than getting upper bounds from dozen of packages. |
Well it's just not very clear cut. For many people
It's still pretty hard to get an idea of which packages those might be without some tooling for large scale testing and some infrastructure to run it on. My impression was based on some regex searching of code on pkg.julialang.org which is great as far as it goes, but only a very rough guide for these particular changes. |
I do think suddenly receiving a bunch of deprecation warnings is worthy of a breaking-change tag. There's a growing number of Julia users who don't know how you'd go about fixing deprecations, despite the fact that a seasoned programmer would say that the depwarn tells you what to do. If you don't know how to Even if you do know all of these things, it would be bad if, say, I've put together a nice talk to give at a major symposium and then make the mistake of doing a package update right before giving my talk without running through the entire presentation. |
Well, a) don't do that, b) backup your project. Anyway, releasing backwards incompatible releases for popular packages will always be a pain for the ecosystem so ideally as many breaking changes as possible is bundled up into one release. |
My two cents: since this package is performance-minded, any deprecation warning should be a breaking change. In fact, I have tests in one of my packages that assert that certain operations don't allocate. Those break with deprecation warnings. |
There's a lot of cleanups done in the last few months thanks to many people and we need a new release. It contains a few deprecations but there's still a couple of things unresolved at #532 so this will be 0.12.0.
TODO for 0.12.0:
SA
feature vs the existing macro constructors and gather user feedback (maybe document it as experimental, and advertise on discourse).Here's some useful release notes which were generated for 0.11.1 by tagbot but which largely don't actually apply to the 0.11.1 release:
v0.11.1 (2019-10-16)
Diff since v0.11.0
Closed issues:
dot
could be faster forSArray
s (dot
could be faster forSArray
s #629)diagonal \ static\_row
(Error withdiagonal \ static_row
#504)SMatrix
are not declared in a structure (Type instability when all the parameters ofSMatrix
are not declared in a structure #475)Point
type? (Introduce aPoint
type? #469)Union
eltype for length-0 array conversion (GettingUnion
eltype for length-0 array conversion #396)convert\(SVector,::Vector\)
orSVector\(::Vector\)
(Give a meaningful error message forconvert(SVector,::Vector)
orSVector(::Vector)
#259)UpperTriangular
fromchol
(ReturnUpperTriangular
fromchol
#194)StaticVector
from Julia 0.5 to 0.6 (Change in subtyping forStaticVector
from Julia 0.5 to 0.6 #152)inv
,det
, etc. with SMatrix{2,2,T<:Unsigned} (inv
,det
, etc. with SMatrix{2,2,T<:Unsigned} #29)The text was updated successfully, but these errors were encountered: