Skip to content

fix(cdk/table): remove private symbols from public API #30956

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 1 commit into from
Apr 25, 2025

Conversation

crisbeto
Copy link
Member

Removes some symbols that are only constructed privately in the table from the public API. These shouldn't be exported or depended upon, because there's no way to actually pass them back into the table.

I also ended up removing the CDK_TABLE_TEMPLATE variable, because it doesn't work in local compilation and it may become a problem in the future if we end up having single-file compilation in the framework.

BREAKING CHANGE:

  • CanStick has been removed.
  • CDK_TABLE_TEMPLATE has been removed.
  • StickyDirection has been removed.
  • StickyStyler has been removed.

Removes some symbols that are only constructed privately in the table from the public API. These shouldn't be exported or depended upon, because there's no way to actually pass them back into the table.

I also ended up removing the `CDK_TABLE_TEMPLATE` variable, because it doesn't work in local compilation and it may become a problem in the future if we end up having single-file compilation in the framework.

BREAKING CHANGE:
* `CanStick` has been removed.
* `CDK_TABLE_TEMPLATE` has been removed.
* `StickyDirection` has been removed.
* `StickyStyler` has been removed.
@crisbeto crisbeto added the target: major This PR is targeted for the next major release label Apr 25, 2025
@crisbeto crisbeto requested a review from a team as a code owner April 25, 2025 08:20
@crisbeto crisbeto requested review from adolgachev and mmalerba and removed request for a team April 25, 2025 08:20
@angular-robot angular-robot bot added detected: breaking change PR contains a commit with a breaking change area: cdk/table labels Apr 25, 2025
@crisbeto crisbeto requested a review from andrewseguin April 25, 2025 11:46
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Apr 25, 2025
@crisbeto crisbeto merged commit 6ffe9c7 into angular:main Apr 25, 2025
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: cdk/table detected: breaking change PR contains a commit with a breaking change target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants