From 03367dade50ce55ce01ce0b99368569ece122016 Mon Sep 17 00:00:00 2001 From: Vesa Karvonen Date: Sun, 15 Oct 2017 03:12:51 +0300 Subject: [PATCH] Note on use of `L.valueOr` to provide defaults --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a972f3e..ccf8dc82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,8 @@ complex. In most cases this change means that uses of `L.define` or `L.define` and `L.required` now give a warning in case they are used with an empty value and a matching empty value passes through them redundantly. In cases where removal of empty values is desired, one can e.g. compose with -`L.defaults`. +`L.defaults`. In cases where some default value is needed, one can e.g. compose +with `L.valueOr`. Removed previously obsoleted `L.findHint`.