babashka / sci

Configurable Clojure/Script interpreter suitable for scripting and Clojure DSLs
Eclipse Public License 1.0
1.22k stars 89 forks source link

Aliases breaking change not listed #885

Closed schadocalex closed 1 year ago

schadocalex commented 1 year ago

Hi,

Upgrading from 0.2.7 to 0.7.39, I have a breaking change not listed in the changelog: str and set aliases are no longer available.

I think it's from this commit https://github.com/babashka/sci/commit/63f40ce90a649deed699178cff6758ff251f4e73#diff-faebb48a23c0728ab5401da8d8a73473dfb546b9c04cf37f0913fc731f7a725e

borkdude commented 1 year ago

It was an accident that these were default aliases and should never have been included in the first place. You can "repair" this with {:aliases {'str 'clojure.string}} etc.