Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored Mar 15, 2017
1 parent 512e737 commit 9fdb611
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 218 deletions.
93 changes: 47 additions & 46 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

### vNEXT

- Support `jsnext:main` ([PR #277](https://github.com/apollostack/apollo-angular/pull/277))
- Support `[email protected]` ([PR #290](https://github.com/apollographql/apollo-angular/pull/290))
- Support `jsnext:main` ([PR #277](https://github.com/apollographql/apollo-angular/pull/277))

### v0.11.0

- Remove `DeprecatedWatchQueryOptions` and use `WatchQueryOptions` ([PR #274](https://github.com/apollostack/apollo-angular/pull/274))
- Remove `DeprecatedWatchQueryOptions` and use `WatchQueryOptions` ([PR #274](https://github.com/apollographql/apollo-angular/pull/274))

**After updating to** ([`[email protected]`](https://github.com/kamilkisiela/apollo-client-rxjs/blob/master/CHANGELOG.md#v050))

Expand Down Expand Up @@ -35,30 +36,30 @@ Behaves the same as the `ObservableQuery` of `apollo-client`.

### v0.10.0

- **BRAKING CHANGE** Change name of the service to `Apollo`, instead of `Angular2Apollo` ([PR #262](https://github.com/apollostack/apollo-angular/pull/262))
- Introduce multiple clients ([PR #263](https://github.com/apollostack/apollo-angular/pull/263))
- **BRAKING CHANGE** Change name of the service to `Apollo`, instead of `Angular2Apollo` ([PR #262](https://github.com/apollographql/apollo-angular/pull/262))
- Introduce multiple clients ([PR #263](https://github.com/apollographql/apollo-angular/pull/263))

### v0.9.0

- Support `[email protected]` ([PR #206](https://github.com/apollostack/apollo-angular/pull/206))
- Support `es6` modules and `tree-shaking` ([PR #151](https://github.com/apollostack/apollo-angular/pull/151), [PR #206](https://github.com/apollostack/apollo-angular/pull/206))
- Make our `Ahead-of-Time` compilation compatible with Angular 2.3+ ([PR #189](https://github.com/apollostack/apollo-angular/pull/189), [PR #195](https://github.com/apollostack/apollo-angular/pull/195))
- Added `getClient()` that exposes an instance of ApolloClient ([PR #203](https://github.com/apollostack/apollo-angular/pull/203))
- **BREAKING CHANGE** The way to provide an instance of ApolloClient has changed, [see how](https://github.com/apollostack/angular2-docs/pull/23)
- Support `[email protected]` ([PR #206](https://github.com/apollographql/apollo-angular/pull/206))
- Support `es6` modules and `tree-shaking` ([PR #151](https://github.com/apollographql/apollo-angular/pull/151), [PR #206](https://github.com/apollographql/apollo-angular/pull/206))
- Make our `Ahead-of-Time` compilation compatible with Angular 2.3+ ([PR #189](https://github.com/apollographql/apollo-angular/pull/189), [PR #195](https://github.com/apollographql/apollo-angular/pull/195))
- Added `getClient()` that exposes an instance of ApolloClient ([PR #203](https://github.com/apollographql/apollo-angular/pull/203))
- **BREAKING CHANGE** The way to provide an instance of ApolloClient has changed, [see how](https://github.com/apollographql/angular2-docs/pull/23)
- **BREAKING CHANGE** Change the name of the package. Use `apollo-angular` instead of `angular2-apollo`, which is now deprecated

### v0.8.0

- Made `mutate()` and `query()` methods to return `Observable` instead of `Promise` ([PR #140](https://github.com/apollostack/apollo-angular/pull/140))
- Made `mutate()` and `query()` methods to return `Observable` instead of `Promise` ([PR #140](https://github.com/apollographql/apollo-angular/pull/140))
- Use types of options (for `watchQuery`, `query`, `mutate`) (
[PR #145](https://github.com/apollostack/apollo-angular/pull/145),
[PR #146](https://github.com/apollostack/apollo-angular/pull/146),
[PR #148](https://github.com/apollostack/apollo-angular/pull/148)
[PR #145](https://github.com/apollographql/apollo-angular/pull/145),
[PR #146](https://github.com/apollographql/apollo-angular/pull/146),
[PR #148](https://github.com/apollographql/apollo-angular/pull/148)
)

### v0.7.0

- Added support for **Ahead of Time** compilation ([PR #124](https://github.com/apollostack/apollo-angular/pull/124))
- Added support for **Ahead of Time** compilation ([PR #124](https://github.com/apollographql/apollo-angular/pull/124))


### v0.6.0
Expand All @@ -71,75 +72,75 @@ Behaves the same as the `ObservableQuery` of `apollo-client`.

### v0.5.0

- Added `subscribe` method to `Angular2Apollo` service ([PR #113](https://github.com/apollostack/apollo-angular/pull/113))
- Added `updateQuery` to `ApolloQueryObservable` ([PR #113](https://github.com/apollostack/apollo-angular/pull/113))
- Added `subscribe` method to `Angular2Apollo` service ([PR #113](https://github.com/apollographql/apollo-angular/pull/113))
- Added `updateQuery` to `ApolloQueryObservable` ([PR #113](https://github.com/apollographql/apollo-angular/pull/113))
- **Deprecated** `ApolloQueryPipe` (use `SelectPipe` instead)
- **Deprecated** `Apollo` decorator (use `Angular2Apollo` service)
- **BREAKING CHANGE** No longer support for ApolloClient v0.3.X

### v0.4.6

- Moved to Angular 2 final and updated RxJS to the latest version ([PR #96](https://github.com/apollostack/apollo-angular/pull/96))
- Moved to Angular 2 final and updated RxJS to the latest version ([PR #96](https://github.com/apollographql/apollo-angular/pull/96))

### v0.4.5

- Moved to Angular2 RC6 ([PR #81](https://github.com/apollostack/apollo-angular/pull/81))
- Added `fetchMore` to the `ApolloQuery` interface ([PR #82](https://github.com/apollostack/apollo-angular/pull/82)) ([Issue #80](https://github.com/apollostack/apollo-angular/issues/80))
- Moved to Angular2 RC6 ([PR #81](https://github.com/apollographql/apollo-angular/pull/81))
- Added `fetchMore` to the `ApolloQuery` interface ([PR #82](https://github.com/apollographql/apollo-angular/pull/82)) ([Issue #80](https://github.com/apollographql/apollo-angular/issues/80))

### v0.4.4

- Fixed format of arguments in backward compatible methods ([PR #74](https://github.com/apollostack/apollo-angular/pull/74))
- Made queries reusable (use refetch on new variables) ([PR #74](https://github.com/apollostack/apollo-angular/pull/74))
- Used [`apollo-client-rxjs`](https://github.com/kamilkisiela/apollo-client-rxjs) ([PR #72](https://github.com/apollostack/apollo-angular/pull/72))
- Fixed an issue that prevents from subscribing to `ApolloQueryObservable` ([PR #71](https://github.com/apollostack/apollo-angular/pull/71))
- Added `SelectPipe` and deprecated `ApolloQueryPipe` ([PR #78](https://github.com/apollostack/apollo-angular/pull/78))
- Fixed format of arguments in backward compatible methods ([PR #74](https://github.com/apollographql/apollo-angular/pull/74))
- Made queries reusable (use refetch on new variables) ([PR #74](https://github.com/apollographql/apollo-angular/pull/74))
- Used [`apollo-client-rxjs`](https://github.com/kamilkisiela/apollo-client-rxjs) ([PR #72](https://github.com/apollographql/apollo-angular/pull/72))
- Fixed an issue that prevents from subscribing to `ApolloQueryObservable` ([PR #71](https://github.com/apollographql/apollo-angular/pull/71))
- Added `SelectPipe` and deprecated `ApolloQueryPipe` ([PR #78](https://github.com/apollographql/apollo-angular/pull/78))

### v0.4.3

- Added `ApolloModule` (with RC5 of Angular2 comes NgModules) ([PR #63](https://github.com/apollostack/apollo-angular/pull/63))
- Added ability to use query variables as observables. With this, the query can be automatically re-run when those obserables emit new values. ([PR #64](https://github.com/apollostack/apollo-angular/pull/64))
- Added `ApolloModule` (with RC5 of Angular2 comes NgModules) ([PR #63](https://github.com/apollographql/apollo-angular/pull/63))
- Added ability to use query variables as observables. With this, the query can be automatically re-run when those obserables emit new values. ([PR #64](https://github.com/apollographql/apollo-angular/pull/64))

### v0.4.2

- Added `fetchMore` support ([PR #58](https://github.com/apollostack/apollo-angular/pull/58))
- Exposed `ApolloQueryObservable` in the index module ([PR #54](https://github.com/apollostack/apollo-angular/pull/54))
- Added support for getting `loading` state from ApolloQueryResult [Issue #36](https://github.com/apollostack/apollo-angular/issues/36) ([PR #43](https://github.com/apollostack/apollo-angular/pull/43))
- Fixed `ApolloQueryObservable` incompatibility with `Rx.Observable` ([PR #59](https://github.com/apollostack/apollo-angular/pull/59))
- Added `fetchMore` support ([PR #58](https://github.com/apollographql/apollo-angular/pull/58))
- Exposed `ApolloQueryObservable` in the index module ([PR #54](https://github.com/apollographql/apollo-angular/pull/54))
- Added support for getting `loading` state from ApolloQueryResult [Issue #36](https://github.com/apollographql/apollo-angular/issues/36) ([PR #43](https://github.com/apollographql/apollo-angular/pull/43))
- Fixed `ApolloQueryObservable` incompatibility with `Rx.Observable` ([PR #59](https://github.com/apollographql/apollo-angular/pull/59))

### v0.4.1

- Added `ApolloQueryObservable` to support `Rx.Observable` in `Angular2Apollo.watchQuery` method ([PR #52](https://github.com/apollostack/apollo-angular/pull/52))
- Added `query` method to `Angular2Apollo` service ([PR #51](https://github.com/apollostack/apollo-angular/pull/51))
- Added `ApolloQueryObservable` to support `Rx.Observable` in `Angular2Apollo.watchQuery` method ([PR #52](https://github.com/apollographql/apollo-angular/pull/52))
- Added `query` method to `Angular2Apollo` service ([PR #51](https://github.com/apollographql/apollo-angular/pull/51))

### v0.4.0

- Passing all the options of mutation in `Apollo` decorator [PR #39](https://github.com/apollostack/apollo-angular/pull/39)
- Added support for `apollo-client` breaking change that moves methods to query's observable ([PR #40](https://github.com/apollostack/apollo-angular/pull/40))
- Replaced `lodash` with subpackages, removed `graphql-tag` from dependencies, moved `apollo-client` and `@angular/core` to peerDependecies ([PR #44](https://github.com/apollostack/apollo-angular/pull/44))
- Added `ApolloQuery` interface ([PR #45](https://github.com/apollostack/apollo-angular/pull/45))
- Passing all the options of mutation in `Apollo` decorator [PR #39](https://github.com/apollographql/apollo-angular/pull/39)
- Added support for `apollo-client` breaking change that moves methods to query's observable ([PR #40](https://github.com/apollographql/apollo-angular/pull/40))
- Replaced `lodash` with subpackages, removed `graphql-tag` from dependencies, moved `apollo-client` and `@angular/core` to peerDependecies ([PR #44](https://github.com/apollographql/apollo-angular/pull/44))
- Added `ApolloQuery` interface ([PR #45](https://github.com/apollographql/apollo-angular/pull/45))

### v0.3.0

- Added SSR support
- Left `lodash` as the only one dependency and `@angular/core` with `apollo-client` as peerDependecies ([PR #29](https://github.com/apollostack/apollo-angular/pull/29))
- Fixed missing data in reused component ([PR #30](https://github.com/apollostack/apollo-angular/pull/30))
- Fixed overwriting query data with the same value on every poll interval ([PR #34](https://github.com/apollostack/apollo-angular/pull/34))
- Left `lodash` as the only one dependency and `@angular/core` with `apollo-client` as peerDependecies ([PR #29](https://github.com/apollographql/apollo-angular/pull/29))
- Fixed missing data in reused component ([PR #30](https://github.com/apollographql/apollo-angular/pull/30))
- Fixed overwriting query data with the same value on every poll interval ([PR #34](https://github.com/apollographql/apollo-angular/pull/34))

### v0.2.0

- Added polling, refetching and access to unsubscribe method ([PR #19](https://github.com/apollostack/apollo-angular/pull/19))
- Added `forceFetch`, `returnPartialData` and `pollInterval` support ([PR #19](https://github.com/apollostack/apollo-angular/pull/19))
- Added `errors` and `loading` to the query's result object ([PR #19](https://github.com/apollostack/apollo-angular/pull/19))
- Added both results from decorator and service support for `ApolloQueryPipe` ([PR #27](https://github.com/apollostack/apollo-angular/pull/27))
- Fixed issue with not setting a query with not defined variables ([PR #19](https://github.com/apollostack/apollo-angular/pull/19))
- Added polling, refetching and access to unsubscribe method ([PR #19](https://github.com/apollographql/apollo-angular/pull/19))
- Added `forceFetch`, `returnPartialData` and `pollInterval` support ([PR #19](https://github.com/apollographql/apollo-angular/pull/19))
- Added `errors` and `loading` to the query's result object ([PR #19](https://github.com/apollographql/apollo-angular/pull/19))
- Added both results from decorator and service support for `ApolloQueryPipe` ([PR #27](https://github.com/apollographql/apollo-angular/pull/27))
- Fixed issue with not setting a query with not defined variables ([PR #19](https://github.com/apollographql/apollo-angular/pull/19))

### v0.1.0

- Added Angular2 RC1 and ApolloClient 0.3.X support ([PR #16](https://github.com/apollostack/apollo-angular/pull/16), [PR #17](https://github.com/apollostack/apollo-angular/pull/17))
- Added Angular2 RC1 and ApolloClient 0.3.X support ([PR #16](https://github.com/apollographql/apollo-angular/pull/16), [PR #17](https://github.com/apollographql/apollo-angular/pull/17))

### v0.0.2

- Added `@Apollo` decorator ([99fed6e](https://github.com/apollostack/apollo-angular/commit/99fed6e), [9f0107e](https://github.com/apollostack/apollo-angular/commit/9f0107e))
- Added `@Apollo` decorator ([99fed6e](https://github.com/apollographql/apollo-angular/commit/99fed6e), [9f0107e](https://github.com/apollographql/apollo-angular/commit/9f0107e))


### v0.0.1
Expand Down
1 change: 1 addition & 0 deletions examples/hello-world/angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"mobile": false,
"styles": [],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"source": "environments/environment.ts",
"prod": "environments/environment.prod.ts",
Expand Down
34 changes: 16 additions & 18 deletions examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,25 @@
},
"private": true,
"dependencies": {
"@angular/common": "^2.3.1",
"@angular/compiler": "^2.3.1",
"@angular/core": "^2.3.1",
"@angular/forms": "^2.3.1",
"@angular/platform-browser": "^2.3.1",
"@angular/platform-browser-dynamic": "^2.3.1",
"@angular/platform-server": "^2.3.1",
"@angular/router": "^3.3.1",
"@angular/common": "^2.4.9",
"@angular/compiler": "^2.4.9",
"@angular/core": "^2.4.9",
"@angular/forms": "^2.4.9",
"@angular/platform-browser": "^2.4.9",
"@angular/platform-browser-dynamic": "^2.4.9",
"@angular/platform-server": "^2.4.9",
"@angular/router": "^3.4.9",
"apollo-angular": "file:../../",
"apollo-client": "~0.8.0",
"apollo-client": "^1.0.0-rc.2",
"core-js": "^2.4.1",
"graphql-tag": "^1.1.2",
"graphql-tag": "^1.3.1",
"rxjs": "^5.0.1",
"ts-helpers": "~1.1.1",
"zone.js": "~0.7.2"
},
"devDependencies": {
"@angular/compiler-cli": "^2.3.1",
"@types/isomorphic-fetch": "0.0.30",
"@types/node": "^6.0.42",
"angular-cli": "1.0.0-beta.26",
"@angular/compiler-cli": "^2.4.9",
"@angular/cli": "1.0.0-rc.2",
"apollo-codegen": "^0.10.6",
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
Expand All @@ -47,12 +45,12 @@
"concurrently": "^3.1.0",
"cors": "^2.8.0",
"express": "^4.14.0",
"graphql": "~0.8.0",
"graphql-server-express": "^0.5.0",
"graphql-tools": "~0.9.0",
"graphql": "~0.9.0",
"graphql-server-express": "^0.6.0",
"graphql-tools": "~0.10.1",
"nodemon": "^1.11.0",
"ts-node": "2.0.0",
"tslint": "^4.2.0",
"typescript": "~2.0.10"
"typescript": "~2.2.1"
}
}
45 changes: 23 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,44 +35,45 @@
"commitmsg": "validate-commit-msg"
},
"peerDependencies": {
"@angular/core": "^2.0.0",
"apollo-client": "^0.8.0",
"@angular/core": "^2.0.0 || >=4.0.0-beta <5.0.0",
"apollo-client": ">=0.8.0 <=0.10.1 || >=1.0.0-rc <2.0.0",
"rxjs": "^5.0.0-beta.12 || ^5.0.0-rc.1 || ^5.0.0"
},
"dependencies": {
"apollo-client-rxjs": "~0.5.0"
"apollo-client-rxjs": "~0.5.2"
},
"devDependencies": {
"@angular/common": "^2.3.1",
"@angular/compiler": "^2.3.1",
"@angular/compiler-cli": "^2.3.1",
"@angular/core": "^2.3.1",
"@angular/platform-browser": "^2.3.1",
"@angular/platform-browser-dynamic": "^2.3.1",
"@angular/platform-server": "^2.3.1",
"@types/jest": "^15.1.32",
"@angular/common": "^4.0.0-rc.2",
"@angular/compiler": "^4.0.0-rc.2",
"@angular/compiler-cli": "^4.0.0-rc.2",
"@angular/core": "^4.0.0-rc.2",
"@angular/platform-browser": "^4.0.0-rc.2",
"@angular/platform-browser-dynamic": "^4.0.0-rc.2",
"@angular/platform-server": "^4.0.0-rc.2",
"@types/jest": "^19.2.2",
"@types/node": "^6.0.59",
"apollo-client": "^0.8.0",
"apollo-client": "^1.0.0-rc.2",
"apollo-test-utils": "^0.2.0",
"graphql": "^0.9.0",
"graphql-tag": "^1.1.2",
"graphql-tag": "^1.3.1",
"husky": "^0.13.0",
"jest": "^18.1.0",
"reflect-metadata": "^0.1.8",
"remap-istanbul": "^0.8.4",
"rimraf": "^2.5.2",
"jest": "^19.0.2",
"reflect-metadata": "^0.1.10",
"remap-istanbul": "^0.9.1",
"rimraf": "^2.6.1",
"rollup": "^0.41.4",
"rxjs": "^5.0.0",
"tslint": "^4.2.0",
"typescript": "~2.0.10",
"validate-commit-msg": "^2.8.2",
"zone.js": "^0.7.1"
"tslint": "^4.5.1",
"typescript": "~2.2.1",
"validate-commit-msg": "^2.11.2",
"zone.js": "^0.7.2"
},
"jest": {
"moduleFileExtensions": [
"js"
],
"testRegex": "\\.spec\\.js$",
"testPathDirs": [
"roots": [
"<rootDir>/build/tests"
],
"browser": true,
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
'apollo-client-rxjs': 'apollo.rxjs',
'apollo-client': 'apollo',
}
}
};

function onwarn(message) {
const suppressed = [
Expand Down
Loading

0 comments on commit 9fdb611

Please sign in to comment.