Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
fix: various updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Feb 24, 2021
1 parent 768cfd0 commit e035572
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 13 deletions.
9 changes: 9 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ id: releases
title: Release Notes
---

## 1.1.2 (2021-02-06)

#### Bug Fixes

* [#2269](https://github.com/aerogear/graphback/pull/2269) replaced _id with id in client and postgres template ([@RinkiyaKeDad](https://github.com/RinkiyaKeDad))

* [#2261](https://github.com/aerogear/graphback/pull/2267) update import format [@namit-chandwani](https://github.com/namit-chandwani))


## 1.1.1 (2021-02-06)

#### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion docs/datasync/conflict-resolution-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ An example mutation can be found at the end of this page.

### Modify the template to use `createDataSyncAPI`

In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-release/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:
In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-1.0.0/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:

```typescript
import { createDataSyncAPI } from '@graphback/datasync'
Expand Down
2 changes: 1 addition & 1 deletion docs/datasync/delta-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ The `DeltaList` is a container for `Delta` type, which also returns a `lastSync`

### Modify the template to use `createDataSyncAPI`

In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-release/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:
In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-1.0.0/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:

```typescript
import { createDataSyncAPI } from '@graphback/datasync'
Expand Down
4 changes: 2 additions & 2 deletions scripts/release-procedure.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ A small amount of preparation needs to take place before this process kicks off.

Ensure the Git repository is clean and there are no outstanding changes.

Next, check to ensure that `templates-release` branch is up to date with `master`. In the following example `upstream` = `[email protected]:aerogear/graphback.git`.
Next, check to ensure that `templates-1.0.0` branch is up to date with `master`. In the following example `upstream` = `[email protected]:aerogear/graphback.git`.

[source, sh]
--
git checkout templates-release
git checkout templates-1.0.0
git reset --hard upstream/master
git push -f
--
Expand Down
10 changes: 5 additions & 5 deletions templates/ts-apollo-mongo-apache-kafka-backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphback-templates-apollo-kafka-mongo",
"version": "1.1.1",
"version": "1.0.0",
"description": "Graphback runtime template with Apollo Server, Kafka and MongoDb",
"private": true,
"main": "dist/index.js",
Expand All @@ -13,16 +13,16 @@
},
"license": "Apache 2.0",
"dependencies": {
"@graphback/runtime-mongo": "1.1.1",
"@graphback/runtime-mongo": "1.1.2",
"@aerogear/graphql-kafka-subscriptions": "0.4.1",
"apollo-server-express": "2.19.0",
"cors": "2.8.5",
"dotenv": "8.2.0",
"express": "4.17.1",
"graphback": "1.1.1",
"graphback": "1.1.2",
"graphql": "15.4.0",
"graphql-config": "3.2.0",
"graphql-subscriptions": "1.1.1",
"graphql-subscriptions": "1.1.2",
"graphql-tag": "2.11.0",
"mongodb": "3.6.3"
},
Expand All @@ -34,7 +34,7 @@
"@types/graphql": "14.2.3",
"@types/node-fetch": "2.5.7",
"@types/uuid": "8.3.0",
"graphback-cli": "1.1.1",
"graphback-cli": "1.1.2",
"graphql-cli": "4.1.0",
"ts-node": "9.1.1",
"tslint": "6.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ An example mutation can be found at the end of this page.

### Modify the template to use `createDataSyncAPI`

In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-release/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:
In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-1.0.0/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:

```typescript
import { createDataSyncAPI } from '@graphback/datasync'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ The `DeltaList` is a container for `Delta` type, which also returns a `lastSync`

### Modify the template to use `createDataSyncAPI`

In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-release/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:
In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-1.0.0/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:

```typescript
import { createDataSyncAPI } from '@graphback/datasync'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ An example mutation can be found at the end of this page.

### Modify the template to use `createDataSyncAPI`

In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-release/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:
In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-1.0.0/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:

```typescript
import { createDataSyncAPI } from '@graphback/datasync'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ The `DeltaList` is a container for `Delta` type, which also returns a `lastSync`

### Modify the template to use `createDataSyncAPI`

In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-release/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:
In the [`src/index.ts`](https://github.com/aerogear/graphback/blob/templates-1.0.0/templates/ts-apollo-mongodb-backend/src/index.ts) file of the template, use `createDataSyncAPI` instead of `buildGraphbackAPI`:

```typescript
import { createDataSyncAPI } from '@graphback/datasync'
Expand Down

0 comments on commit e035572

Please sign in to comment.