Skip to content

Commit

Permalink
Sync modularization with ui-components/master (aws-amplify#5215)
Browse files Browse the repository at this point in the history
* Adding database abstraction for AsyncStorage

* Add storage adapter for React Native using AsyncStorage

* Add separate default adapters for Web and React Native

* Make error messages more meaningful

* Add support for Reachability in React Native

* Add @react-native-community/netinfo to devDependencies

* Pin down the version of crypto-js

* Enable publish from rn-datastore branch

* Preparing release

* chore(release): Publish [ci skip]

 - @aws-amplify/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]

* Allow in PubSub to add async custom headers

Allow in PubSub the same capabilities as API for custom headers:
* Async header
* Override headers (Authorization)

Check issue aws-amplify#4928 for explanations.

* chore(deps-dev): bump codecov from 1.0.1 to 3.6.5 (aws-amplify#4951)

Bumps [codecov](https://github.com/codecov/codecov-node) from 1.0.1 to 3.6.5.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/commits)

Signed-off-by: dependabot[bot] <[email protected]>

* (fix:@aws-amplify/pubsub) Fix for unsubscription new subscription race condition (aws-amplify#4956)

* Fix for unsubscription new subscription race condition

* Update packages/pubsub/src/Providers/AWSAppSyncRealTimeProvider.ts

* Fix to initialize only once and handle disconnection from network  (aws-amplify#4921)

* initialize only once

* Fix onerror handler for WebSocket

* Change log level for unsubscribe message

* Add regions and fix typo

* Handle disconnection

* chore(deps): bump nokogiri from 1.10.4 to 1.10.8 in /docs (aws-amplify#4974)

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.4 to 1.10.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.10.4...v1.10.8)

Signed-off-by: dependabot[bot] <[email protected]>

* Use the db instance property of the Adapter class for all database operations (aws-amplify#4995)

Use the db instance property of the Adapter class for all database operations

* Removing unused code

* Remove rn-datastore branch publish config

* Preparing release

* chore(release): Publish [ci skip]

 - [email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]

* fix(core): move react-native dependency from dev

* fix(core): revert dep addition. Add to peer and devDeps

* ci: Add React Native integration testing with Detox (aws-amplify#5007)

* Make deploy wait on integ_rn_ios_storage (aws-amplify#5009)

* feat(@aws-amplify/api): pass additionalHeaders to graphql function (aws-amplify#5001)

Additional headers are merged **after** merging in headers set at config time.
Additional headers will overwrite any existing values and merge the rest.

* chore(@aws-amplify/api): fix non-breaking typo in function (aws-amplify#5034)

* fix(@aws-amplify/datastore): Fix query and delete types (aws-amplify#5032)

Fixes aws-amplify#4827

* Fix(@aws-amplify/interactions) fixes 4750 to properly use the spread operator (aws-amplify#4806)

* fix(@aws-amplify/datastore) Adding socket disconnection detection (aws-amplify#5086)

* Export necessary providers and types from the package root to avoid importing from generated paths (aws-amplify#5085)

* fix(aws-amplify-react): Fix Federated icons when using React Bo… (aws-amplify#5073)

* Explicitly set box-sizing, as CSS resets override to border-box

* Explicitly set line-height, as CSS resets override line-height

* Upgrade aws-sdk clients which resolves react native issues (aws-amplify#5124)

* Export necessary providers and types from the package root to avoid importing from generated paths

* Upgrade aws-sdk clients which resolves react native issues

* Enable integration tests on modularization branch (aws-amplify#5125)

* chore: Fix setup-dev script (aws-amplify#5035)

Let `unlink-all` succeed always

Co-authored-by: Iglesias <[email protected]>

* fix(@aws-amplify/datastore): Storage should be re-initialized after DataStore.clear() (aws-amplify#5083)

* fix(@aws-amplify/datastore): Fix aws-amplify#5076 storage not re-initialized after DataStore.clear()

* Adding comments

Co-authored-by: Manuel Iglesias <[email protected]>
Co-authored-by: Ashish Nanda <[email protected]>

* fix(aws-amplify-react): BREAKING - Remove "import '@aws-amplify… (aws-amplify#5138)

Importing non-JS files relies on a bundler & breaks SSR.

It works with CRA because CRA *builds all dependencies*, just-in-case.

* feat(@aws-amplify/datastore): Support non-@model types in DataStore (aws-amplify#5128)

* Upgrade immer

* Return sooner if predicates are empty

* Fix bug when trying to delete a model instance that is not persisted

* Support non-@model types

* Generate datastore coverage report and RN integ test

* Fix tslint error

* Remove  unit test case for onGetPost

* Remove unused code

* Rename instance initializer to initializeInstance

* Rename SchemaType to SchemaNonModel

* Rename types to nonModels in schema.js

* Rename type to nonModel

* Make nonModels optional in schema.js

* Remove generic constraint from createTypeClass

* Rename ModelOrTypeConstructorMap to TypeConstructorMap

* Rename createModelAndTypeClassses to createTypeClasses

* Rename createTypeClass to createNonModelClass

* chore: remove datastore form RN integ tests (aws-amplify#5139)

* Fix export type of datastore storage in unit tests

* test(@aws-amplify/datastore): Fix unit tests

* [RN] Migrate zen-observable to zen-observable-ts and fix zen-push import (aws-amplify#5155)

* Migrate zen-observable to zen-observable-ts and fix zen-push import

* Fix unit tests

* Pin aws-sdk versions and rename presignRequest to presign (aws-amplify#5171)

* Migrate zen-observable to zen-observable-ts and fix zen-push import

* Fix unit tests

* Pin aws-sdk versions and rename presignRequest to presign

* Upgrade aws-sdk clients from alpha to beta (aws-amplify#5209)

* Migrate zen-observable to zen-observable-ts and fix zen-push import

* Fix unit tests

* Pin aws-sdk versions and rename presignRequest to presign

* Upgrade aws-sdk clients from alpha to beta

* Update expiration type to Date as per change in aws-sdk

* Fix unit tests as per expiration type change

* Fix jest failures, update snapshot

* Update storage changelog

Co-authored-by: Ashish Nanda <[email protected]>
Co-authored-by: Rodriguez Elorza <[email protected]>
Co-authored-by: aws-amplify-bot <[email protected]>
Co-authored-by: Sebastien Schwartz <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Manuel Iglesias <[email protected]>
Co-authored-by: Ivan Artemiev <[email protected]>
Co-authored-by: Jens Bodal <[email protected]>
Co-authored-by: Ashika <[email protected]>
Co-authored-by: Manuel Iglesias <[email protected]>
Co-authored-by: Praveen Gupta <[email protected]>
Co-authored-by: Eric Clemmons <[email protected]>
Co-authored-by: Iglesias <[email protected]>
Co-authored-by: Yirako <[email protected]>
Co-authored-by: [email protected] <[email protected]>
  • Loading branch information
16 people authored Mar 27, 2020
1 parent 3b79199 commit da10d8e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2020-02-28)

**Note:** Version bump only for package @aws-amplify/analytics

## [2.2.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2020-02-14)

**Note:** Version bump only for package @aws-amplify/analytics

## [2.2.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2020-02-07)

### Bug Fixes
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/analytics",
"version": "2.2.4",
"version": "2.2.6",
"description": "Analytics category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down Expand Up @@ -37,12 +37,12 @@
},
"homepage": "https://aws-amplify.github.io/",
"dependencies": {
"@aws-amplify/cache": "^2.1.5",
"@aws-amplify/core": "^2.2.4",
"@aws-sdk/client-firehose": "^1.0.0-alpha.23",
"@aws-sdk/client-kinesis": "^1.0.0-alpha.23",
"@aws-sdk/client-personalize-events": "^1.0.0-alpha.21",
"@aws-sdk/client-pinpoint": "^1.0.0-alpha.21",
"@aws-amplify/cache": "^2.1.6",
"@aws-amplify/core": "^2.2.5",
"@aws-sdk/client-firehose": "1.0.0-beta.1",
"@aws-sdk/client-kinesis": "1.0.0-beta.1",
"@aws-sdk/client-personalize-events": "1.0.0-beta.1",
"@aws-sdk/client-pinpoint": "1.0.0-beta.1",
"uuid": "^3.2.1"
},
"jest": {
Expand Down

0 comments on commit da10d8e

Please sign in to comment.