github ppy/osu-framework 2022.1129.0

latest releases: 2024.528.1, 2024.528.0, 2024.523.0...
23 months ago

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

Breaking Changes

IHasFilterableChildren has been removed; use IFilterable instead (#5530)

Rather than rely on IHasFilterableChildren to descend down complex hierarchies for filtering purposes, IContainerEnumerable<T>.Children is used, which results in less boilerplate as you don't need to remember to implement it whenever needed.

IConditionalFilterable is introduced (#5530)

By implementing IConditionalFilterable, you get one extra bindable to play with. If the value of said bindable is true, then the item is included in textual search as usual. If it is false, however, it - and its entire subtree - is excluded from further search on the premise that the item does not meet external criteria. In practical terms, you would set it to false when you want to hide some items inside a SearchContainer because they're unavailable due to other settings.

Classes used in dependency injection need to implement the IDependencyInjectionCandidate interface (#5548)

This does not affect Drawable subclasses.

What's Changed

  • Simplify resolution of dependency injection candidates by @smoogipoo in #5548
  • Update dependency injection to use incremental source generation by @smoogipoo in #5550
  • Adjust search container logic to address game-side issues with hiding its children by @bdach in #5530

Full Changelog: 2022.1126.0...2022.1129.0

Don't miss a new osu-framework release

NewReleases is sending notifications on new releases.