Skip to content

Version 10 #124

Open
Open

Description

@sindresorhus

Some ideas for version 10. It will not happen for a long time.

Activity

  1. changed the title [-]Version 8[/-] [+]Version 10[/+] on Apr 20, 2024
  2. ShikiSuen commented on Jan 14, 2025

    @ShikiSuen

    Uh... I just tried the latest DefaultsMacro and found that it brings too much performance burden (during the decoding process) comparing to use Combine-based Defaults.publisher() if the value type stored in the key is a complicated codable class / struct. I wonder what your suggestion is for replacing Defaults.publisher().

  3. sindresorhus commented on Jan 14, 2025

    @sindresorhus
    OwnerAuthor

    Defaults.updates() is the replacement of Defaults.publisher().

  4. ShikiSuen commented on Jan 15, 2025

    @ShikiSuen

    @sindresorhus Thanks for your suggestion. I wonder the following example of API migration is correct. Could you please help me take a look?

    image
  5. sindresorhus commented on Jan 15, 2025

    @sindresorhus
    OwnerAuthor

    Each Defaults.updates() needs a separate Task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions