Skip to content

Conversation

@DanCouper
Copy link
Contributor

@DanCouper DanCouper commented Jul 22, 2021

resolves #45

BREAKING CHANGES

@thingco/user-preferences becomes @thingco/application-configuration

  • Provider is now ApplicationConfigProvider, usePrefs hook becomes usePreferences, add useConfig hook.
  • @thingco/shared-types now redundant, moved types into @thingco/application-configuration (which can now be set as a peer dependency of everything else).
  • Updated @thingco/user-preferences-store-{web|native} to use new @thingco/application-configuration package.

@thingco/unit-formatters becomes @thingco/data-transformers.

  • Remove provider, just use a hook, API otherwise identical

DanCouper added 18 commits July 21, 2021 15:16
- unit-formatters becomes data-transformers.
- remove provider, just use a hook, API otherwise identical

- user-preferences becomes application-conguration
- provider is now ApplicationConfigProvider, usePrefs hook becomes usePreferences, add useConfig hook

- shared-types now redundant, move types into application-configuration which can now be set as a peer dependency of everything else.

- update user-preferences-store-{web|native} to use new application-configuration package
- application-configuration (1.0)
- data-transformers (1.0)
- user-preferences-store-native (1.0)
- user-preferences-store-web (1.0)
…hange

- fixed merge conflicts
- updated package versions to latest
- newer versions of XState expose ContextFrom and EventFrom types, rather than [the previously slightly experimental] ModelContextFrom and ModelEventsFrom so replace instances of these throughout auth lib.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] - Unit formatter not updating when user preferences change

2 participants