-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove SummarizerStopReason, ISummarizeEventProps, and ISummarizerEvents #23483
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@fluidframework/container-runtime": minor | ||
--- | ||
--- | ||
"section": legacy | ||
--- | ||
|
||
Removed SummarizerStopReason, ISummarizeEventProps, and ISummarizerEvents | ||
|
||
`SummarizerStopReason`, `ISummarizeEventProps`, and `ISummarizerEvents` have all been removed from the `"@fluidframework/container-runtime"` package. Please migrate all uses of these APIs to their respective copies in the `"@fluidframework/container-runtime-definitions"` package. | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -744,6 +744,7 @@ declare type current_as_old_for_Interface_ISubmitSummaryOptions = requireAssigna | |
* typeValidation.broken: | ||
* "Interface_ISummarizeEventProps": {"forwardCompat": false} | ||
*/ | ||
// @ts-expect-error compatibility expected to be broken | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @CraigMacomber -- I thought when something was removed, it got a special new entry in this file. Did that change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The type tests don't understand "removal". The tests are generated purely from the prior package API and the break settings of the current package. |
||
declare type old_as_current_for_Interface_ISummarizeEventProps = requireAssignableTo<TypeOnly<old.ISummarizeEventProps>, TypeOnly<current.ISummarizeEventProps>> | ||
|
||
/* | ||
|
@@ -753,6 +754,7 @@ declare type old_as_current_for_Interface_ISummarizeEventProps = requireAssignab | |
* typeValidation.broken: | ||
* "Interface_ISummarizeEventProps": {"backCompat": false} | ||
*/ | ||
// @ts-expect-error compatibility expected to be broken | ||
declare type current_as_old_for_Interface_ISummarizeEventProps = requireAssignableTo<TypeOnly<current.ISummarizeEventProps>, TypeOnly<old.ISummarizeEventProps>> | ||
|
||
/* | ||
|
@@ -816,6 +818,7 @@ declare type current_as_old_for_Interface_ISummarizeResults = requireAssignableT | |
* typeValidation.broken: | ||
* "Interface_ISummarizerEvents": {"forwardCompat": false} | ||
*/ | ||
// @ts-expect-error compatibility expected to be broken | ||
declare type old_as_current_for_Interface_ISummarizerEvents = requireAssignableTo<TypeOnly<old.ISummarizerEvents>, TypeOnly<current.ISummarizerEvents>> | ||
|
||
/* | ||
|
@@ -825,6 +828,7 @@ declare type old_as_current_for_Interface_ISummarizerEvents = requireAssignableT | |
* typeValidation.broken: | ||
* "Interface_ISummarizerEvents": {"backCompat": false} | ||
*/ | ||
// @ts-expect-error compatibility expected to be broken | ||
declare type current_as_old_for_Interface_ISummarizerEvents = requireAssignableTo<TypeOnly<current.ISummarizerEvents>, TypeOnly<old.ISummarizerEvents>> | ||
|
||
/* | ||
|
@@ -1428,6 +1432,7 @@ declare type current_as_old_for_TypeAlias_SummarizeResultPart = requireAssignabl | |
* typeValidation.broken: | ||
* "TypeAlias_SummarizerStopReason": {"forwardCompat": false} | ||
*/ | ||
// @ts-expect-error compatibility expected to be broken | ||
declare type old_as_current_for_TypeAlias_SummarizerStopReason = requireAssignableTo<TypeOnly<old.SummarizerStopReason>, TypeOnly<current.SummarizerStopReason>> | ||
|
||
/* | ||
|
@@ -1437,6 +1442,7 @@ declare type old_as_current_for_TypeAlias_SummarizerStopReason = requireAssignab | |
* typeValidation.broken: | ||
* "TypeAlias_SummarizerStopReason": {"backCompat": false} | ||
*/ | ||
// @ts-expect-error compatibility expected to be broken | ||
declare type current_as_old_for_TypeAlias_SummarizerStopReason = requireAssignableTo<TypeOnly<current.SummarizerStopReason>, TypeOnly<old.SummarizerStopReason>> | ||
|
||
/* | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jason-ha was suggesting we link to the release note where the deprecation was announced, rather than having to restate everything again in duplicate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep - but okay if the migration notes are short like this.