Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 2.4 KB

CHANGELOG.md

File metadata and controls

73 lines (49 loc) · 2.4 KB

Changelog

0.2.96 (2023-08-07)

Fixed

  • Options supplied to static-scan are not evaluated

0.2.94 (2023-08-06)

Added

  • Classpath scanning now supports include? and exclude? filter predicates (#10)
  • Added init.discovery/require-namespaces

Fixed

  • Fixed a few Reflection warnings
  • static-scan no longer requires init.discovery to be aliased as discovery

Removed

  • Breaking: Removed 0-arity of init.discovery/classpath-namespaces
  • Breaking: Removed 2-arity of init.discovery/scan

0.2.90 (2022-10-27)

  • Reimplemented classpath scanning without clojure.tools.namespace.
    Uses a simpler heuristic without reading ns macros, and also works with ahead-of-time compiled <name>__init.class files.
  • Don't load found namespaces at compile time in static-scan, as this often causes runtime errors such as java.lang.NoSuchFieldError: __thunk__0__.
    Instead, just require the namespaces and build the config at runtime using from-namespaces.

0.2.86 (2022-10-26)

  • #1: Support vars in :init/inject
  • Fix: Components without dependencies are not started

0.2.83 (2022-07-15)

  • Automatically close java.lang.AutoCloseable components

Rework in init.graph:

  • Compute dependency order once and reuse it
  • Breaking: Use com.stuartsierra/dependency instead of weavejester/dependency
  • Breaking: init.graph/get-component is gone
  • Breaking: init.graph/[reverse]-dependency-order returns entries instead of keys

0.1.77 (2022-06-05)

  • Recognise type hints as tags
  • Wrap exceptions thrown on component start and stop
  • Stop partially started system on exception

0.1.67 (2022-06-04)

First public release