announcements

Project/library announcements ONLY - use threaded replies for discussions. Do not cross post here from other channels. Consider #events or #news-and-articles for other announcements.
steveb8n 2021-05-21T09:18:21.021300Z

only the :typename field. the only other standard field is :id

steveb8n 2021-05-21T09:20:02.021500Z

you can see it here https://countries.trevorblades.com/

steveb8n 2021-05-21T09:20:21.021700Z

paste this query in the left panel and run it….

steveb8n 2021-05-21T09:20:22.021900Z

query { countries { typename code, name, currency } }

steveb8n 2021-05-21T09:22:01.022100Z

although that api does not provide an :id so maybe not a perfect example

steveb8n 2021-05-21T09:55:47.022300Z

I'm away from my desk at the moment but I saw your comment. Thanks

steveb8n 2021-05-21T09:57:36.022500Z

1 question. Could a runtime arg be passed using the :in clause? That way it would match the behaviour of the other implementations

Jakub HolΓ½ 2021-05-21T14:39:34.026100Z

Tired of being forced to use the browser every time you need to refresh an OIDC token to authenticate with a backend service? Finally there is a CLI tool for that - the #babashka and Docker powered oidc_client.clj https://gist.github.com/holyjak/ad4e1e9b863f8ed57ef0cb6ac6b30494 Upon first invocation it opens up a browser for the OIDC provider login, thereafter it caches the refresh token and uses it as long as it remains valid.

9πŸ‘
Jakub HolΓ½ 2021-05-23T17:34:06.052700Z

Thx, @ivar.refsdal, mkcert looks great!

2❀️
Jakub HolΓ½ 2021-05-21T14:40:16.026200Z

@borkdude feel free to copy this if you want to add it to the bb examples/

plexus 2021-05-21T15:38:13.029Z

First release of com.lambdaisland/dom-types https://github.com/lambdaisland/dom-types This is a ClojureScript library which adds print handlers for a bunch of built-in browser types, which generally makes working with them in the REPL much more pleasant. e.g. instead of #object[object HTMLElement] you'll get #js/Element [:p "hello world]. This also extends Datafiable to these types (great with Portal).

3😍2🀘223πŸŽ‰
borkdude 2021-05-21T15:43:12.029400Z

Looking good! I think we can add it to https://github.com/babashka/babashka/blob/master/doc/projects.md PR welcome

2πŸ‘
alexmiller 2021-05-21T16:31:55.032100Z

https://clojure.org/releases/tools#v1.10.3.849 is now available β€’ Adds support for a https://clojure.org/reference/deps_and_cli#_trailing_map_argument in -X calls (similar to Clojure 1.11 trailing map to vararg calls) β€’ Updates all Maven deps to latest (maven-resolver 1.7.0, maven core 1.8.3) to address these https://maven.apache.org/docs/3.8.1/release-notes.html β—¦ CVE-2020-13956 - bumps deps on Apache HttpClient used by Maven β—¦ CVE-2021-26291 - potential security problems regarding Maven repositories: β–ͺ︎ Due to the possibility of MITM (man in the middle) attacks, http repo access is now blocked by default. tools.deps/Clojure CLI has always used https repos in the default repository list (central and clojars), so this mostly impacts any explicit http repositories defined in deps.edn β–ͺ︎ Concerns over the "hijacking" of repository urls by transitive pom deps (or their super poms) to download artifacts from malicious repos. Maven made no changes here, but did clarify how repos are resolved on https://maven.apache.org/guides/mini/guide-multiple-repositories.html#repository-order. From a deps perspective, we only use repositories declared in the top-level deps.edn (if transitive deps need a custom repo, you will need to add it at top-level too). For tools.deps use of pom dependencies, we are providing the repos of the top deps.edn file (which should always put Maven Central and Clojars first), then deferring to Maven for the rest.

17πŸŽ‰
match37 2021-05-24T16:45:07.062600Z

The link for "trailing map of kvs" is broken

alexmiller 2021-05-24T17:19:07.062800Z

fixed

1πŸ‘
Ivar Refsdal 2021-05-21T18:31:13.034600Z

Looks good! Have you considered using - or recommending - mkcert for trusting self signed certs? It has worked effortlessly for me. https://github.com/FiloSottile/mkcert/

2πŸ‘€
alexmiller 2021-05-21T19:34:34.036300Z

https://github.com/cognitect-labs/test-runner v0.3.0 is available β€’ Fixes #17 - use default ns regex only if no specific namespaces or regexes are supplied

8πŸ™
seancorfield 2021-05-24T17:57:00.063Z

@alexmiller I just ran into the newly-introduced bug in the api -X runner β€” and saw someone already opened an issue for that.

alexmiller 2021-05-24T18:06:09.063300Z

wat

alexmiller 2021-05-24T18:10:25.063500Z

ok, fixed

alexmiller 2021-05-24T18:10:39.063700Z

I must have changed the docstring after I ran the tests? don't remember

seancorfield 2021-05-24T18:19:31.063900Z

I commented on the commit that introduced the bug, if that helps πŸ™‚

2021-05-21T20:14:32.036800Z

I have just fixed it

1πŸ™