Releases: morrys/wora
Releases · morrys/wora
[email protected]
Improved
- update dependency
- expose mutateOffline function
- upgrade relay-runtime 9.0.0
- add tests
Fixed
- fix offline options type
[email protected]
Improved
- added tests
Fixed
- remove addNetInfoListener, now you must use NetInfo
[email protected]
Improved
- added tests
Fixed
- fix dispose listeners
- fix netinfo addEventListener, removeEventListener method
[email protected]
Fixed
- update netinfo dependency
[email protected]
- refactor typing RelayOfflineTypes.ts
- created the public function executeMutationOffline in the environment and used by the environment when the executeMutation is performed and the application is offline #28
public executeMutationOffline({
operation,
optimisticResponse,
optimisticUpdater,
updater,
uploadables,
}: {
- removed the RelayStoreOffline file, now the store is created in the environment's constructor
- allow offline execution of mutations that do not modify the store morrys/react-relay-offline#35, added warning!
[email protected]
-
refactor typing ApolloOfflineTypes.ts
-
fix updateQuery, added generateUpdateQueriesInfo function
-
created the public function mutateOffline in the client and used by the client when the mutate is performed and the application is offline #28
- public mutateOffline(mutationOptions: MutationOptions): Promise<FetchResult>
-
removed the ApolloStoreOffline file, now the store is created in the client's constructor
[email protected]
Fixed
- fix restore, removed
!ExecutionEnvironment.canUseDOM
addtypeof window === 'undefined'
[email protected]
Fixed
- fix restore, removed
!ExecutionEnvironment.canUseDOM
addtypeof window === 'undefined'
[email protected]
Fixed
- update wora/offline-first dependency (fix react-native)
- fix broadcastQueries in onPublish catch #26
[email protected]
Fixed
- fix nostorage restore