Liking cljdoc? Tell your friends :D

Changelog

Unreleased

Bug fixes

  • [fix #78] Fix watermarking moved namespaces
  • [fix #53] Fix inlining where one directory name in the library is a substring of an other directory name
  • [fix #49] Options accepted from both CLI and the project map
  • [fix #72] Mranderson rewrites some clj/cljc files twice (instaparse)
  • [fix #56] Fix intermittent broken files when inlining
  • [fix #90] Fix spade/core.cljs not found
  • [fix #76] Consider org.clojure/core.rrb-vector as part of clojure.core

Changes

  • [feature #42] uncouple MrAnderson from leiningen to support general use
  • [maint #66] bump MrAnderson dependencies
  • [fix #63] introduce mranderson.internal.no-parallelism as on option temporarily
  • integration tests against cider-nrepl and refactor-nrepl
  • improve CI matrix
  • Simplify internal threading setup
  • [fix #58] Offer a new :included-source-paths option, which is described in the README.
  • use org.pantsbuild.jarjar:1.7.2 instead of jarjar:1.3. Also abandoned but still an upgrade

0.5.3

Bug fixes

  • [fix #47] Error when inlining cljfmt 0.7

0.5.2

Bug fixes

  • [Fix #44] Ignore invalid duplicates where file location does not match namespace declaration -- thanks @xsc
  • Fix NPE when trying to process cljc file without a namespace declaration

Changes

  • minimum leiningen version upgraded to 2.9.1
  • some internal improvements: tests added, kaocha added as test runner, codecov added to CI

0.5.1

Bug fixes

  • [Fix #29] Only consider sym a libspec-prefix if it is at the beginning of a list
  • [Fix #28] Fully qualified sym can be a dotted prefix to refer a def in cljs
  • [Fix #14] Teach mranderson about imports where the namespace name prefixes the record name with a dot, for exampe (:import foo.bar.baz.FooBar)

Changes

  • [Fix #31] Do not copy anything under META-INF directory when unzipping dependency for inlining as meta files are unnecessary in the end product.
  • [Fix #30] Both :inline-dep and :source-dep meta tag on dependencies are supported to signal that MrAnderson should inline given dependency.
  • Related to #14 when the ns macro is processed the :import section of the ns macro is processed first. Only when that part is done the rest of the ns macro is considered for replacements.

0.5.0

Breaking changes

  • source-deps leiningen task is renamed to inline-deps

Changes

  • introducing unresolved tree mode where mranderson works on an unresolved dependency tree, walks it depth first when processing it. applies transient deps hygiene
  • introduce resolved tree mode where resolved dependency tree is flattened into a topological ordered list for processing. every depedency (transient ones too) is considered first level
  • namespaces are split when processed: the ns macro is parsed and modified with rewrite-clj the body of the ns is processed textually
  • process files in parallel when updating changed namespace in all dependent files (parallel is used)
  • add some tests and auto build via circleci
  • breaking up mranderson.source-deps ns into multiple namespaces for readability/maintainablity
  • mranderson understands :mranderson section in the project.clj for certain config options (project-prefix, overrides, expositions, shadowing-only)
  • add overrides config option for the unresolved tree mode to make overriding transient deps possible
  • add expositions config option for the unresolved tree mode to override transient deps hygiene so a transient dependency would be available for the project's own source files
  • track changes in a this file from this release instead of the github releases page

Bug fixes

  • [Fix #7] Both unresolved tree and resolved tree modes fix overriden deps break topological sort issue. The topological order is not important when the unresolved tree is used whilest the topological order is derrived from the unresolved tree when resolved tree is used in resolved tree mode
  • [Fix #19] Add watermark to mrandersoned dependency nses
  • [Fix #21] Rewrite README to make it more informative (hopefully)
  • [Fix #25] project-prefix's default is unique so mrandersoned libs using the same mranderson version can't clash

Previous versions

Please see the releases page on github.

Can you improve this documentation? These fine people already did:
Benedek Fazekas, Lee Read, lread & vemv
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close