Skip to content

0.4.0: q macro, latest Clerk compatibility

Compare
Choose a tag to compare
@sritchie sritchie released this 18 Feb 16:19
· 13 commits to main since this release
  • #17 adds mentat.clerk-utils.viewers/q, similar to quote or ', for
    writing viewers with alias resolution and splicing. The clj-kondo config has
    an accompanying hook that handles linting of this form.

  • #21:

    • Adds bb test, GitHub Action for tests and the deps.edn entry required to
      make it work.

    • Fixes a j/ alias left over in mentat.clerk-utils.show/loading-viewer;
      these aliases aren't available in the latest Clerk SCI environment, and need
      to be fully expanded.

  • #19:

    • Upgrades to Clerk version fad499407d979916d21b33cc7e46e73f7a485e37

    • Modifies the clerk-utils/custom template and project to use fully
      qualified vars inside of viewers.

    • Removes mentat.clerk-utils.sci, as register-js! was superceded by the
      new :js-libs option provided by SCI.

  • #18 adds a provided dependency on clerk to the published jar, so that
    cljdoc's analysis will succeed.

  • #16:

    • Fix broken deps reference in clerk-utils/custom template instructions
      (closes #15)

    • In mentat.clerk-utils.build/serve!, call clerk/show! before
      clerk/serve! to prevent flashing loading screen, if an index is supplied.

    • Fix incorrect docstrings in project template bb.edn

    • Add config.edn to clerk-utils/custom template, so that future
      clj-kondo commands (like --copy-config calls etc) work.