Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# Changelog

## 0.17.3
## 0.17.4

<!-- release:start -->

### New Features

- **Paced X DM media downloads.** A DM attachment's download can be sent as exactly `chunks` pieces `interval_ms` apart, the same controls as the OpenAI emulator's paced answers: `attachment.stream` in the seed or on `/_emulate/x/dm/arrive`, or `POST /_emulate/x/media/:media_key/stream`. An emulator control, not X behaviour; downloads stay unpaced unless asked.

### Fixes

- **X delivers only to webhooks whose challenge was answered.** As on X, a webhook gets DM deliveries only once its challenge has been answered: the CRC at creation or on `PUT /2/webhooks/:id`, or, in control mode, a correct answer at `POST /_emulate/x/webhooks/:id/challenge`. Until then, and for a seeded webhook until `PUT`, deliveries are held, listed as held, and previewable. An address accepted only through control mode's relaxation (`http`, or a port, on an https instance) is never called at all.
- **A large request body no longer resets a hosted instance.** A body over the limit is refused with a `413` before it is read, in the provider's error shape where it has one: 16 MiB on hosted instances, and 32 MiB for the OpenAI emulator (locally too), which answers `request_too_large` in OpenAI's error shape. Bodies within the limit are streamed to the instance. A 100 MiB body used to exhaust the instance's memory, answer 500 and end the other requests in it, a paced stream included.
- **Hosted instances hold their data with less memory, within a stated budget.** The ledger records a body over 1 MiB by size without a second copy, saves keep a fingerprint of each stored value rather than its JSON, and a write that would take an instance's stored data past 32 MiB answers `507 instance_storage_full`. `GET /_emulate/persistence` shows the size and the budget.
- **The local server answers a client still uploading.** After answering a request whose body it did not read, it ends the connection instead of leaving the client waiting.

<!-- release:end -->

## 0.17.3

### Fixes

- **X delivers only to webhooks whose challenge was answered.** As on X, a webhook gets DM deliveries only once its challenge has been answered: the CRC at creation or on `PUT /2/webhooks/:id`, or, in control mode, a correct answer at `POST /_emulate/x/webhooks/:id/challenge`. Until then, and for a seeded webhook until `PUT`, deliveries are held, listed as held, and previewable. An address accepted only through control mode's relaxation (`http`, or a port, on an https instance) is never called at all.

## 0.17.2

### Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/adapter-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/adapter-next",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/apple/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/apple",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/autumn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/autumn",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/aws/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/aws",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/clerk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/clerk",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/cloudflare",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/context/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/context",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/core",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/github/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/github",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/gitlab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/gitlab",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/google/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/google",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/mcp",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/microsoft/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/microsoft",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/miro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/miro",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/mongoatlas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/mongoatlas",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/okta/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/okta",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/openai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/openai",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/planetscale/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/planetscale",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/posthog/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/posthog",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/resend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/resend",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/slack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/slack",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/spotify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/spotify",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/stripe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/stripe",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/vercel",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/workos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/workos",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/x/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/x",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@emulators/zapier/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emulators/zapier",
"version": "0.17.3",
"version": "0.17.4",
"private": true,
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/emulate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@executor-js/emulate",
"version": "0.17.3",
"version": "0.17.4",
"description": "Local drop-in replacement services for CI and no-network sandboxes",
"license": "Apache-2.0",
"type": "module",
Expand Down
Loading