2020-05-14 08:33:02 +00:00
|
|
|
[
|
2023-10-11 21:53:34 +00:00
|
|
|
{
|
|
|
|
"path": "args4j/args4j/2.33/args4j-2.33",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "bd87a75374a6d6523de82fef51fc3cfe9baf9fc9",
|
|
|
|
"sha256": "1mlyqrqyhijwkjx4sv2zfn2ciqfwpc08qq8w55rcxb941fxfmpci"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "babashka/fs/0.2.16/fs-0.2.16",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "4e7ad43c9d5ab8907ef0064105e788e0e84f282a",
|
|
|
|
"sha256": "1zhz4hnrzpnrz3d222py42xlhybwsk94bipmnm7ypb9vlf0p4m8y"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-07-30 09:39:55 +00:00
|
|
|
{
|
|
|
|
"path": "bidi/bidi/2.1.6/bidi-2.1.6",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "e17fa1c05ff99e99543c6d5328e293e933e15e06",
|
|
|
|
"sha256": "1gld043c5qz7v9bp5s61vf1s5f8f1pbda9nzwqhy893dpm8xv0qb"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
|
|
|
"path": "binaryage/env-config/0.2.2/env-config-0.2.2",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "ac36173f1802a5d7225be41faebedbf12949ae59",
|
|
|
|
"sha256": "11j1bls84d8hn8gviawvxkbbnb0hcg1lvw6qqcjj356ap6xzxfic"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
Upgrade shadow-cljs and ClojureScript (#15417)
This commit upgrades Shadow CLJS from 2.11.16 (released on Feb/21) to latest
2.25.0 (Jul/23), so ~1.5 years worth of upgrades. By upgrading shadow we
can finally use the latest major Clojure version 1.11.x.
Why upgrade shadow?
- Shadow CLJS controls the ClojureScript version we can use. In order to use the
latest major Clojure version we must upgrade Shadow CLJS.
- Shadow CLJS releases new versions very frequently, and if you take a look at
its changelog https://github.com/thheller/shadow-cljs/blob/master/CHANGELOG.md, you'll see
it had tons and tons of bug fixes over the years. I hope some of them help
improve the DX for certain contributors who recently reported issues with
it.
- Clojure 1.11 brings new features, bug fixes and even performance improvements
(although I think the performance mostly impacts Clojure on the JVM). See the
changelog https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1110
Things that can be beneficial to us, or are interesting nonetheless:
- New :as-alias to be used in require, which is like :as but does not require
the namespace to load. This means namespaced keywords using :as-alias can't
cause circular dependency errors. This feature would very useful if we used
namespaced keywords, but we don't, so...
https://github.com/clojure/clojure/blob/master/changes.md#22-as-alias-in-require
- New macros run-test and run-test-var to run single test with fixtures and
report.
- New iteration function, useful for processing paginated data.
https://www.abhinavomprakash.com/posts/clojure-iteration/
- New update-keys function: applies a function to every key in a map.
- New update-vals function: applies a function to every value in a map.
Examples for update-vals and update-keys. They should perform better than the
common reduce-kv approach since they use a transient data structure.
(let [m {:a 1 :b 2}]
(update-vals m inc)) ; => {:a 2, :b 3}
(let [m {:a 1 :b 2}]
(update-keys m name)) ; => {"a" 1, "b" 2}
Why change namespaces within __tests__ directories?
Any namespace with the word --tests-- throws an error, like the one below. I
didn't bother investigating why, so I changed the guidelines to reflect the new
convention. It's probably related to the double dashes in the name.
Namespace quo2.components.dividers.--tests--.divider-label-component-spec has a
segment starting with an invalid JavaScript identifier at line 1
2023-07-28 16:40:54 +00:00
|
|
|
"path": "binaryage/oops/0.7.2/oops-0.7.2",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
Upgrade shadow-cljs and ClojureScript (#15417)
This commit upgrades Shadow CLJS from 2.11.16 (released on Feb/21) to latest
2.25.0 (Jul/23), so ~1.5 years worth of upgrades. By upgrading shadow we
can finally use the latest major Clojure version 1.11.x.
Why upgrade shadow?
- Shadow CLJS controls the ClojureScript version we can use. In order to use the
latest major Clojure version we must upgrade Shadow CLJS.
- Shadow CLJS releases new versions very frequently, and if you take a look at
its changelog https://github.com/thheller/shadow-cljs/blob/master/CHANGELOG.md, you'll see
it had tons and tons of bug fixes over the years. I hope some of them help
improve the DX for certain contributors who recently reported issues with
it.
- Clojure 1.11 brings new features, bug fixes and even performance improvements
(although I think the performance mostly impacts Clojure on the JVM). See the
changelog https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1110
Things that can be beneficial to us, or are interesting nonetheless:
- New :as-alias to be used in require, which is like :as but does not require
the namespace to load. This means namespaced keywords using :as-alias can't
cause circular dependency errors. This feature would very useful if we used
namespaced keywords, but we don't, so...
https://github.com/clojure/clojure/blob/master/changes.md#22-as-alias-in-require
- New macros run-test and run-test-var to run single test with fixtures and
report.
- New iteration function, useful for processing paginated data.
https://www.abhinavomprakash.com/posts/clojure-iteration/
- New update-keys function: applies a function to every key in a map.
- New update-vals function: applies a function to every value in a map.
Examples for update-vals and update-keys. They should perform better than the
common reduce-kv approach since they use a transient data structure.
(let [m {:a 1 :b 2}]
(update-vals m inc)) ; => {:a 2, :b 3}
(let [m {:a 1 :b 2}]
(update-keys m name)) ; => {"a" 1, "b" 2}
Why change namespaces within __tests__ directories?
Any namespace with the word --tests-- throws an error, like the one below. I
didn't bother investigating why, so I changed the guidelines to reflect the new
convention. It's probably related to the double dashes in the name.
Namespace quo2.components.dividers.--tests--.divider-label-component-spec has a
segment starting with an invalid JavaScript identifier at line 1
2023-07-28 16:40:54 +00:00
|
|
|
"sha1": "2f47298f9aa41ef6f2c4f2c49f472eb113e94ae7",
|
|
|
|
"sha256": "0c9f7wylwl0lxcn4vqncprlzmdddqhxzb3vdaawdm0da0xh010hb"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-10-11 21:53:34 +00:00
|
|
|
{
|
Introduce malli library (#17867)
This commit is the foundational step to start using malli
(https://github.com/metosin/malli) in this project.
Take in consideration we will only be able to realize malli's full power in
future iterations.
For those without context: the mobile team watched a presentation about malli
and went through a light RFC to put everyone on the same page, among other
discussions here and there in PRs.
To keep things relatively short:
1. Unit, integration and component tests will short-circuit (fail) when
inputs/outputs don't conform to their respective function schemas (CI should
fail too).
2. Failed schema checks will not block the app from initializing, nor throw an
exception that would trigger the LogBox. Exceptions are only thrown in the
scope of automated tests.
3. There's zero performance impact in production code because we only
instrument. Instrumentation is removed from the compiled code due to the
usage of "^boolean js.goog/DEBUG".
4. We shouldn't expect any meaningful slowdown during development.
**What are we instrumenting in this PR?**
Per our team's agreement, we're only instrumenting the bare minimum to showcase 2 examples.
- Instrument a utility function utils.money/format-amount using the macro
approach.
- Instrument a quo component quo.components.counter.step.view/view using the
functional approach.
Both approaches are useful, the functional approach is powerful and allow us to
instrument anonymous functions, like the ones we pass to subscriptions or event
handlers, or the higher-order function quo.theme/with-theme. The macro approach
is perfect for functions already defined with defn.
**I evaluated the schema or function in the REPL but nothing changes**
- If you evaluate the source function, you need to evaluate schema/=> or
schema/instrument as well.
- Remember to *var quote* when using schema/instrument.
- You must call "(status-im2.setup.schema/setup!)" after any var is
re-instrumented. It's advisable to add a keybinding in your editor to send
this expression automatically to the CLJS REPL, or add the call at the end of
the namespace you are working on (similar to how some devs add "(run-tests)"
at the end of test namespaces).
**Where should schemas be defined?**
For the moment, we should focus on instrumenting quo components, so define each
function schema in the same namespace as the component's public "view" var.
To be specific:
- A schema used only to instrument a single function and not used elsewhere,
like a quo component schema, wouldn't benefit from being defined in a separate
namespace because that would force the developer to constantly open two files
instead of one to check function signatures.
- A common schema reused across the repo, like ":schema.common/theme" should be
registered in the global registry "schema.registry" so that consumers can just
refer to it by keyword, as if it was a built-in malli schema.
- A common schema describing status-go entities like message, notification,
community, etc can be stored either in the respective
"src/status_im2/contexts/*" or registered globally, or even somewhere else.
This is yet to be defined, but since I chose not to include schemas for them,
we can postpone this guideline.
2023-11-18 14:04:48 +00:00
|
|
|
"path": "borkdude/dynaload/0.3.5/dynaload-0.3.5",
|
2023-10-11 21:53:34 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
Introduce malli library (#17867)
This commit is the foundational step to start using malli
(https://github.com/metosin/malli) in this project.
Take in consideration we will only be able to realize malli's full power in
future iterations.
For those without context: the mobile team watched a presentation about malli
and went through a light RFC to put everyone on the same page, among other
discussions here and there in PRs.
To keep things relatively short:
1. Unit, integration and component tests will short-circuit (fail) when
inputs/outputs don't conform to their respective function schemas (CI should
fail too).
2. Failed schema checks will not block the app from initializing, nor throw an
exception that would trigger the LogBox. Exceptions are only thrown in the
scope of automated tests.
3. There's zero performance impact in production code because we only
instrument. Instrumentation is removed from the compiled code due to the
usage of "^boolean js.goog/DEBUG".
4. We shouldn't expect any meaningful slowdown during development.
**What are we instrumenting in this PR?**
Per our team's agreement, we're only instrumenting the bare minimum to showcase 2 examples.
- Instrument a utility function utils.money/format-amount using the macro
approach.
- Instrument a quo component quo.components.counter.step.view/view using the
functional approach.
Both approaches are useful, the functional approach is powerful and allow us to
instrument anonymous functions, like the ones we pass to subscriptions or event
handlers, or the higher-order function quo.theme/with-theme. The macro approach
is perfect for functions already defined with defn.
**I evaluated the schema or function in the REPL but nothing changes**
- If you evaluate the source function, you need to evaluate schema/=> or
schema/instrument as well.
- Remember to *var quote* when using schema/instrument.
- You must call "(status-im2.setup.schema/setup!)" after any var is
re-instrumented. It's advisable to add a keybinding in your editor to send
this expression automatically to the CLJS REPL, or add the call at the end of
the namespace you are working on (similar to how some devs add "(run-tests)"
at the end of test namespaces).
**Where should schemas be defined?**
For the moment, we should focus on instrumenting quo components, so define each
function schema in the same namespace as the component's public "view" var.
To be specific:
- A schema used only to instrument a single function and not used elsewhere,
like a quo component schema, wouldn't benefit from being defined in a separate
namespace because that would force the developer to constantly open two files
instead of one to check function signatures.
- A common schema reused across the repo, like ":schema.common/theme" should be
registered in the global registry "schema.registry" so that consumers can just
refer to it by keyword, as if it was a built-in malli schema.
- A common schema describing status-go entities like message, notification,
community, etc can be stored either in the respective
"src/status_im2/contexts/*" or registered globally, or even somewhere else.
This is yet to be defined, but since I chose not to include schemas for them,
we can postpone this guideline.
2023-11-18 14:04:48 +00:00
|
|
|
"sha1": "accd696ba364b850b4d92e38f5a34d0e828a0ad1",
|
|
|
|
"sha256": "0k62m1f29xfh3cp67w7kcvkp5aj35simi8kf95ycvkmgp76w11q8"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "borkdude/edamame/1.3.23/edamame-1.3.23",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "254d023e97ed438f0f44532b5a06d928d031ede4",
|
|
|
|
"sha256": "0l7mxza2nimslhg0qh6jp7gmb8sd6l89fk5d1zvzq2xskscq2vly"
|
2023-10-11 21:53:34 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "borkdude/sci.impl.reflector/0.0.1/sci.impl.reflector-0.0.1",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "33dfc86102e0ea400498cbca47572459c1c43b00",
|
|
|
|
"sha256": "0a5gxmj8kzc01y9bn7l4x7c1v5q9wcbvw5hdr525d3ylsyl6xfkw"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2022-12-20 13:57:49 +00:00
|
|
|
{
|
2023-01-18 21:43:26 +00:00
|
|
|
"path": "camel-snake-kebab/camel-snake-kebab/0.4.3/camel-snake-kebab-0.4.3",
|
2022-12-20 13:57:49 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-01-18 21:43:26 +00:00
|
|
|
"sha1": "5ae08f83ceb8959971e6334596bff0214bf6fdf2",
|
|
|
|
"sha256": "1j627a99ccc4v0v83c8670vdnsp69cjk7ba0ga2xf433fwsz74c1"
|
2022-12-20 13:57:49 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "cheshire/cheshire/5.11.0/cheshire-5.11.0",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "1a1231c65bfd6a2033148e88dcbd1ed8dede12a4",
|
|
|
|
"sha256": "0iv2nidrz07qjsqhyh8r9n59hxc52jpagggj9ivxl7bbcyg0daqz"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "cider/cider-nrepl/0.31.0/cider-nrepl-0.31.0",
|
2023-10-11 21:53:34 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "1f28a4a834a7a46cf24def971b1a705a6795c73a",
|
|
|
|
"sha256": "0h4pyzy8rzzh567khvimw2cs8jr640kqxgaxvbfx1s5yfp56fka2"
|
2023-10-11 21:53:34 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "cider/piggieback/0.5.2/piggieback-0.5.2",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "ecfd5c286a85db3f059e75c37fca5722d9e26f79",
|
|
|
|
"sha256": "1ps9yf3cxmlm447hqkidjb5xry90n0wl3jk0jn28fagq31lzylkl"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "clj-kondo/clj-kondo/2023.09.07/clj-kondo-2023.09.07",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "9bf516b973a0b77d7dc5a3c6c84a884e3470e7b7",
|
|
|
|
"sha256": "1qkw5ryqdzy4wl3xbr0r72ikrch75z5vh1dny569y3jlc888gkv8"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-20 23:47:23 +00:00
|
|
|
"path": "cljs-bean/cljs-bean/1.9.0/cljs-bean-1.9.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-20 23:47:23 +00:00
|
|
|
"sha1": "ac78135240a56cdfb104256b73f398bac5bea4d2",
|
|
|
|
"sha256": "129bvlbq3x92p4y1pyikzg774wxf28kxz1qvqqd7mj7bqilwc2gq"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "clout/clout/2.1.2/clout-2.1.2",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "87cc1bd24ec39a8572e66103039955d7570ce077",
|
|
|
|
"sha256": "1y3pp542ml5za3iyc5szqh2xn65dqmd8d6621mznmzg8bng1yscx"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/andrewmcveigh/cljs-time/0.5.2/cljs-time-0.5.2",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "7d4274be169f54a03d4afcc40ea95f40d44ca0a2",
|
|
|
|
"sha256": "061cjh2a6qpkib5v5mdrsbwhvcbqvh1igvp3b7jhcfj05pgplm1x"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/bhauman/cljs-test-display/0.1.1/cljs-test-display-0.1.1",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "64735aaf0401970524db37053b5dca19aa01f0a6",
|
|
|
|
"sha256": "13099h797xp6wh0f4yly480q59xwkm63fba43y99ilzc647ipwn1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "com/cognitect/transit-clj/1.0.329/transit-clj-1.0.329",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "e3bc004c0ca6bef0a0249147f57d5d741521cb11",
|
|
|
|
"sha256": "0sn9m8sfmm3p5dr9gz95j8fbkk7xip0iqs8ld6j0pkrzvff476l1"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-20 23:47:23 +00:00
|
|
|
"path": "com/cognitect/transit-cljs/0.8.280/transit-cljs-0.8.280",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-20 23:47:23 +00:00
|
|
|
"sha1": "98d11d81caee82f97b9417025750b785fb6ecb16",
|
|
|
|
"sha256": "06hwd00wh0qh5dynf69jnk20az97xmnz5flpk7118qj11v1x8yhm"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "com/cognitect/transit-java/1.0.362/transit-java-1.0.362",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "93775c7f592ccca35e1eba3a24ac807650dedc74",
|
|
|
|
"sha256": "0m6bywis7l7g4vl049g9fsgfidgyhz1b3nb3rh0mda6x8qymfs7b"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-20 23:47:23 +00:00
|
|
|
"path": "com/cognitect/transit-js/0.8.874/transit-js-0.8.874",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-20 23:47:23 +00:00
|
|
|
"sha1": "f8b4f570ca4d41649190efecac27a5932cc11429",
|
|
|
|
"sha256": "0289pwxxmdhb6gw8djrrdc6qa8jxcv4j105mkskmsmlmsv94nvmd"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "com/fasterxml/jackson/core/jackson-core/2.13.3/jackson-core-2.13.3",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "a27014716e4421684416e5fa83d896ddb87002da",
|
|
|
|
"sha256": "0gbara9dbk2khk1ksqbxsmm57gpvkf20p1qfphp4fsfclf79l4db"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.13.3/jackson-dataformat-cbor-2.13.3",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "bf43eed9de0031521107dfea41d1e5d6bf1b9639",
|
|
|
|
"sha256": "0q78lxy2sh9gdscnbqrjb3gkgjy1gf76gyf3yfqj353kb5vnhsla"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.13.3/jackson-dataformat-smile-2.13.3",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "b4e03e361e2388e3a8a0b68e3b9988d3a07ee3f3",
|
|
|
|
"sha256": "1d4zhxvr9zc01lzsa3fq1bww2bmwc06p213sr058z3g85j4gzm1j"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/github/javaparser/javaparser-core/3.25.3/javaparser-core-3.25.3",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "55a960eea36e9ae20e48c500c3dd356b33331f1f",
|
|
|
|
"sha256": "09rca8alzi5av62sjsd4m0j6wpa0nprml0zjas87xb8dh8cbq93k"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/google/auto/value/auto-value-annotations/1.6/auto-value-annotations-1.6",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "da725083ee79fdcd86d9f3d8a76e38174a01892a",
|
|
|
|
"sha256": "0sdf3y01nmj6kixvfqd8ljxm1vvw7r1ngaza3dkzqaig8dn975fh"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "25ea2e8b0c338a877313bd4672d3fe056ea78f0d",
|
|
|
|
"sha256": "1iyh53li6y4b8gp8bl52fagqp8iqrkp4rmwa5jb8f9izg2hd4skn"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/google/code/gson/gson/2.9.1/gson-2.9.1",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "02cc2131b98ebfb04e2b2c7dfb84431f4045096b",
|
|
|
|
"sha256": "00x67pi14r2kdpn3rhglwcdmvhgifsxkmyrn2w5xbrp677ik919p"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "com/google/errorprone/error_prone_annotations/2.15.0/error_prone_annotations-2.15.0",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "38c8485a652f808c8c149150da4e5c2b0bd17f9a",
|
|
|
|
"sha256": "1sy40pwq5rk87zpa0mccn8g3m7xgq38xkynvbfd7irs98dqlfw06"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "1dcf1de382a0bf95a3d8b0849546c88bac1292c9",
|
|
|
|
"sha256": "09na6vwxmpw4xcqszba15avzl6k6yjfvw5jbgs1xmljdfd6fwwd1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "119ea2b2bc205b138974d351777b20f02b92704b",
|
|
|
|
"sha256": "1fc7y1dan9jqfg7j27f9iywa6mdagd8x2fhrnfgj3gc7bvb99gnm"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "b421526c5f297295adef1c886e5246c39d4ac629",
|
|
|
|
"sha256": "169zydsbk48cs370lpdq5l69qgqjsq7z7ppzprzsa2i3shvs0wmk"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "ba035118bc8bac37d7eff77700720999acd9986d",
|
|
|
|
"sha256": "0ysaws2dawf41raccmprx8vilr5nrh6d5d70q0i63gb74b4k1br1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "com/google/javascript/closure-compiler-unshaded/v20230802/closure-compiler-unshaded-v20230802",
|
2023-10-11 21:53:34 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "0a2498a4d45bf5896042f31da0cd30c5e7b415af",
|
|
|
|
"sha256": "0jvgqq0gnvm4jw2zac4677ds05klvsjalszdzcq3nw8g7fjyjv2x"
|
2023-10-11 21:53:34 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "com/google/protobuf/protobuf-java/3.21.12/protobuf-java-3.21.12",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "5589e79a33cb6509f7e681d7cf4fc59d47c51c71",
|
|
|
|
"sha256": "11yzx7m9qq682n8r1xh820gjnnhddgfn3xgayf060946jbddngiz"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "com/google/re2j/re2j/1.3/re2j-1.3",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "dc7de2b32fa8cc569ab44fb849abadbbc6983b91",
|
|
|
|
"sha256": "06fypacl4jsbiddgby40fxxz6bpck7jvc5ch344f472cqnhhy16q"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "c9ad4a0850ab676c5c64461a05ca524cdfff59f1",
|
|
|
|
"sha256": "170rflxnqnah0265ik2aylmxkshyqbf2zas9bp2l32xqj9l6jsaf"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "com/taoensso/encore/3.68.0/encore-3.68.0",
|
|
|
|
"host": "https://repo.clojars.org",
|
2020-05-14 08:33:02 +00:00
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "b098b58e27a7cf9ab5e46aedbb5ababc12805170",
|
|
|
|
"sha256": "1i5bmm83y9wpgvl5h6ysjsw58qrqz4b4v5vqnsprq6f1pmakjfz2"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "com/taoensso/timbre/6.3.1/timbre-6.3.1",
|
|
|
|
"host": "https://repo.clojars.org",
|
2023-05-31 09:08:34 +00:00
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "e1b04be262f38bbd9af8f1193b6b3f2c6a37129d",
|
|
|
|
"sha256": "0p6rws5gpab5qldp739lyqvwdbak28vaxbjw2bg2slflkkahszc7"
|
2023-05-31 09:08:34 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "com/taoensso/truss/1.11.0/truss-1.11.0",
|
Upgrade shadow-cljs and ClojureScript (#15417)
This commit upgrades Shadow CLJS from 2.11.16 (released on Feb/21) to latest
2.25.0 (Jul/23), so ~1.5 years worth of upgrades. By upgrading shadow we
can finally use the latest major Clojure version 1.11.x.
Why upgrade shadow?
- Shadow CLJS controls the ClojureScript version we can use. In order to use the
latest major Clojure version we must upgrade Shadow CLJS.
- Shadow CLJS releases new versions very frequently, and if you take a look at
its changelog https://github.com/thheller/shadow-cljs/blob/master/CHANGELOG.md, you'll see
it had tons and tons of bug fixes over the years. I hope some of them help
improve the DX for certain contributors who recently reported issues with
it.
- Clojure 1.11 brings new features, bug fixes and even performance improvements
(although I think the performance mostly impacts Clojure on the JVM). See the
changelog https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1110
Things that can be beneficial to us, or are interesting nonetheless:
- New :as-alias to be used in require, which is like :as but does not require
the namespace to load. This means namespaced keywords using :as-alias can't
cause circular dependency errors. This feature would very useful if we used
namespaced keywords, but we don't, so...
https://github.com/clojure/clojure/blob/master/changes.md#22-as-alias-in-require
- New macros run-test and run-test-var to run single test with fixtures and
report.
- New iteration function, useful for processing paginated data.
https://www.abhinavomprakash.com/posts/clojure-iteration/
- New update-keys function: applies a function to every key in a map.
- New update-vals function: applies a function to every value in a map.
Examples for update-vals and update-keys. They should perform better than the
common reduce-kv approach since they use a transient data structure.
(let [m {:a 1 :b 2}]
(update-vals m inc)) ; => {:a 2, :b 3}
(let [m {:a 1 :b 2}]
(update-keys m name)) ; => {"a" 1, "b" 2}
Why change namespaces within __tests__ directories?
Any namespace with the word --tests-- throws an error, like the one below. I
didn't bother investigating why, so I changed the guidelines to reflect the new
convention. It's probably related to the double dashes in the name.
Namespace quo2.components.dividers.--tests--.divider-label-component-spec has a
segment starting with an invalid JavaScript identifier at line 1
2023-07-28 16:40:54 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
2023-05-31 09:08:34 +00:00
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "4784f43191d5839448b58128bb455d62616086fd",
|
|
|
|
"sha256": "16xqav4cv3cnfik2d8v3wn7zb2a97ybnrbp6v6nj8m1nmdhr16k7"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "com/taoensso/tufte/2.6.3/tufte-2.6.3",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "8862c6113ca743ebdcfa17bf4779a21fc08a7c7e",
|
|
|
|
"sha256": "0i0wsv2g2hswgdik6zlgcs212clj1d7fvckxfcsmyfr0vvpc1dmd"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "commons-codec/commons-codec/1.15/commons-codec-1.15",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
2020-05-14 08:33:02 +00:00
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "49d94806b6e3dc933dacbd8acb0fdbab8ebd1e5d",
|
|
|
|
"sha256": "0qzd8v96j4x7jjcfpvvdh9ar1xhwxpxi2rh51nzhj0br7bbgdsdk"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
2020-05-14 08:33:02 +00:00
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "f95188e3d372e20e7328706c37ef366e5d7859b0",
|
|
|
|
"sha256": "1xyyl54sfxsdcwxdyq6b0azmr31b4dwqns850jjkw9a9dwrh5v54"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "commons-io/commons-io/2.11.0/commons-io-2.11.0",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "a2503f302b11ebde7ebc3df41daebe0e4eea3689",
|
|
|
|
"sha256": "020946yakki3qzc652arfndzi594drxanidz9bawbb6vhxnjy6wn"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "compojure/compojure/1.5.2/compojure-1.5.2",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "0b5258d0616ffc5f64c2b6d95f09de56d24df439",
|
|
|
|
"sha256": "1s2k05lwnlm9a66mxnsss437i9gp70dny8y2rlfkl090s6mdqsaf"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "crypto-equality/crypto-equality/1.0.1/crypto-equality-1.0.1",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "26f76ad46f4a9881992c158118419dd9e7846b52",
|
|
|
|
"sha256": "1psbxljxvqvjvvlz1cj0df50l5npzvpyj0kdr27kzxywfq5wq5gf"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "crypto-random/crypto-random/1.2.1/crypto-random-1.2.1",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "ded0350f88e6f0bcca276c73f3aaadde94dc09f3",
|
|
|
|
"sha256": "0b75799a2lilbrm9j6k5zx22iq7pfaw76rvjx72m6vdnsx38h4jw"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "day8/re-frame/test/0.1.5/test-0.1.5",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "9e2d06c8564f0983098ddcc046a329c4faca46c2",
|
|
|
|
"sha256": "11qsa9y006f6cg8s08zzsbbgxnpv0504xns9r9xdyvkjwi280wxl"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "expound/expound/0.9.0/expound-0.9.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "5294f6b31a2cfa6ffbe5021d9390c738fb471927",
|
|
|
|
"sha256": "0p7r33hglnl93v0sxbvspbl9khcbs69xd2vaz8dkbq0qk5h758yn"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "fipp/fipp/0.6.26/fipp-0.6.26",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "fde761cd9f5c9bd13e8c91e8b9724573a87f1449",
|
|
|
|
"sha256": "10vjhnb9g9yzcgjsi1gi394nspvyki0l2m4dhd6dgbsmrrn6kjzp"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2024-03-04 11:59:52 +00:00
|
|
|
{
|
|
|
|
"path": "funcool/promesa/11.0.678/promesa-11.0.678",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "0ee1690ba74b2609c2d85b51edacad13046a18e2",
|
|
|
|
"sha256": "1wif8nwdbpchwg56fz47ymjnflmva0fzy0bw1s6bacnac472pmza"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
|
|
|
"path": "hiccup/hiccup/1.0.5/hiccup-1.0.5",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "75940a400111bbb8f80e43325e23100b6e2227bc",
|
|
|
|
"sha256": "1z07dh3qg9zzcwa8x31mnqxnkfsf2sbv315n43kxmnv1fkjagm0g"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "http-kit/http-kit/2.2.0/http-kit-2.2.0",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "70b17515f43a0e74937cdc0dea270d4ef13c7f32",
|
|
|
|
"sha256": "1nnvadcqc7mabyp0gp2kbic85ipnxx499w36984is3ajw8k2c47p"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "instaparse/instaparse/1.4.0/instaparse-1.4.0",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "ade13d743d1ec8a6c5103fd0f5701b0f997e2cc4",
|
|
|
|
"sha256": "188325lqyc6p9fmrcsx5vwp4cydnaxf32034jqf2ch29mnax1gvh"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-20 23:47:23 +00:00
|
|
|
"path": "io/aviso/pretty/1.4.4/pretty-1.4.4",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-20 23:47:23 +00:00
|
|
|
"sha1": "ab0c981501a6a24066478b724a926a036217d5fd",
|
|
|
|
"sha256": "14mz49f0dn06cs9s4gka32m7n5y49h2vvkgkgdrh4dm3dyslzy5c"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-10-11 21:53:34 +00:00
|
|
|
{
|
|
|
|
"path": "io/methvin/directory-watcher/0.17.1/directory-watcher-0.17.1",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "cf173a2fbca13eea5de68ea7b3434ce2c627fdeb",
|
|
|
|
"sha256": "176sa5hglp358nswyfafqh98l79971h8qxncpmbb5y227v4qx4xd"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "io/replikativ/datalog-parser/0.2.25/datalog-parser-0.2.25",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "4d59fde5929044463b0385e9161709a64a4f3d32",
|
|
|
|
"sha256": "0lbwrpsgfg7ri7bqrh23w3fjkfc9jlh4s1nim8rd284pc42xhnhg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "io/undertow/undertow-core/2.3.10.Final/undertow-core-2.3.10.Final",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "96d1d5ca6406a75a285b95ea8f4b39e0fb2d707e",
|
|
|
|
"sha256": "1s1m5hfhmfr7jsp4bn4c6fhdbgiz72mz0a96494nyhfa0b4lql8l"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-10-11 21:53:34 +00:00
|
|
|
{
|
|
|
|
"path": "javax/annotation/jsr250-api/1.0/jsr250-api-1.0",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "5025422767732a1ab45d93abfea846513d742dcf jsr250-api-1.0.jar",
|
|
|
|
"sha256": "07wl9bsxxh9id5rr8vwc1sgibsz1s40srpq073nq7ldnv7825ad1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
|
|
|
"path": "javax/servlet/servlet-api/2.5/servlet-api-2.5",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "5959582d97d8b61f4d154ca9e495aafd16726e34",
|
|
|
|
"sha256": "1p6lk86qwrr8k2pgjs3pmfh44h9ff05ckcvgnsnyxykh18vfln66"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "99f802e0cb3e953ba3d6e698795c4aeb98d37c48",
|
|
|
|
"sha256": "00rxpc0m30d3jc572ni01ryxq8gcbnr955xsabrijg9pknc0fc48"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "medley/medley/0.8.2/medley-0.8.2",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "0c05ef36ae49925af44c781108ecf8b704a83a8f",
|
|
|
|
"sha256": "1hf1jd60jshd1p8yknfnimfsbiz9x1kg8x1gb6939xxx6sk953c8"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
Introduce malli library (#17867)
This commit is the foundational step to start using malli
(https://github.com/metosin/malli) in this project.
Take in consideration we will only be able to realize malli's full power in
future iterations.
For those without context: the mobile team watched a presentation about malli
and went through a light RFC to put everyone on the same page, among other
discussions here and there in PRs.
To keep things relatively short:
1. Unit, integration and component tests will short-circuit (fail) when
inputs/outputs don't conform to their respective function schemas (CI should
fail too).
2. Failed schema checks will not block the app from initializing, nor throw an
exception that would trigger the LogBox. Exceptions are only thrown in the
scope of automated tests.
3. There's zero performance impact in production code because we only
instrument. Instrumentation is removed from the compiled code due to the
usage of "^boolean js.goog/DEBUG".
4. We shouldn't expect any meaningful slowdown during development.
**What are we instrumenting in this PR?**
Per our team's agreement, we're only instrumenting the bare minimum to showcase 2 examples.
- Instrument a utility function utils.money/format-amount using the macro
approach.
- Instrument a quo component quo.components.counter.step.view/view using the
functional approach.
Both approaches are useful, the functional approach is powerful and allow us to
instrument anonymous functions, like the ones we pass to subscriptions or event
handlers, or the higher-order function quo.theme/with-theme. The macro approach
is perfect for functions already defined with defn.
**I evaluated the schema or function in the REPL but nothing changes**
- If you evaluate the source function, you need to evaluate schema/=> or
schema/instrument as well.
- Remember to *var quote* when using schema/instrument.
- You must call "(status-im2.setup.schema/setup!)" after any var is
re-instrumented. It's advisable to add a keybinding in your editor to send
this expression automatically to the CLJS REPL, or add the call at the end of
the namespace you are working on (similar to how some devs add "(run-tests)"
at the end of test namespaces).
**Where should schemas be defined?**
For the moment, we should focus on instrumenting quo components, so define each
function schema in the same namespace as the component's public "view" var.
To be specific:
- A schema used only to instrument a single function and not used elsewhere,
like a quo component schema, wouldn't benefit from being defined in a separate
namespace because that would force the developer to constantly open two files
instead of one to check function signatures.
- A common schema reused across the repo, like ":schema.common/theme" should be
registered in the global registry "schema.registry" so that consumers can just
refer to it by keyword, as if it was a built-in malli schema.
- A common schema describing status-go entities like message, notification,
community, etc can be stored either in the respective
"src/status_im2/contexts/*" or registered globally, or even somewhere else.
This is yet to be defined, but since I chose not to include schemas for them,
we can postpone this guideline.
2023-11-18 14:04:48 +00:00
|
|
|
{
|
|
|
|
"path": "metosin/malli/0.13.0/malli-0.13.0",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "286c52d26a3a9d613b5f692971bd19c581cdc4b0",
|
|
|
|
"sha256": "0vaq9d6cln5j4ww302fwlgg7m647cf2j16gs2i1p1d4klbn4jddz"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "mvxcvi/arrangement/2.1.0/arrangement-2.1.0",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "1bc8f3bba7a28de85f319b7d464aa8d955f44918",
|
|
|
|
"sha256": "1j1rkwrs4wm8zk9v7ilgpnyav5sipdd2bmb83sazh392blw52wpk"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
|
|
|
"path": "net/cgrand/macrovich/0.2.1/macrovich-0.2.1",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "abcb26cbfe0f8eef363b25525210c0fe1eb1f693",
|
|
|
|
"sha256": "119rmznkfsk1df3q9408dkd9kcqsbpffni19dzrjr7k05ijcl487"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "net/java/dev/jna/jna/5.12.1/jna-5.12.1",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "b1e93a735caea94f503e95e6fe79bf9cdc1e985d",
|
|
|
|
"sha256": "1cskrxarxlrh7h73sh44g4cn4k47mnlf2hnqj7p0vmj09yn19a4i"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "nrepl/bencode/1.1.0/bencode-1.1.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "48e0674aeb221294c8728ad68571c01b95df4f5b",
|
|
|
|
"sha256": "0syyqsx376lxirv3prx27klvz1x98vxg6rqsaniz4ddi45vxlm2p"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "nrepl/nrepl/0.9.0/nrepl-0.9.0",
|
2023-10-11 21:53:34 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
2020-05-14 08:33:02 +00:00
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "49beada131959f08f9a20899affbd1b10c03a668",
|
|
|
|
"sha256": "1phak0479s27ffw9wzz7pi8cqqs6ipsm15dhgw9szxxcfhx529qa"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-12-05 20:20:54 +00:00
|
|
|
{
|
|
|
|
"path": "nubank/matcher-combinators/3.8.8/matcher-combinators-3.8.8",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "4c94bd510f0c18a20191e46dd6becedebc640bbd",
|
|
|
|
"sha256": "0wpla2hx0s4mda58ndyd8938zmnz1gyhgfr6pzfphy27xfbvsssl"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/apache/ant/ant-launcher/1.10.11/ant-launcher-1.10.11",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "ea0a0475fb6dfcdcf48b30410fd9d4f5c80df07e",
|
|
|
|
"sha256": "0mnj5v660qvmrsi1m6z0dnykw3df8f1213byzp45l2wqgbgk1dfs"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/apache/ant/ant/1.10.11/ant-1.10.11",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "b875cd48a0bc955ae9c5c477ad991e1f26fb24d2",
|
|
|
|
"sha256": "0m07pifkdpwghpp8wvqh14sbxazmjbkkpsfakw6ixq5apfdvih48"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/babashka/sci.impl.types/0.0.2/sci.impl.types-0.0.2",
|
2023-10-11 21:53:34 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
2020-05-14 08:33:02 +00:00
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "45a05ece33609c3ad26a6ea4e05130560da82306",
|
|
|
|
"sha256": "0pwwqq11rcknpcwbwsbw7pgbgnd7hqiawn0r8yvk14qfwa6p7z46"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/babashka/sci/0.7.38/sci-0.7.38",
|
2023-10-11 21:53:34 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
2020-05-14 08:33:02 +00:00
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "ef2d8c74065b9a7d685a11bff017676db308a923",
|
|
|
|
"sha256": "04pkxwcgkd1p4f4rszsr6pp18fl0vni1az47a390llrhyyrjcckn"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "d5692f0526415fcc6de94bb5bfbd3afd9dd3b3e5",
|
|
|
|
"sha256": "1jzkwzdwd6wvrg0lrsh90df61frc5accp4y2x5fyqmx3q9d7h47z"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/clojure/1.11.1/clojure-1.11.1",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "2896bc72c90da8125026c0e61df0470a084f9ec3",
|
|
|
|
"sha256": "1pml1iqzix0vzi51kf86c0yj8miss41lk52m2hanbd1s8blvd093"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/clojurescript/1.11.60/clojurescript-1.11.60",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "bc14df6666853ed869d7b88aaa864111c65d0c7f",
|
|
|
|
"sha256": "104mwhda4k9mw7qdszxrzha1idy9yqsidssw4ljf4m58l3rpgkhl"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/core.async/1.5.648/core.async-1.5.648",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "134b1e0eac15fdd1718f8a8ddacbb0902961558f",
|
|
|
|
"sha256": "0b1krpckkc6ai85h32mfs3v7awgjcld38s7nwbklmjf7pxpv1fjd"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/core.cache/1.0.225/core.cache-1.0.225",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "ddd58c0d29cf1515d13351cc0770634ecac884f0",
|
|
|
|
"sha256": "1cd5yrlm80fqpjs0461isx57s0ymmgxwi0iqm7cdnp6sgsaally1"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/core.memoize/1.0.253/core.memoize-1.0.253",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "bfa3ac940d93d50a14e4301b4cf8295e451b97c4",
|
|
|
|
"sha256": "1mhy3s8yjzyx47042za3b1d3nmp1bcqk83d2s30jdcra322hb4aa"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/core.rrb-vector/0.1.2/core.rrb-vector-0.1.2",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "0404feea925608b921b56acd11d3b187a0d33fe4",
|
|
|
|
"sha256": "13hkx1285f2imqlj6wbgyxki2yg8rmfr49iq1zijxm1cgfx8xyai"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/core.specs.alpha/0.2.62/core.specs.alpha-0.2.62",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "a2a7ea21a695561924bc8506f3feb5d8c8f894d5",
|
|
|
|
"sha256": "1j6bsr1blcps3gw18d0jx538rg41jr1l7r37hlamrr5vf30aivh6"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/data.json/2.4.0/data.json-2.4.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "d779823f78d614897df79cd1823cb1cef840fa5b",
|
|
|
|
"sha256": "1pva908ndg2havnxyljipsbmqpwca6jjni9w64hd9v8y9scjygzc"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/data.priority-map/1.1.0/data.priority-map-1.1.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "fc412d06788c1ea186117f8ea656d44fba654788",
|
|
|
|
"sha256": "0k3gxah05i1pgfqvqx2sc7v2yh3na3jiv1zkcvyin3zsf92aylgy"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/clojure/google-closure-library-third-party/0.0-20230227-c7c0a541/google-closure-library-third-party-0.0-20230227-c7c0a541",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "f5ea82eb1309b81ada6a14371bb848323c65e38b",
|
|
|
|
"sha256": "0jk9v4bfrxvz6wq1s86msry2mf47nwcjfplnn41yabqc44g82hva"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/clojure/google-closure-library/0.0-20230227-c7c0a541/google-closure-library-0.0-20230227-c7c0a541",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "533ce2bdbb7925db781449abb6527af1e6c5e782",
|
|
|
|
"sha256": "0js19lw8bp9gym3pn47h867vhf65j18qc6x1pfn883vkwyasm18l"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-12-05 20:20:54 +00:00
|
|
|
{
|
|
|
|
"path": "org/clojure/math.combinatorics/0.2.0/math.combinatorics-0.2.0",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "aa95d25ea98bfe1152ea540f6e58a303c8cacc86",
|
|
|
|
"sha256": "0qvdsr5ryjmrpz622ivpyq5aayn42y4bk531vbasyj2yj7gcg35h"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/spec.alpha/0.3.218/spec.alpha-0.3.218",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "a7dad492f8d6cf657d82dcd6b31bda0899f1ac0e",
|
|
|
|
"sha256": "1q5ax2bkpsz11lmqnrl7pnabjsrps62xsyajlmbsjrjwnn78kv37"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
Introduce malli library (#17867)
This commit is the foundational step to start using malli
(https://github.com/metosin/malli) in this project.
Take in consideration we will only be able to realize malli's full power in
future iterations.
For those without context: the mobile team watched a presentation about malli
and went through a light RFC to put everyone on the same page, among other
discussions here and there in PRs.
To keep things relatively short:
1. Unit, integration and component tests will short-circuit (fail) when
inputs/outputs don't conform to their respective function schemas (CI should
fail too).
2. Failed schema checks will not block the app from initializing, nor throw an
exception that would trigger the LogBox. Exceptions are only thrown in the
scope of automated tests.
3. There's zero performance impact in production code because we only
instrument. Instrumentation is removed from the compiled code due to the
usage of "^boolean js.goog/DEBUG".
4. We shouldn't expect any meaningful slowdown during development.
**What are we instrumenting in this PR?**
Per our team's agreement, we're only instrumenting the bare minimum to showcase 2 examples.
- Instrument a utility function utils.money/format-amount using the macro
approach.
- Instrument a quo component quo.components.counter.step.view/view using the
functional approach.
Both approaches are useful, the functional approach is powerful and allow us to
instrument anonymous functions, like the ones we pass to subscriptions or event
handlers, or the higher-order function quo.theme/with-theme. The macro approach
is perfect for functions already defined with defn.
**I evaluated the schema or function in the REPL but nothing changes**
- If you evaluate the source function, you need to evaluate schema/=> or
schema/instrument as well.
- Remember to *var quote* when using schema/instrument.
- You must call "(status-im2.setup.schema/setup!)" after any var is
re-instrumented. It's advisable to add a keybinding in your editor to send
this expression automatically to the CLJS REPL, or add the call at the end of
the namespace you are working on (similar to how some devs add "(run-tests)"
at the end of test namespaces).
**Where should schemas be defined?**
For the moment, we should focus on instrumenting quo components, so define each
function schema in the same namespace as the component's public "view" var.
To be specific:
- A schema used only to instrument a single function and not used elsewhere,
like a quo component schema, wouldn't benefit from being defined in a separate
namespace because that would force the developer to constantly open two files
instead of one to check function signatures.
- A common schema reused across the repo, like ":schema.common/theme" should be
registered in the global registry "schema.registry" so that consumers can just
refer to it by keyword, as if it was a built-in malli schema.
- A common schema describing status-go entities like message, notification,
community, etc can be stored either in the respective
"src/status_im2/contexts/*" or registered globally, or even somewhere else.
This is yet to be defined, but since I chose not to include schemas for them,
we can postpone this guideline.
2023-11-18 14:04:48 +00:00
|
|
|
{
|
|
|
|
"path": "org/clojure/test.check/1.1.1/test.check-1.1.1",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "f33d988fd57bc9c11af1952db81c10f319c91416",
|
|
|
|
"sha256": "0y2hpkj7zl4yrpsl35ifpdaja5c72b8fpjcnmdgmld9c7cb1hlcl"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/clojure/tools.analyzer.jvm/1.2.2/tools.analyzer.jvm-1.2.2",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "449691b55d7d526258ce02c69b4699f2897c494d",
|
|
|
|
"sha256": "0phfs1z1scvdi00348zjh223xncmgrkmlrnbca4dh7lk701gy34i"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/clojure/tools.analyzer/1.1.0/tools.analyzer-1.1.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "692882a35d7b50947d6e4852fba8a51d8d5e3646",
|
|
|
|
"sha256": "08fzw3srrppgq1d11sh1ghnyvi24ixa10kbqsncc7xyx7fybcs0k"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2021-03-01 11:49:03 +00:00
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/tools.cli/1.0.206/tools.cli-1.0.206",
|
2021-03-01 11:49:03 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "5341b1ff68ec84e4ecff14c3611f81d36dba1041",
|
|
|
|
"sha256": "05pns6pzb9kkpknicabk2wdbiv4hi9wyr3w99aafmf8r35lx55vb"
|
2021-03-01 11:49:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/tools.logging/1.1.0/tools.logging-1.1.0",
|
2021-03-01 11:49:03 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "84cb5d00caa9df2ee504d46f6107f4708271f619",
|
|
|
|
"sha256": "0x2zzivn38z179lxkw9wbi9n9qwsf466lrd9y27khdz7wbxhscb5"
|
2021-03-01 11:49:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/clojure/tools.macro/0.1.5/tools.macro-0.1.5",
|
2021-03-01 11:49:03 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "925e200c906052e462e34a2c7e78a48ffec1dec4",
|
|
|
|
"sha256": "0j428ic8aazgv9s27820ybnsmgwfv7j8ywpkxs72dych9hlxf517"
|
2021-03-01 11:49:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/clojure/tools.reader/1.3.7/tools.reader-1.3.7",
|
2021-03-01 11:49:03 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "c60dfd3d79cbc5ec6264ba45c14b8d4c9b6708b2",
|
|
|
|
"sha256": "1mr0qx3gw1myfls07vrx3arwsi5n95b2lwk74ijpj0z3lzpzlj7m"
|
2021-03-01 11:49:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
|
|
|
"path": "org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "d9a09f7732226af26bf99f19e2cffe0ae219db5b",
|
|
|
|
"sha256": "0qk19ja8zv4jdxcmw4krcdax1j4iham9gszmjc7vp66hmwqi5drz"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/jboss/logging/jboss-logging/3.4.3.Final/jboss-logging-3.4.3.Final",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "c4bd7e12a745c0e7f6cf98c45cdcdf482fd827ea",
|
|
|
|
"sha256": "0jdcziqbdzmah981zv3q88k2zrnclr2h1k3h3vjn002m9p54qchb"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/jboss/threads/jboss-threads/3.5.0.Final/jboss-threads-3.5.0.Final",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "dd23d4788b3eafe9597ef3fe028e46ceb293ba8d",
|
|
|
|
"sha256": "1cchp54dw1578my27siim3h5jbf240aq8q6xd3z2b1ajgxxbcl71"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/jboss/xnio/xnio-api/3.8.8.Final/xnio-api-3.8.8.Final",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "1ba9c8b9a8dea1c6cd656155943e6d4c2c631fa7",
|
|
|
|
"sha256": "0wvqdcbardi55l77aw5404qgw70384hw155xvc66shn7l6z8h6bh"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/jboss/xnio/xnio-nio/3.8.8.Final/xnio-nio-3.8.8.Final",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "a5d2faf8d02e0a0bb9e9eabca8e38173cb640331",
|
|
|
|
"sha256": "0pxw2iv1q1yzk39knc650rg4vflsyjzhf07mwm2s5aqn5h82sk3i"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/jspecify/jspecify/0.2.0/jspecify-0.2.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "89ca55e02b85c959bd0c4c0c13a0b1885829af44",
|
|
|
|
"sha256": "1bn0nw88v70i4sqxlfl3jsmfi0180426kh77dx07955ysbl9k8vx"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
Upgrade shadow-cljs and ClojureScript (#15417)
This commit upgrades Shadow CLJS from 2.11.16 (released on Feb/21) to latest
2.25.0 (Jul/23), so ~1.5 years worth of upgrades. By upgrading shadow we
can finally use the latest major Clojure version 1.11.x.
Why upgrade shadow?
- Shadow CLJS controls the ClojureScript version we can use. In order to use the
latest major Clojure version we must upgrade Shadow CLJS.
- Shadow CLJS releases new versions very frequently, and if you take a look at
its changelog https://github.com/thheller/shadow-cljs/blob/master/CHANGELOG.md, you'll see
it had tons and tons of bug fixes over the years. I hope some of them help
improve the DX for certain contributors who recently reported issues with
it.
- Clojure 1.11 brings new features, bug fixes and even performance improvements
(although I think the performance mostly impacts Clojure on the JVM). See the
changelog https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1110
Things that can be beneficial to us, or are interesting nonetheless:
- New :as-alias to be used in require, which is like :as but does not require
the namespace to load. This means namespaced keywords using :as-alias can't
cause circular dependency errors. This feature would very useful if we used
namespaced keywords, but we don't, so...
https://github.com/clojure/clojure/blob/master/changes.md#22-as-alias-in-require
- New macros run-test and run-test-var to run single test with fixtures and
report.
- New iteration function, useful for processing paginated data.
https://www.abhinavomprakash.com/posts/clojure-iteration/
- New update-keys function: applies a function to every key in a map.
- New update-vals function: applies a function to every value in a map.
Examples for update-vals and update-keys. They should perform better than the
common reduce-kv approach since they use a transient data structure.
(let [m {:a 1 :b 2}]
(update-vals m inc)) ; => {:a 2, :b 3}
(let [m {:a 1 :b 2}]
(update-keys m name)) ; => {"a" 1, "b" 2}
Why change namespaces within __tests__ directories?
Any namespace with the word --tests-- throws an error, like the one below. I
didn't bother investigating why, so I changed the guidelines to reflect the new
convention. It's probably related to the double dashes in the name.
Namespace quo2.components.dividers.--tests--.divider-label-component-spec has a
segment starting with an invalid JavaScript identifier at line 1
2023-07-28 16:40:54 +00:00
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/msgpack/msgpack/0.6.12/msgpack-0.6.12",
|
2021-03-01 11:49:03 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "6a0c88fe022993c490011c3dce7127b29f9a9b3b",
|
|
|
|
"sha256": "0plvpp9ra9848sb3psx2yi0gvk5gm146hhnwln08wj10hmfsd770"
|
2021-03-01 11:49:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "org/ow2/asm/asm/9.4/asm-9.4",
|
2021-03-01 11:49:03 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "b4e0e2d2e023aa317b7cfcfc916377ea348e07d1",
|
|
|
|
"sha256": "10gk2l71sfj4d0sgj971abh2d8cl19slay89kfh6bbs5vjry5l1r"
|
2021-03-01 11:49:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/slf4j/slf4j-api/2.0.9/slf4j-api-2.0.9",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "7cf2726fdcfbc8610f9a71fb3ed639871f315340",
|
|
|
|
"sha256": "0v1b7iydpnh2rvyzqvqbqm19vr2qva8icq84690bppnpr06r6608"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "org/slf4j/slf4j-nop/2.0.9/slf4j-nop-2.0.9",
|
2021-03-01 11:49:03 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "fa0627049304bf501bf6a0e4d1416bcaec9a72a9",
|
|
|
|
"sha256": "10vdg9qkailjbzmf5mfnv328675swmnf1x3g9v7ymhxs29xkc4jn"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "org/wildfly/client/wildfly-client-config/1.0.1.Final/wildfly-client-config-1.0.1.Final",
|
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "2a803b23c40a0de0f03a90d1fd3755747bc05f4b",
|
|
|
|
"sha256": "1crv5kxfsbkmcfw504yqhzf26zrjgpkw1wmhxi1v1swlrriyk940"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "org/wildfly/common/wildfly-common/1.5.4.Final/wildfly-common-1.5.4.Final",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo1.maven.org/maven2",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "735ceee5616d5143bac1bc740e444697073c002f",
|
|
|
|
"sha256": "0sp48y3q7bmp3bjb7a6fpz8gb7ssizvxlw5wdv2xwa6mifpkrnlz"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2020-07-30 09:39:55 +00:00
|
|
|
"path": "prismatic/schema/1.1.7/schema-1.1.7",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2020-07-30 09:39:55 +00:00
|
|
|
"sha1": "289b571f1cbab59aef436fc0af56e7efc5322685",
|
|
|
|
"sha256": "01zc13qhkyghhr4s1if9agbgz38gvrg8x62gn1g8fjll9nq7aca9"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-05-31 09:08:34 +00:00
|
|
|
"path": "re-com/re-com/2.8.0/re-com-2.8.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-05-31 09:08:34 +00:00
|
|
|
"sha1": "fd038eef3c36c460613e94f2c70fc84c6eb35a66",
|
|
|
|
"sha256": "0r431yq5hf8zc4j2k3lsi3vni60kk8ncinqrb7xv2qcyjw4qh178"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-05-31 09:08:34 +00:00
|
|
|
"path": "re-frame/re-frame/1.3.0/re-frame-1.3.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-05-31 09:08:34 +00:00
|
|
|
"sha1": "b7135a76432b8141027ba1f4eb6bb15a36acfb7c",
|
|
|
|
"sha256": "16wi01z0j4wn04kldwzxvj0pd9dianjyb000nv5611ikhxk1qrps"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2022-12-20 13:57:49 +00:00
|
|
|
{
|
2023-05-31 09:08:34 +00:00
|
|
|
"path": "re-frisk-remote/re-frisk-remote/1.6.0/re-frisk-remote-1.6.0",
|
2022-12-20 13:57:49 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-05-31 09:08:34 +00:00
|
|
|
"sha1": "dea48c4be6421c50c4bbf2c1be2ea3a6b2418d8d",
|
|
|
|
"sha256": "1rkfyc5fwbafx56a6zhy0k9ygmlxp9asqzby09a5xzjsmkrx2jf1"
|
2022-12-20 13:57:49 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-05-31 09:08:34 +00:00
|
|
|
"path": "re-frisk/sente/1.15.0/sente-1.15.0",
|
2022-12-20 13:57:49 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-05-31 09:08:34 +00:00
|
|
|
"sha1": "d54aa873a848f624a282c2c2f7df947c976a77b5",
|
|
|
|
"sha256": "0yhsqpi3d8x11pl1aq8z23fdyjspvq07dsyvrlkpbyx7rm64i21h"
|
2022-12-20 13:57:49 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2024-03-04 11:59:52 +00:00
|
|
|
{
|
|
|
|
"path": "reagent/reagent/1.2.0/reagent-1.2.0",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "1b9a181b5c7ed3557768d2ea0c66f5616aef5e97",
|
|
|
|
"sha256": "0scvkzfqjs613z10rngh7427v3pxdqablf0fcl65pbpkzz16wgav"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"path": "refactor-nrepl/refactor-nrepl/3.9.1/refactor-nrepl-3.9.1",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "f949af92dd1d6fef59d7447bd0cb62118e34eca1",
|
|
|
|
"sha256": "0dml9yvjmji6xk2sk3cdmkvvnh13rw29szxxl363hap8yg28xcs1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
|
|
|
"path": "ring-cors/ring-cors/0.1.8/ring-cors-0.1.8",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "4788dcaca6b2429bf823c1235dbb44cd5689584a",
|
|
|
|
"sha256": "1382hxpgfpjdn0lcgq512yvbvq661skwd7lrakpnq9zs827jq9mc"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "ring/ring-codec/1.2.0/ring-codec-1.2.0",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "fbcc4a141c638a3bd386df8ed04c05d0481be209",
|
|
|
|
"sha256": "1hk58ln4vijf5zk2c61x8is5fhwgyrqhc49qnxbmn1b2002svn3g"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "ring/ring-core/1.9.6/ring-core-1.9.6",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "8ca97618f914401c4112e2fd28d24d47c4fc2815",
|
|
|
|
"sha256": "1zj5dpcyvivvf7zsggvrd75ykr98pblv3bpfr01jbkwjwx1s2d4a"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2021-03-01 11:49:03 +00:00
|
|
|
"path": "thheller/shadow-client/1.3.3/shadow-client-1.3.3",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2021-03-01 11:49:03 +00:00
|
|
|
"sha1": "cb2034364161b68d1994d374eb59d6d2b0613989",
|
|
|
|
"sha256": "13avr26yxns3kcab46anf5z4lxmyn72qydvgppvv26vcf77acx0p"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "thheller/shadow-cljs/2.26.2/shadow-cljs-2.26.2-aot",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "ab6b31649cb03e352369698781207db4f6da6d5f",
|
|
|
|
"sha256": "0mh28nykpillkym7hvplrr7vy5hn6a2ymafyf4yfl5y2kfx4yq42"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-10-11 21:53:34 +00:00
|
|
|
"path": "thheller/shadow-cljsjs/0.0.22/shadow-cljsjs-0.0.22",
|
2020-05-14 08:33:02 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2023-10-11 21:53:34 +00:00
|
|
|
"sha1": "4323f8e603a952cae34c4c6db04141e97928434f",
|
|
|
|
"sha256": "1bljcig3hkn1nhfbg2w6apz8lwm8qk74qcwd8l2mbw1plfxa0fzn"
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
Upgrade shadow-cljs and ClojureScript (#15417)
This commit upgrades Shadow CLJS from 2.11.16 (released on Feb/21) to latest
2.25.0 (Jul/23), so ~1.5 years worth of upgrades. By upgrading shadow we
can finally use the latest major Clojure version 1.11.x.
Why upgrade shadow?
- Shadow CLJS controls the ClojureScript version we can use. In order to use the
latest major Clojure version we must upgrade Shadow CLJS.
- Shadow CLJS releases new versions very frequently, and if you take a look at
its changelog https://github.com/thheller/shadow-cljs/blob/master/CHANGELOG.md, you'll see
it had tons and tons of bug fixes over the years. I hope some of them help
improve the DX for certain contributors who recently reported issues with
it.
- Clojure 1.11 brings new features, bug fixes and even performance improvements
(although I think the performance mostly impacts Clojure on the JVM). See the
changelog https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1110
Things that can be beneficial to us, or are interesting nonetheless:
- New :as-alias to be used in require, which is like :as but does not require
the namespace to load. This means namespaced keywords using :as-alias can't
cause circular dependency errors. This feature would very useful if we used
namespaced keywords, but we don't, so...
https://github.com/clojure/clojure/blob/master/changes.md#22-as-alias-in-require
- New macros run-test and run-test-var to run single test with fixtures and
report.
- New iteration function, useful for processing paginated data.
https://www.abhinavomprakash.com/posts/clojure-iteration/
- New update-keys function: applies a function to every key in a map.
- New update-vals function: applies a function to every value in a map.
Examples for update-vals and update-keys. They should perform better than the
common reduce-kv approach since they use a transient data structure.
(let [m {:a 1 :b 2}]
(update-vals m inc)) ; => {:a 2, :b 3}
(let [m {:a 1 :b 2}]
(update-keys m name)) ; => {"a" 1, "b" 2}
Why change namespaces within __tests__ directories?
Any namespace with the word --tests-- throws an error, like the one below. I
didn't bother investigating why, so I changed the guidelines to reflect the new
convention. It's probably related to the double dashes in the name.
Namespace quo2.components.dividers.--tests--.divider-label-component-spec has a
segment starting with an invalid JavaScript identifier at line 1
2023-07-28 16:40:54 +00:00
|
|
|
{
|
2024-03-04 11:59:52 +00:00
|
|
|
"path": "thheller/shadow-undertow/0.3.3/shadow-undertow-0.3.3",
|
Upgrade shadow-cljs and ClojureScript (#15417)
This commit upgrades Shadow CLJS from 2.11.16 (released on Feb/21) to latest
2.25.0 (Jul/23), so ~1.5 years worth of upgrades. By upgrading shadow we
can finally use the latest major Clojure version 1.11.x.
Why upgrade shadow?
- Shadow CLJS controls the ClojureScript version we can use. In order to use the
latest major Clojure version we must upgrade Shadow CLJS.
- Shadow CLJS releases new versions very frequently, and if you take a look at
its changelog https://github.com/thheller/shadow-cljs/blob/master/CHANGELOG.md, you'll see
it had tons and tons of bug fixes over the years. I hope some of them help
improve the DX for certain contributors who recently reported issues with
it.
- Clojure 1.11 brings new features, bug fixes and even performance improvements
(although I think the performance mostly impacts Clojure on the JVM). See the
changelog https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1110
Things that can be beneficial to us, or are interesting nonetheless:
- New :as-alias to be used in require, which is like :as but does not require
the namespace to load. This means namespaced keywords using :as-alias can't
cause circular dependency errors. This feature would very useful if we used
namespaced keywords, but we don't, so...
https://github.com/clojure/clojure/blob/master/changes.md#22-as-alias-in-require
- New macros run-test and run-test-var to run single test with fixtures and
report.
- New iteration function, useful for processing paginated data.
https://www.abhinavomprakash.com/posts/clojure-iteration/
- New update-keys function: applies a function to every key in a map.
- New update-vals function: applies a function to every value in a map.
Examples for update-vals and update-keys. They should perform better than the
common reduce-kv approach since they use a transient data structure.
(let [m {:a 1 :b 2}]
(update-vals m inc)) ; => {:a 2, :b 3}
(let [m {:a 1 :b 2}]
(update-keys m name)) ; => {"a" 1, "b" 2}
Why change namespaces within __tests__ directories?
Any namespace with the word --tests-- throws an error, like the one below. I
didn't bother investigating why, so I changed the guidelines to reflect the new
convention. It's probably related to the double dashes in the name.
Namespace quo2.components.dividers.--tests--.divider-label-component-spec has a
segment starting with an invalid JavaScript identifier at line 1
2023-07-28 16:40:54 +00:00
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
2024-03-04 11:59:52 +00:00
|
|
|
"sha1": "ba377c3b70fd942b3ca7e38f055412a441626711",
|
|
|
|
"sha256": "10w2slj4znm93j0qq3ldj9hj0i7a50vbnmn6kv8i77fakikdjc48"
|
Upgrade shadow-cljs and ClojureScript (#15417)
This commit upgrades Shadow CLJS from 2.11.16 (released on Feb/21) to latest
2.25.0 (Jul/23), so ~1.5 years worth of upgrades. By upgrading shadow we
can finally use the latest major Clojure version 1.11.x.
Why upgrade shadow?
- Shadow CLJS controls the ClojureScript version we can use. In order to use the
latest major Clojure version we must upgrade Shadow CLJS.
- Shadow CLJS releases new versions very frequently, and if you take a look at
its changelog https://github.com/thheller/shadow-cljs/blob/master/CHANGELOG.md, you'll see
it had tons and tons of bug fixes over the years. I hope some of them help
improve the DX for certain contributors who recently reported issues with
it.
- Clojure 1.11 brings new features, bug fixes and even performance improvements
(although I think the performance mostly impacts Clojure on the JVM). See the
changelog https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1110
Things that can be beneficial to us, or are interesting nonetheless:
- New :as-alias to be used in require, which is like :as but does not require
the namespace to load. This means namespaced keywords using :as-alias can't
cause circular dependency errors. This feature would very useful if we used
namespaced keywords, but we don't, so...
https://github.com/clojure/clojure/blob/master/changes.md#22-as-alias-in-require
- New macros run-test and run-test-var to run single test with fixtures and
report.
- New iteration function, useful for processing paginated data.
https://www.abhinavomprakash.com/posts/clojure-iteration/
- New update-keys function: applies a function to every key in a map.
- New update-vals function: applies a function to every value in a map.
Examples for update-vals and update-keys. They should perform better than the
common reduce-kv approach since they use a transient data structure.
(let [m {:a 1 :b 2}]
(update-vals m inc)) ; => {:a 2, :b 3}
(let [m {:a 1 :b 2}]
(update-keys m name)) ; => {"a" 1, "b" 2}
Why change namespaces within __tests__ directories?
Any namespace with the word --tests-- throws an error, like the one below. I
didn't bother investigating why, so I changed the guidelines to reflect the new
convention. It's probably related to the double dashes in the name.
Namespace quo2.components.dividers.--tests--.divider-label-component-spec has a
segment starting with an invalid JavaScript identifier at line 1
2023-07-28 16:40:54 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-05-14 08:33:02 +00:00
|
|
|
{
|
|
|
|
"path": "thheller/shadow-util/0.7.0/shadow-util-0.7.0",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "61a374c204d797a92d9daeb4b8d9effeb0d81183",
|
|
|
|
"sha256": "10fdbqrz7zcfan8x4aikl2i532dk9dz0dfxrww91mgynf0g90rp5"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-10-11 21:53:34 +00:00
|
|
|
{
|
|
|
|
"path": "tigris/tigris/0.1.2/tigris-0.1.2",
|
|
|
|
"host": "https://repo.clojars.org",
|
|
|
|
"jar": {
|
|
|
|
"sha1": "a122db758561d995a83cbb40f252b64d8b0f506e",
|
|
|
|
"sha256": "184p1wqcc6ikj9gpaygv4f1mf1p6mqg3j6x1jmqfa53cvf769aj9"
|
|
|
|
}
|
2020-05-14 08:33:02 +00:00
|
|
|
}
|
|
|
|
]
|