github ppy/osu-framework 2022.421.0

latest releases: 2024.528.1, 2024.528.0, 2024.523.0...
2 years ago

Thanks for following along! This is a tagged release (2022.421.0).

Breaking Changes

IScreen navigation interface methods now receive an "event args" structure

To allow adding more data to IScreen navigation interface methods in the future without further API breakage, their signatures have been changed to include an "event args" structure in the following manner:

- void OnEntering(IScreen last);
+ void OnEntering(ScreenTransitionEvent e);

- void OnExiting(IScreen next);
+ void OnExiting(ScreenExitEvent e);

- void OnResuming(IScreen last);
+ void OnResuming(ScreenTransitionEvent e);

- void OnSuspending(IScreen next);
+ void OnSuspending(ScreenTransitionEvent e);

The last and next arguments from the old signatures can now be accessed via e.Last and e.Next respectively.

Additionally, ScreenExitEvent contains a new Destination member, that allows to specify which screen is the "destination" screen of an exit operation spanning multiple screens.

What's Changed

  • Implement screen event args and add destination screen event for OnExiting by @Joehuu in #5095
  • Provide default proxy credentials to HttpClient by @peppy in #5112
  • Fix TestExitBlocking taking 10 seconds to run by @peppy in #5111
  • Move Code Quality check to top of checks list by @smoogipoo in #5114
  • Expose an event in SearchContainer which is fired after a filter operation completes by @peppy in #5116

Full Changelog: 2022.419.0...2022.421.0

Don't miss a new osu-framework release

NewReleases is sending notifications on new releases.