rewrite-clj 2021-05-07

Awesome to hear @mauricio.szabo, thanks for sharing the good news!

Ya @mauricio.szabo, I can probably do something about this. It is related to how I export fns to the public API. I personally find clj-kondo’s deprecation warnings more fine grained and useful than the cljs compiler’s and have been turning them off for the cljs compiler via :fn-deprecated false under :compiler-options.

But not everyone uses clj-kondo, I’ll raise an issue to change the way I export deprecated fns to the public API.

In the meantime, if it works for you, you can disable deprecations warnings from the cljs compiler. https://github.com/clj-commons/rewrite-clj/blob/886716ec4208958667b78fda74012d25e055bca4/script/test_shadow_cljs.clj#L15-L17.

And @mauricio.szabo? Thanks for bringing this up! Much appreciated.

No problem! I was already disabling the warnings on the compiler, too :)

Also, rewrite-clj is working beautifully on replacing the CLJS version I was using too!

Even things that I was fearing it would work differently, like zipper with line+col elements are working :)