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

Update XAML Behaviors Dependency #3008

Closed
michael-hawker opened this issue Sep 14, 2019 · 6 comments
Closed

Update XAML Behaviors Dependency #3008

michael-hawker opened this issue Sep 14, 2019 · 6 comments
Assignees
Labels
good first issue Issues identified as good for first-time contributors help wanted Issues identified as good community contribution opportunities improvements ✨ in progress 🚧 maintenance ⚙️
Milestone

Comments

@michael-hawker
Copy link
Member

We should update the XAML Behaviors dependency we have from 1.1 to 2.x. I'm not sure if there are breaking changes or not, but assuming they have more functionality. Some research needs to be done here to understand the ramifications, especially if those are breaking changes or not.

@michael-hawker michael-hawker added help wanted Issues identified as good community contribution opportunities improvements ✨ maintenance ⚙️ labels Sep 14, 2019
@michael-hawker michael-hawker added this to the future milestone Sep 14, 2019
@ghost ghost added the needs triage 🔍 label Sep 14, 2019
@michael-hawker michael-hawker added no-recent-activity 📉 Open Issues that require attention and removed no-recent-activity 📉 Open Issues that require attention labels Oct 17, 2019
@michael-hawker michael-hawker modified the milestones: future, 6.1 Apr 2, 2020
@michael-hawker
Copy link
Member Author

This is crashing users in the French locale, see microsoft/XamlBehaviors#154

@michael-hawker michael-hawker added the good first issue Issues identified as good for first-time contributors label Apr 2, 2020
@michael-hawker
Copy link
Member Author

@Jasonstein let us know if you plan to pick this up when you have time. Should just be a matter of doing some tests of the Toolkit behaviors (we have some that have sample pages in the Sample app)

@0x7c13
Copy link
Contributor

0x7c13 commented Apr 8, 2020

@Jasonstein let us know if you plan to pick this up when you have time. Should just be a matter of doing some tests of the Toolkit behaviors (we have some that have sample pages in the Sample app)

I will take a look this week and share my findings here.

@michael-hawker
Copy link
Member Author

michael-hawker commented Apr 8, 2020

Thanks @Jasonstein, much appreciated! I've assigned this issue to you for tracking.

We have better Unit Test infrastructure in our CI now, so not sure if that helps in fortifying any existing code paths.

@0x7c13
Copy link
Contributor

0x7c13 commented Apr 13, 2020

Here is my updates regarding to upgrading Behaviors package:

WCT Projects having direct references to "Microsoft.Xaml.Behaviors.Uwp.Managed":

  • Microsoft.Toolkit.Uwp.SampleApp.csproj
  • Microsoft.Toolkit.Uwp.UI.csproj
  • Microsoft.Toolkit.Uwp.UI.Animations.csproj

All currently are using version 1.1.0 and needs to upgrade to v2.0.1 (latest ver).
I tried to upgrade all of them and build/run without any issues.

Here is the list of Microsoft.Xaml.Interactivity usage in WCT repo:

behavior

I checked all of them in samples app after upgrading the package and I did not observe anything abnormal or crashes.

Then finally I took a look a the changes made between v1.1.0 <-> v2.0.1 and I can see most of them are refactorings and depency upgrades. I do not see any breaking changes or API level changes.

Changes between v1.1.0 <-> v2.0.1:
microsoft/XamlBehaviors@1.1.0...v2.0.1

Conclusion is that I think it is safe to upgrade to 2.0.1.

Here is the PR:
#3235

@michael-hawker The crashing bug that Sergio shared happens for both v1.1.0 and v2.0.1 so I do not think that will be a blocker for this upgrades right?

@michael-hawker
Copy link
Member Author

Thanks @Jasonstein! We'll take a look at the PR and get this in for 6.1. We wouldn't block this on the other issue Sergio found as it's still an issue, if anything we know we should update the minor version if they get a fix in before we ship.

@ghost ghost added the in progress 🚧 label Apr 23, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Issues identified as good for first-time contributors help wanted Issues identified as good community contribution opportunities improvements ✨ in progress 🚧 maintenance ⚙️
Projects
None yet
Development

No branches or pull requests

2 participants