Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Storages update #3077

Merged
merged 20 commits into from
Feb 13, 2024
Merged

chore: Storages update #3077

merged 20 commits into from
Feb 13, 2024

Conversation

stackchain
Copy link
Member

@stackchain stackchain commented Feb 13, 2024

  • Lifted up the Observable types to the proper package
  • Dropped index re-exports (avoid circular dependency and better dependency tracker)
  • Moved StorageProvider as AsyncStorageProvider
  • Added the react-native-mmkv (sync storage, it will make data available synchronously)
  • Created SyncStorageProvider
  • Created the ObservableStorage (p.s removeFolder won't kick the subscribers)
  • Normalized Storage interface sync/async with generic over union to avoid type guards
  • Fixed to skip e2e while rebuilding with lerna
  • Normalized the typescript versions (types issues and missing await/async detection)
  • Dropped the @react/types not required after react-native 0.71.0
  • Moved rootStorage to client (where it was supposed to be)
  • Updated packages and apps with storage changes
  • Bumped react-intl in an attempt to fix IntlProvider type
  • Bumped some packages like jest that were missing some types too
  • Added removeMany to MultiStorage

@stackchain stackchain added this to the 4.26.0 milestone Feb 13, 2024
@github-actions github-actions bot added the chore label Feb 13, 2024
@stackchain stackchain marked this pull request as ready for review February 13, 2024 13:10
@stackchain stackchain self-assigned this Feb 13, 2024
@stackchain stackchain merged commit d664560 into develop Feb 13, 2024
2 checks passed
@stackchain stackchain deleted the chore/storages-updated branch February 13, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants