Fork me on GitHub
#shadow-cljs
<
2023-07-28
>
mhuebert00:07:35

hmm, it seems requiring npm module jsxgraph 1.5.0 fails in shadow 2.25. but only if I delete .shadow-cljs in between (if it was previously compiled with 2.24.1 it will continue working even after rebuilding using 2.25. if the old .shadow-cljs is still there)

thheller05:07:50

that is odd? the caches are invalidated on version change. how does it fail?

thheller05:07:56

ah, easy enough to reproduce. will look into it

thheller07:07:56

should be fixed in 2.5.2, at least everything loads fine. didn't know how to test it further.

mhuebert13:07:11

Excellent, thank you! 🙏

hifumi12300:07:38

this makes me think of a question i havent considered before: does shadow guarantee forwards compatible build cache?

thheller05:07:16

no, caches are invalidated if you change versions. no point in keeping them.

👍 2
hifumi12305:07:53

that's good to hear

adham09:07:56

Hey all! I'm reading the user guide and up to chapters 6 and 7 there hasn't been a single build defined which makes all tho code examples before that use app as a build ID only example code that I am not able to run, beyond getting familiar with the syntax, is this correct or did I miss something?

thheller10:07:34

if you just want to get started it might be easier to follow https://github.com/thheller/shadow-cljs#quick-start

thheller10:07:57

user guide is more of a reference to look stuff up, not a tutorial

thheller10:07:28

defines the :app build as well

adham10:07:09

I see, I was using it to learn shadow-cljs, and yes you are correct chapter 5 has a definition, guess I'll go back to the quick start guide then return to the remaining chapters Thank you