Skip to content

Commit ba9c71d

Browse files
committed
CHANGELOG for multimethods + cljs.test/report
1 parent 4b39a85 commit ba9c71d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44

55
## 0.11.187
66

7+
- Add multimethod support: `defmulti`, `defmethod`, `get-method`, `methods`,
8+
`remove-method`, `remove-all-methods`, `prefer-method`, `prefers`, plus
9+
hierarchy ops `isa?`, `derive`, `underive`, `make-hierarchy`, `parents`,
10+
`ancestors`, `descendants`. The runtime lives in a separate
11+
`squint-cljs/src/squint/multi.js` module imported only when one of these
12+
forms appears in user code, so programs that don't use multimethods pay
13+
zero bundle cost.
14+
- `cljs.test/report` is now a multimethod keyed on
15+
`[*current-reporter* (:type m)]`. Users can extend reporting the same
16+
way as in `cljs.test`, e.g.
17+
`(defmethod report [:cljs.test/default :begin-test-var] [m] ...)`.
18+
`test-var` now also fires `:begin-test-var` / `:end-test-var` events
19+
(previously they were declared but never emitted).
720
- Accept plain `await` in async functions, in anticipation of CLJS next.
821
The legacy `js-await` and `js/await` forms continue to work as
922
aliases for now and may be deprecated in a future version.

0 commit comments

Comments
 (0)