Skip to content

refactor!: remove the members deprecated in 0.10.0 - #74

Merged
damyanpetev merged 1 commit into
dpetev/naming-updatesfrom
dpetev/deprecated-api
Oct 8, 2026
Merged

damyanpetev merged 1 commit into
dpetev/naming-updatesfrom
dpetev/deprecated-api

Conversation

@damyanpetev

Copy link
Copy Markdown
Member
Removed Use instead
GridLiteColumnDataType.Date String: grid-lite has no date data type, so Date already behaved like it
RenderAsync(), RefreshAsync() Nothing: the grid renders on its own and updates from its parameters. To show changed data or expressions, assign a new collection.
UpdateDataAsync(IEnumerable<TItem>) Assign a new collection to Data
GridId Nothing: the grid's internal id isn't needed to use it

The client script's updateData, which only UpdateDataAsync called, goes too. The element's id and the interop id stay internal.

Tests

  • The first render is now the grid's only client render, so the tests for the removed members and Refresh_DoesNotDuplicateEventCallbacks (with the test bed's refresh button and Sorted counter) are gone.
  • DisposingWhileRenderYields_DoesNotRenderAfterwards covers the disposed check after the first render's Task.Yield. Disposing during that yield must not register the grid on the client afterwards.

Downstream

igniteui-blazor-examples' grid-lite/overview sample still uses GridLiteColumnDataType.Date on master; vnext already uses String.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The removals are complete, consistently documented, and supported by updated lifecycle coverage.

0 open findings

What changed in this PR

Removes public APIs deprecated in 0.10.0 and their obsolete interop and test infrastructure.

Changes:

  • Removes deprecated enum/member APIs and updateData interop.
  • Updates lifecycle coverage for disposal during initial rendering.
  • Removes obsolete refresh-related test-bed and integration coverage and documents the breaking changes.
File Description
CHANGELOG.md Documents removed APIs as breaking changes.
src/​IgniteUI.Blazor.GridLite/​IgbGridLite.razor.cs Removes deprecated component members.
src/​IgniteUI.Blazor.GridLite/​Models/​IgbGridLiteColumnConfiguration.cs Removes the deprecated Date enum value.
src/​IgniteUI.Blazor.GridLite/​igc-grid-lite-entry.js Removes unused updateData interop.
tests/​IgniteUI.Blazor.GridLite.Tests/​GridLiteJsInteropTests.cs Removes obsolete tests and adds disposal-yield coverage.
tests/​IgniteUI.Blazor.GridLite.Tests/​EnumSerializationTests.cs Removes Date serialization coverage.
tests/​IgniteUI.Blazor.GridLite.TestBed/​Components/​Pages/​GridPage.razor Removes refresh-specific test controls and state.
tests/​IgniteUI.Blazor.GridLite.IntegrationTests/​GridLiteTests.cs Removes the obsolete refresh integration test.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@damyanpetev
damyanpetev requested a review from MayaKirova October 8, 2026 11:01
@damyanpetev
damyanpetev force-pushed the dpetev/deprecated-api branch from c8c16a9 to e40c813 Compare October 8, 2026 11:24
@damyanpetev
damyanpetev merged commit a8d3a87 into master Oct 8, 2026
6 checks passed
@damyanpetev
damyanpetev deleted the dpetev/deprecated-api branch October 8, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants