angular-cn/goldens/public-api/common
Andrea Canciani c7d5555dfb fix(common): let case conversion pipes accept type unions with `null` (#36259) (#37447)
The old implementation of case conversion types can handle several
values which are not strings, but the signature did not reflect this.

The new one reports errors when falsy non-string inputs are given to
the pipe (such as `false` or `0`) and has a new signature which
instead reflects the behaviour on `null` and `undefined`.

Fixes #36259

BREAKING CHANGE:
The case conversion pipes no longer let falsy values through. They now
map both `null` and `undefined` to `null` and raise an exception on
invalid input (`0`, `false`, `NaN`) just like most "common pipes". If
your code required falsy values to pass through, you need to handle them
explicitly.

PR Close #37447
2020-09-28 12:23:32 -04:00
..
http fix(common): add `params` and `reportProgress` options to `HttpClient.put()` overload (#37873) 2020-09-16 15:28:21 -07:00
testing ci: move public-api goldens to goldens directory (#35768) 2020-03-10 20:58:39 -04:00
upgrade ci: move public-api goldens to goldens directory (#35768) 2020-03-10 20:58:39 -04:00
common.d.ts fix(common): let case conversion pipes accept type unions with `null` (#36259) (#37447) 2020-09-28 12:23:32 -04:00