Skip to content

Commit 4971b27

Browse files
authored
Update breaking-changes.md (#34544)
changed "almost any change in behavior could result breaking someone" to be "almost any change in behavior could cause a logic error for a consumer". I very much doubt the author intended to say "breaking someone", maybe "breaking something" and that's why I added 'for a consumer'. Personally I prefer "almost any change in behavior could cause a logic error" but will leave it changed as-is to keep as close to what I believe is the authors intent.
1 parent 51f4307 commit 4971b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard/library-guidance/breaking-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Because a source breaking change is only harmful when developers recompile their
4444

4545
### Behavior breaking change
4646

47-
Behavior changes are the most common type of breaking change: almost any change in behavior could break someone. Changes to your library, such as method signatures, exceptions thrown or input or output data formats, could all negatively impact your library consumers. Even a bug fix can qualify as a breaking change if users relied on the previously broken behavior.
47+
Behavior changes are the most common type of breaking change: almost any change in behavior could cause a logic error for a consumer. Changes to your library, such as method signatures, exceptions thrown or input or output data formats, could all negatively impact your library consumers. Even a bug fix can qualify as a breaking change if users relied on the previously broken behavior.
4848

4949
Adding features and improving bad behaviors is a good thing, but without care it can make it very hard for existing users to upgrade. One approach to helping developers deal with behavior breaking changes is to hide them behind settings. Settings let developers update to the latest version of your library while at the same time choosing to opt in or opt out of breaking changes. This strategy lets developers stay up to date while letting their consuming code adapt over time.
5050

0 commit comments

Comments
 (0)