Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b0e7d54

Browse files
committed
docs(guide/migration): better describe what the BC in c054288 is about
Also, updated the corresponding entry in changelog. This came up in c054288#commitcomment-14783993.
1 parent e4bb838 commit b0e7d54

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -5508,8 +5508,9 @@ See https://github.com/angular/angular.js/issues/10236 for an example.
55085508

55095509
- **angular.toJson:** due to [c054288c](https://github.com/angular/angular.js/commit/c054288c9722875e3595e6e6162193e0fb67a251),
55105510

5511-
If you expected `toJson` to strip these types of properties before,
5512-
you will have to manually do this yourself now.
5511+
`toJson()` will no longer strip properties starting with a single `$`. If you relied on
5512+
`toJson()`'s stripping these types of properties before, you will have to do it manually now.
5513+
It will still strip properties starting with `$$` though.
55135514

55145515

55155516

docs/content/guide/migration.ngdoc

+3-4
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,9 @@ This change also makes our forEach behave more like Array#forEach.
496496

497497

498498
- **angular.toJson:** due to [c054288c](https://github.com/angular/angular.js/commit/c054288c9722875e3595e6e6162193e0fb67a251),
499-
500-
If you expected `toJson` to strip these types of properties before, you will have to
501-
manually do this yourself now.
502-
499+
`toJson()` will no longer strip properties starting with a single `$`. If you relied on
500+
`toJson()`'s stripping these types of properties before, you will have to do it manually now.
501+
It will still strip properties starting with `$$` though.
503502

504503

505504

0 commit comments

Comments
 (0)