Skip to content

Commit

Permalink
Add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyorain committed Apr 16, 2023
1 parent 9c85b13 commit 72dfcc8
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions docs/changelog.md
@@ -1,12 +1,18 @@
2021-12-22
2023-04-16 (cumulative)
- Add `dlg_assert_or` macro that will execute code in case the
assertion fails.
Note that this will even happen when dlg is disabled, so suited
for early-outs and defensive coding.
- Add `DLG_FAILED_ASSERTION_TEXT(x)`, a wrapper around the failed
expression of an assert. Only ever called when the assertion
has failed, so can be used to add additional handling (e.g.
throwing) in that case for certain build configs. Found to be
useful for static analysis, to silence warnings asserted upon.
- Rework how DLG_DISABLE works for api non-macro functions.
The functions are now independent from DLG_DISABLE to prevent
linking issues when DLG_DISABLE is defined

2020-11-02
- Move documentation from disabled functions to actual implementations,
may be more useful
- Add (improved) dlg_assert_or utility macros
=== Release of v0.3 ===

2019-12-07
- Add dlg_get_handler to allow handler chaining for debugging
Expand Down

0 comments on commit 72dfcc8

Please sign in to comment.