Skip to content

Commit

Permalink
Prepare new version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
mlev committed Oct 18, 2023
1 parent 20577db commit 97df0bf
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 35 deletions.
28 changes: 0 additions & 28 deletions .changeset/polite-walls-glow.md

This file was deleted.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/gae-js-datastore-backups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@mondomob/gae-js-core": "7.0.3",
"@mondomob/gae-js-datastore": "10.2.1",
"@mondomob/gae-js-storage": "9.0.1",
"@mondomob/gae-js-tasks": "11.1.0",
"@mondomob/gae-js-tasks": "11.2.0",
"@types/luxon": "3.3.0",
"@types/uuid": "9.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/gae-js-firestore-backups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@mondomob/gae-js-core": "7.0.3",
"@mondomob/gae-js-firestore": "17.0.0",
"@mondomob/gae-js-storage": "9.0.1",
"@mondomob/gae-js-tasks": "11.1.0",
"@mondomob/gae-js-tasks": "11.2.0",
"@types/luxon": "3.3.0",
"@types/uuid": "9.0.1"
}
Expand Down
30 changes: 29 additions & 1 deletion packages/gae-js-tasks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @mondomob/gae-js-tasks

## 11.2.0

### Minor Changes

- e207a5c: Add support for creating Http Target tasks (thanks @VivekRajagopal!).

Use this to target tasks handlers on any http address - i.e. non app engine handlers, app engine
handlers hosted in a different project from the task queue or app engine handlers
but not via the default appspot domain.

When creating the task service specify the target host and optional authentication configuration.

```typescript
// Create service
const taskQueueService = new TaskQueueService({
httpTargetHost: "https://my-host.com",
oidcToken: {
serviceAccountEmail: "my-service-account@example.com",
audience: "my-audience",
},
});

// Create tasks
// e.g. this will result in a task request of: POST https://my-host.com/tasks/example-task
await taskQueueService.enqueue("example-task", { data: { key: "value1" } });
```

## 11.1.0

### Minor Changes
Expand Down Expand Up @@ -48,7 +75,8 @@
options to be added without affecting signature in future releases.

Upgrade Instructions:
- If you previously did not initialise task provider with `tasksProvider.init()` then you will need to add this to your app startup.

- If you previously did not initialise task provider with `tasksProvider.init()` then you will need to add this to your app startup.

- Remove any references to `gaeJsTasksConfigurationSchema` or `GaeJsTasksConfiguration`.
Any properties used should be added to application's config schema and passed as options when constructing the Tasks service instance.
Expand Down
2 changes: 1 addition & 1 deletion packages/gae-js-tasks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mondomob/gae-js-tasks",
"version": "11.1.0",
"version": "11.2.0",
"description": "Tools for Google Cloud Tasks",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down

0 comments on commit 97df0bf

Please sign in to comment.