Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with ClojureScript 1.10.844 #10

Closed
ak-coram opened this issue Apr 9, 2021 · 6 comments · Fixed by #11
Closed

Issues with ClojureScript 1.10.844 #10

ak-coram opened this issue Apr 9, 2021 · 6 comments · Fixed by #11

Comments

@ak-coram
Copy link
Contributor

ak-coram commented Apr 9, 2021

The new ClojureScript release includes the Closure Library version 0.0-20201211-3e6c510d, which contains some breaking changes regarding the logging modules:

https://clojurescript.org/news/2021-04-06-release

These changes seem to make glögi inoperable:

WARNING: Wrong number of args (1) passed to goog.log/getLogger at line 34 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/SHOUT at line 42 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/FINEST at line 49 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/CONFIG at line 46 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/WARNING at line 55 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/FINER at line 53 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/FINE at line 54 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/ALL at line 50 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/WARNING at line 44 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/SEVERE at line 43 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/OFF at line 41 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/INFO at line 45 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/FINE at line 47 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/SEVERE at line 56 target/cljs/lambdaisland/glogi.cljs
WARNING: Use of undeclared Var goog.debug.Logger.Level/FINER at line 48 target/cljs/lambdaisland/glogi.cljs
@ak-coram
Copy link
Contributor Author

Sorry, my mistake: I see there's already a new release which fixes the compatibility issues. I still get these warnings though.

@plexus
Copy link
Member

plexus commented Apr 14, 2021

Thanks for the report, we might have missed something. I'll have a look.

@plexus
Copy link
Member

plexus commented Apr 14, 2021

Hey @ak-coram any chance you could try out #11 ? I'm holding off on merging because I want to figure out the CI setup this time, but it should work fine now on both current and older ClojureScripts.

@ak-coram
Copy link
Contributor Author

@plexus: most of the warnings are gone with #11, this is the only one remaining:

WARNING: Wrong number of args (1) passed to goog.log/getLogger at line 64 /home/ak/.gitlibs/libs/lambdaisland/glogi/f4434c47684a8c5006008aea51790fe44d5d49ba/src/lambdaisland/glogi.cljs

I'm guessing using apply would get rid of the arity check (and the warning) if that's what you're after.

@plexus
Copy link
Member

plexus commented Apr 15, 2021

Strangely I'm not able to reproduce that warning, but I pushed a fix for it nonetheless, please try out:

[lambdaisland/glogi "1.0.100"]
{lambdaisland/glogi {:mvn/version "1.0.100"}}

@ak-coram
Copy link
Contributor Author

@plexus: thank you, there are no more warnings with this version.

quesebifurcan added a commit to quesebifurcan/chui that referenced this issue Apr 16, 2021
Clojurescript 1.10.844 includes Google Closure 0.0-20201211-3e6c510d,
which contains breaking changes in logging modules. Bump glogi so that
chui works with Clojurescript 1.10.844.

See: lambdaisland/glogi#10
quesebifurcan added a commit to quesebifurcan/chui that referenced this issue Apr 16, 2021
Clojurescript 1.10.844 includes Google Closure 0.0-20201211-3e6c510d,
which contains breaking changes in logging modules. Bump glogi so that
chui works with Clojurescript 1.10.844.

See: lambdaisland/glogi#10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants