Liking cljdoc? Tell your friends :D

Change Log

[Unreleased]

Security

  • Bump com.taoensso/nippy to 3.10.0 and com.taoensso/carmine to 3.8.0, which fix GHSA-3j76-gphv-mwch and GHSA-r257-vm5v-7wqc: thawing bytes that an untrusted party can supply or modify could run arbitrary code. toyokumo.commons.valkey.glide (both codecs, and the Ring session store on top of them) and toyokumo.commons.redis.carmine thaw values read from Valkey/Redis with nippy. If your project pins com.taoensso/nippy or com.taoensso/carmine itself, bump the pin as well.

Changed

  • Possibly breaking: with nippy 3.10.0, a stored exception (or other Java Serializable object) that contains a class outside nippy's thaw allowlist is no longer thawed. Reading such a value returns a {:nippy/unthawable {...}} quarantine map in place of the object, e.g. an ex-info whose cause is a library exception or whose ex-data holds a java.io.File. Ordinary Clojure data, and exceptions made only of java.* / clojure.lang.* exceptions and ordinary data, are read as before. See the nippy 3.10.0 release notes for how to allow additional classes.
  • Possibly breaking: carmine 3.6.0 (included in the bump from 3.5.0 to 3.8.0) makes connection setup fail on AUTH/SELECT errors that were silently ignored before, and changes Pub/Sub listener and message queue worker behaviour. See the carmine changelog.
  • Bump dependencies: org.clojure/clojure 1.12.8, com.cognitect/transit-clj 1.2.372, commons-codec/commons-codec 1.23.0, ring/ring-core 1.15.6, info.sunng/ring-jetty9-adapter 0.40.7, com.github.seancorfield/next.jdbc 1.4.72, metosin/jsonista 1.0.2, io.valkey/valkey-glide 2.6.0, org.clojure/tools.logging 1.3.2.

0.4.258

Added

  • toyokumo.commons.experimental.firebase.admin-sdk/FirebaseAdmin accepts the service account key as a JSON string via :service-account-key, for environments that provide the key through an environment variable or a secret store rather than a file. A non-blank :service-account-key takes precedence over :service-account-key-path; one of the two is required.

0.4.254

Changed

  • Bump dependencies.

0.4.247

Added

  • Add set commands to toyokumo.commons.valkey.glide: sadd, srem (both variadic) and sscan (a single SSCAN iteration taking a cursor and returning the next one with that page's members, so a scan can be paged and resumed by the caller; optional COUNT and MATCH). See doc/valkey-glide.md.

0.4.240

Added

  • Add toyokumo.commons.valkey.glide/getdel: returns the value of a key and deletes it in one command.

0.4.234

Added

  • Add toyokumo.commons.valkey.glide: a Valkey client on top of the Valkey GLIDE Java SDK, supporting standalone and cluster mode (e.g. ElastiCache Serverless). Provides a Glide component (Lifecycle + HealthCheck), basic commands, pluggable codecs (default and carmine-compat for migrating from carmine), public low-level building blocks for defining additional commands in application code, and a glide-backed Ring session store (toyokumo.commons.valkey.glide.ring.session/glide-store). See doc/valkey-glide.md.
  • Add direct dependencies: io.valkey/valkey-glide, com.taoensso/nippy, ring/ring-core.

Changed

  • Local/CI test infrastructure now runs valkey/valkey:8.1-alpine instead of redis:alpine (protocol-compatible; existing carmine tests are unaffected).

0.4.225

Added

  • toyokumo.commons.server.jetty9/Jetty9Server now performs graceful shutdown by default: on SIGTERM the server drains in-flight HTTP requests (rejecting new requests with 503) before stopping, waiting up to default-stop-timeout-ms (25s). Pass :graceful-shutdown {:stop-timeout-ms N} to override the timeout. If an explicit :configurator is given, it takes priority and graceful shutdown is not applied.

0.4.218

Breaking

  • Drop Java 11 support. Supported Java versions are now 17, 21, and 25.

Changed

  • Bump dependencies.

0.3.209

Added

  • Add executors option to Lacinia component. If you want to set custom executors, you can use this option.

0.3.205

Added

  • Add with-graceful-shutdown macro.

0.3.199

Breaking

  • Add enable-introspection option to Lacinia component. If you want to enable introspection, you need to set enable-introspection to true explicitly.

0.3.195

Changed

  • Bump whole dependencies.

0.3.182

Changed

  • Updated to use org.eclipse.angus/angus-mail instead of com.sun.mail/jakarta.mail.
    • Jakarta Mail implementation had been moved to Eclipse Angus.

0.3.174

Changed

  • Bumped lacinia to 1.2.

0.3.171

Changed

  • Enabled toyokumo.commons.experimental.firebase.admin-sdk/FirebaseAdmin to specify FirebaseOptions$Builder via the options-builder option.

0.3.167

Fixed

  • Fixed toyokumo.commons.ring.response/attachment to work correctly with Safari.

0.3.164

Changed

  • Changed to use build.edn to build and deploy this library.

Breaking

  • Make SendGrid API base URL customizable and remove them from vars.

0.3.156

Changed

  • Exclude slf4j-api from dependencies.

Fixed

  • Fix toyokumo.commons.ring.response/attachment to handle filenames containing spaces correctly.

0.3.151

Breaking

  • Remove deprecated codes for PostgreSQL. Use toyokumo.commons.db.postgresql and toyokumo.commons.db.extension.postgresql

Fixed

  • Fix cljdoc to be able to generate documents correctly.

Added

  • Experimental support for GraphQL.

0.3.139

Added

  • Improve and add lint settings
  • Add Intellij settings
  • Add PostgreSQL specific namespaces

0.3.121

Breaking

  • Use deps.edn instead of Leiningen.

Changed

  • Use GitHub actions instead of CircleCI.

0.3.0

Breaking

  • JDK 8 support was dropped because updated to Jetty 10.

0.2.3

Changed and breaking

0.2.2

Added

  • Add email quote and unquote util
  • Add email protocol and SendGrid implementation

Fixed

  • Fix qualified-name to work on cljs

Changed

  • Make transit enable to use from cljs
  • Add response types
  • Upgrade Jetty9
  • Upgrade jakarta mail

0.2.1

Added

  • Add qualified-name

0.2.0

Added

  • Add components such as Jetty9Server, HikariCP and Carmine and functions to use them
  • Add ring middlewares such as wrap-health-check and wrap-trailing-slash

Changed

  • Use jsonista for encoding and decoding JSON

0.1.5

Fixed

  • Fix toyokumo.commons.ring.response/attachment to work on IE

0.1.4

Added

  • Add toyokumo.commons.io/excluding-bom-reader

0.1.3

Added

  • Add session utilities to toyokumo.commons.ring.response

0.1.2

Added

  • Add charset option to url-encode, url-decode in toyokumo.commons.url and html, json and csv in toyokumo.commons.ring.response

Breaking

  • Divide toyokumo.commons.ring.response/csv into attachment and csv

0.1.1

Fixed

  • Remove schema from a cljc file

0.1.0

Initial release.

Can you improve this documentation? These fine people already did:
makinoshi, github-actions, liquidz, egs33, syunta, Masanori Kinoshita, Tetta Ueyama, myuk11, Ayaka Soeda, nullworkbench, Iizuka Masashi, Kazuho Koizumi & ksk02
Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close