Skip to content
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

Breaking 5.0.0 Changes #2255

Closed
29 tasks done
Keboo opened this issue Feb 19, 2021 · 5 comments
Closed
29 tasks done

Breaking 5.0.0 Changes #2255

Keboo opened this issue Feb 19, 2021 · 5 comments
Labels
breaking change Items here have breaking API changes. release notes Items are likely to be highlighted in the release notes.
Milestone

Comments

@Keboo
Copy link
Member

Keboo commented Feb 19, 2021

There is an existing 5.0.0 branch where these changes are being made. Once we are a little closer to the release this branch will be merged into master. Anyone is welcome to pick up tasks here and PR into the 5.0.0 branch.

This is a list of proposed breaking changes for the 5.0.0 release. Feedback welcome!

  • Remove DrawerHostOpenMode.Model (Added in 4.0.0, Obsolete in 4.1.0)
  • Remove MaterialDesignScrollBarThumbVertical and MaterialDesignScrollBarThumbHorizontal replace with MaterialDesignScrollBarThumb
  • Consider making recommended theme color classes static.
    • Currently not possible because they implement the ISwatch interface.
  • Update ListBoxItem to use theme brush for hover color rather than deriving from the Foreground.
  • Update MenuItem to use theme brush for hover color rather than deriving from the Foreground.
  • There is a both usage of "Assist" and "Extensions" used. Consider standardizing on naming
  • Remove MaterialDesignRaisedAccentButton in favor of MaterialDesignRaisedSecondaryButton
  • Remove MaterialDesignFlatAccentButton in favor of MaterialDesignFlatSecondaryButton
  • Remove MaterialDesignFlatAccentBgButton in favor of MaterialDesignFlatSecondaryMidBgButton
  • Remove MaterialDesignFloatingActionMiniAccentButton in favor of MaterialDesignFloatingActionMiniSecondaryButton
  • Remove MaterialDesignFloatingActionAccentButton in favor of MaterialDesignFloatingActionSecondaryButton
  • Remove ComboBoxPopupPlacement
  • Remove obsolete members from ComboBoxPopup
  • Remove obsolete templates PopupContentUpTemplate and PopupContentDownTemplate
  • Remove obsolete brushes Theme brush rename #2435
  • Replace usages of "Accent" with "Secondary"
  • Remove "MaterialDesignNavigatilRailTabControl" it is replaced by "MaterialDesignNavigationRailTabControl"
  • Remove RatingBarButton.IsWithinSelectedValue property
  • Remove obsolete members from FlyoutAssist
  • Remove ShadowDepth
  • Remove ShadowAssist.ShadowEdges
  • Rename ShadowEdgeConverter to ShadowOpacityMaskConverter to better reflect its usage
  • Ensure all styles and brushes that contain the word "Accent" have been replaced with "Secondary"
  • Remove PickerInnerPaddingConverter (obsolete in PR Additional SmartHint refactoring #3181)
  • Rename all *Mixin classes to be *Extensions
  • Remove MaterialDesignTheme.Defaults.xaml in favor of people using either MaterialDesign2.Defaults.xaml or MaterialDesign3.Defaults.xaml
  • Ensure all removed obsolete styles exist in the Obsolete shim resource dictionary.
  • Remove ITheme in favor of Theme
  • Remove IBaseTheme. Its usages are replaced with ThemeExtensions.SetBaseTheme() method.
@Keboo Keboo added breaking change Items here have breaking API changes. release notes Items are likely to be highlighted in the release notes. labels Feb 19, 2021
@Keboo Keboo added this to the 5.0.0 milestone Feb 19, 2021
@Keboo Keboo pinned this issue Feb 19, 2021
@Keboo Keboo mentioned this issue Dec 21, 2021
21 tasks
Keboo added a commit to Awsmolak/MaterialDesignInXamlToolkit that referenced this issue Feb 24, 2022
Keboo added a commit that referenced this issue Feb 24, 2022
#2585)

* Renamed MaterialDesignNavigatilRailTabControl to MaterialDesignNavigationRailTabControl

* Allowing for backwards compat until 5.0.0

Added to the list on #2255

* Fixing my typo

Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
@jizc
Copy link
Contributor

jizc commented Jul 19, 2022

Might be good to add "Remove ShadowDepth" here. Context: #2786

@MichelMichels
Copy link
Member

MichelMichels commented May 18, 2023

I'm in favor of dropping the netcoreapp3.1 target framework moniker as it reached it's end-of-life on December 13th, 2022. I'll make a pull request for it.

@cjmurph
Copy link
Contributor

cjmurph commented May 22, 2024

I think there is some missing breaking changes around the removal of ITheme and IBaseTheme interfaces. Maybe this is not the place? I couldn't find any reference to the removal of these interfaces anywhere else in regards to 4.9 -> 5.0

@DavidCFreire
Copy link

I think there is some missing breaking changes around the removal of ITheme and IBaseTheme interfaces. Maybe this is not the place? I couldn't find any reference to the removal of these interfaces anywhere else in regards to 4.9 -> 5.0

Same behavior here. Missing iTheme

@Keboo
Copy link
Member Author

Keboo commented May 27, 2024

@cjmurph and @DavidCFreire thank you for pointing this out. I had overlooked this change in the large number of other 5.0 changes (I have updated the list above).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Items here have breaking API changes. release notes Items are likely to be highlighted in the release notes.
Projects
Status: Done
Development

No branches or pull requests

5 participants