1.9.89 - cljs.spec & :preloads

Jun 22, 2016 by David Nolen on Google Groups

This release fixes several cljs.spec issues. It also includes a new compiler option - :preloads. This feature is designed to simplify (but not limited to) the loading of development time side effects such as enabling printing, REPL connections, and browser tool integration. With :preloads you may now specify a sequence of namespaces as symbols to load in order immediately after cljs.core. This also means there's a path for providing typical boilerplate as documented namespaces that users can specify in their dev builds.

As always feedback welcome!

Enhancements

  • CLJS-1688: :preloads compiler option for loading other entry points prior to :main
  • cljs.spec - support gen overrides by name in addition to path
  • cljs.spec - every and every-kv

Changes

  • added bounded-count

Fixes

  • missing cljs.spec/fn-specs -> cljs.spec/get-spec in cljs.spec.test ns
  • CLJS-1687: Self-host: cljs.spec: inst-in-range? and int-in-range? need qualification
  • CLJS-1668: cljs.spec: c alias needs expansion in int-in