Polynomials.jl icon indicating copy to clipboard operation
Polynomials.jl copied to clipboard

add deprecation warning for using `Poly`

Open thautwarm opened this issue 5 years ago • 2 comments

I got ERROR: LoadError: UndefVarError: Poly not defined in my old code. If possible I hope I can get some notifications(at least warnings) instead of a sudden API change.

thautwarm avatar Aug 10 '20 02:08 thautwarm

and also for polyint

thautwarm avatar Aug 10 '20 02:08 thautwarm

Thanks for writing. There was a very short (too short?) deprecation phase before v1.0. Now there is support for legacy code by calling using Polynomials.PolyCompat after loading Polynomials. It is documented, but a bit hard to find.

jverzani avatar Aug 10 '20 11:08 jverzani