Timeline for Is changing the signature of a callback a breaking change?
Current License: CC BY-SA 4.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Nov 22, 2024 at 8:24 | history | suggested | Pang | CC BY-SA 4.0 | Improve spelling and wording. |
| Nov 22, 2024 at 1:56 | review | Suggested edits | |||
| S Nov 22, 2024 at 8:24 | |||||
| Aug 18, 2024 at 8:47 | history | edited | Doc Brown | CC BY-SA 4.0 | added 256 characters in body |
| Aug 16, 2024 at 20:07 | comment | added | Doc Brown | .. see also Flater's IMHO correct answer, who states that a any change which breaks a possible usage (even if that usage is based on side effects) counts as a breaking change. Of course, there are edge cases where the literal interpreation of "observable behaviour" might go too far, | |
| Aug 16, 2024 at 19:57 | comment | added | Doc Brown | @ColeTobin: even if you don't like it, such things can break client's code, and when you write libraries for a huge number of clients, you will be better off to either increase the major version number, or to be careful to make a more backwards compatible implementation. Those two options are rarely both that terrible that it pays off to refuse them both, Unfortunately, Hyrum's law is based on factual observations, not some pathological cases. | |
| Aug 16, 2024 at 19:25 | comment | added | Cole Tobin | Hard disagree. Breaking stuff for users relying on undocumented behavior is not a backwards incompatible change. If a user expects an unspecified fourth parameter to always be undefined (because JS), that’s on them. Otherwise, one could claim every change is a breaking change. For example, if I (undocumentedly) use /tmp, but switch to in-memory cache, that’s not a breaking change, even if some user decided they’d access the files while I am. Alternatively, is adding a new property to a JS object I return a breaking change because some user named their own prop the same way on that object? | |
| Aug 16, 2024 at 14:46 | history | edited | Doc Brown | CC BY-SA 4.0 | deleted 11 characters in body |
| Aug 16, 2024 at 14:37 | history | edited | Doc Brown | CC BY-SA 4.0 | added 59 characters in body |
| Aug 16, 2024 at 14:25 | vote | accept | BadIdeaException | ||
| Aug 15, 2024 at 20:31 | history | edited | Doc Brown | CC BY-SA 4.0 | added 730 characters in body |
| Aug 15, 2024 at 20:25 | history | edited | Doc Brown | CC BY-SA 4.0 | added 730 characters in body |
| Aug 15, 2024 at 16:03 | history | edited | Doc Brown | CC BY-SA 4.0 | added 103 characters in body |
| Aug 15, 2024 at 15:22 | history | edited | Doc Brown | CC BY-SA 4.0 | added 77 characters in body |
| Aug 15, 2024 at 15:16 | history | edited | Doc Brown | CC BY-SA 4.0 | added 51 characters in body |
| Aug 15, 2024 at 15:10 | history | answered | Doc Brown | CC BY-SA 4.0 |