-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Remove deprecated factories #31812
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
Merged
Merged
Remove deprecated factories #31812
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY` has been removed. * `TREE_KEY_MANAGER_FACTORY` has been removed. * `TREE_KEY_MANAGER_FACTORY_PROVIDER` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY` has been removed. * `MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY` has been removed. * `MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_FAB_DEFAULT_OPTIONS_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `ICON_REGISTRY_PROVIDER` has been removed. * `ICON_REGISTRY_PROVIDER_FACTORY` has been removed. * `MAT_ICON_LOCATION_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_PAGINATOR_INTL_PROVIDER` has been removed. * `MAT_PAGINATOR_INTL_PROVIDER_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_PROGRESS_BAR_LOCATION_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_RADIO_DEFAULT_OPTIONS_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_SELECT_SCROLL_STRATEGY_PROVIDER` has been removed. * `MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_SORT_HEADER_INTL_PROVIDER` has been removed. * `MAT_SORT_HEADER_INTL_PROVIDER_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_STEPPER_INTL_PROVIDER` has been removed. * `MAT_STEPPER_INTL_PROVIDER_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `_MAT_INK_BAR_POSITIONER_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY` has been removed. * `MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY` has been removed. * `MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_LUXON_DATE_ADAPTER_OPTIONS_FACTORY` has been removed.
Removes factory functions that we had marked as deprecated for v21. These functions aren't necessary since we switched to standalone. BREAKING CHANGE: * `MAT_MOMENT_DATE_ADAPTER_OPTIONS_FACTORY` has been removed.
Inlines a factory constant that doesn't need to be separate from its token definition.
Removes a couple of providers that aren't necessary anymore after the switch to standalone.
b3c2f1b
to
10313d3
Compare
andrewseguin
approved these changes
Sep 2, 2025
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
action: merge
The PR is ready for merge by the caretaker
area: cdk/a11y
area: cdk/bidi
area: cdk/overlay
area: material/autocomplete
area: material/button
area: material/button-toggle
area: material/checkbox
area: material/core
area: material/datepicker
area: material/icon
area: material/menu
area: material/paginator
area: material/progress-bar
area: material/progress-spinner
area: material/radio
area: material/select
area: material/sidenav
area: material/snack-bar
area: material/sort
area: material/stepper
area: material/tabs
area: material/tooltip
detected: breaking change
PR contains a commit with a breaking change
merge: preserve commits
When the PR is merged, a rebase and merge should be performed
target: major
This PR is targeted for the next major release
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the past we had to export factory functions due to limitations in ViewEngine. These changes remove those factories since Ivy doesn't have the same limitations.