karaoke-dev / osu-framework-font

Unofficial support for extra font effect.
MIT License
5 stars 3 forks source link

Bump ppy.osu.Framework from 2023.1201.1 to 2023.1213.0 #423

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps ppy.osu.Framework from 2023.1201.1 to 2023.1213.0.

Release notes

Sourced from ppy.osu.Framework's releases.

2023.1213.0

Breaking changes

IParseable.Parse() has received an IFormatProvider argument

This is provided to better treat input when typed by end users, by allowing the ability to respect their regional number settings.

Existing usages of IParseable.Parse() should pass CultureInfo.InvariantCulture to preserve behaviour, including usages of IBindable.Parse():

  Bindable<int> bindable = new Bindable<int>();
- bindable.Parse(5);
+ bindable.Parse(5, CultureInfo.InvariantCulture);

DrawNode.Draw() is no longer exposed publicly

Draw() is now protected to match the signature of DrawOpaqueInternal(). DrawNodes which draw others no need to do so via a separate (provided) method.

- public override void Draw(IRenderer renderer)
+ protected override void Draw(IRenderer renderer)
  {
      base.Draw(renderer);
  • other.Draw(renderer);
    
  • DrawOther(other, renderer);
    
    }

Dropdown requires a search bar to be implemented

All Dropdowns may now be searched, which requires them to implement a search bar component. Sample implementation:

public partial class MyDropdownHeader : DropdownHeader
{
    protected override DropdownSearchBar CreateSearchBar() => new MyDropdownSearchBar();
public partial class MyDropdownSearchBar : DropdownSearchBar
{
    protected override void PopIn() =&gt; this.FadeIn();

    protected override void PopOut() =&gt; this.FadeOut();

    protected override TextBox CreateTextBox() =&gt; new MyTextBox
    {
        PlaceholderText = &quot;type to search&quot;
    };
}

</tr></table>

... (truncated)

Commits
  • ba569bf Merge pull request #6072 from frenzibyte/dropdown-search
  • d5c2e65 Enforce centre-left anchor/origin on placeholder text
  • fe0b532 Remove unused using directive
  • 1876a71 Update test border caret
  • 0958965 Fix automatic textbox font size broken by layout changes
  • bb9f45e Fix compile error
  • 4e543e0 Merge branch 'master' into dropdown-search
  • 393a87d Fix text box layout when using arbitrary font sizes
  • 67e11cc Merge pull request #6066 from OliBomby/betterer-builder
  • e7c7397 Rename some members for understanding
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
andy840119 commented 8 months ago

Note the api breaking change: https://github.com/ppy/osu-framework/pull/6073/files