Clojurians
#cljs-dev
<
2019-02-10
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

thheller09:02:21

I think we only move onto 1.11.x once CLJ adds new features/alphas that weren't in 1.10 and we port them

thheller09:02:09

CLJS only things that aren't in CLJ don't warrant a bump IMHO

mfikes13:02:39

Yeah, that makes sense

borkdude13:02:47

It just occurred to me that libs can maintain compatibility with spec1 and spec2 by doing this: (:require [clojure.spec.alpha :as s1] [clojure.spec-alpha2 :as s2]) and then define specs for each version of spec: (s1/def :foo number?) (s2/def :foo number?) So it would be cool if CLJS could keep the current spec namespaces and only add new ones (possible in a different repo?) for spec-alpha2.

borkdude13:02:16

It’s still too early to begin porting spec-alpha2, but something to consider when it’s time.

borkdude13:02:19

If CLJS spec-alpha2 is moved to a different lib, consumer of older CLJS versions can still work with newer libs that choose to support both versions