@pidgeon-ai/sdk 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,57 @@ method signatures, the error shape — not to the API behind it.
9
9
 
10
10
  ## Unreleased
11
11
 
12
+ ## 0.2.0 — the mailbox, and the credentials to reach it
13
+
14
+ A minor rather than a patch, because one signature changed. In `0.x` semver
15
+ that is what a minor is for, and the alternative — leaving the old shape
16
+ beside the new one — would have shipped two ways to search that disagree
17
+ about what the second argument is.
18
+
19
+ **Breaking**
20
+
21
+ - `messages.search(identityId, q, options)` is now
22
+ `messages.search(identityId, options)`, with `q` inside the options beside
23
+ six filters. Search takes more than words now, and a positional query in
24
+ front of an options bag would have been the only parameter in the client
25
+ that works that way.
26
+ - `messages.update` no longer accepts `is_read` from an API key — the field
27
+ is still in the type, is still readable, and the API refuses to set it.
28
+ Read state belongs to a person and a key is not one; it used to return
29
+ `200` and change nothing, which is worse. Archive the conversation, or
30
+ track what you have seen with `mailboxes.changes`.
31
+
32
+ **New resources**
33
+
34
+ - `mailboxes` — `list`, `list_folder`, `changes`, `empty_trash`. The folders
35
+ with their counts, one folder by keyset cursor, what changed since a marker,
36
+ and emptying the trash.
37
+ - `routing` — `list`, `create`, `update`, `delete`. Per-customer addresses,
38
+ delivered into an inbox you already have or into a webhook with no inbox
39
+ at all.
40
+ - `keys` — `list`, `create`, `revoke`. A key can mint a narrower key, and
41
+ revoking one revokes everything it minted.
42
+ - `appPasswords` — `list`, `create`, `revoke`. Working IMAP and SMTP
43
+ credentials for one address, which is how you hand a customer a mailbox
44
+ they can open in a mail client.
45
+ - `workspace.get` — which account this key is for, and the plan that sets its
46
+ limits.
47
+
48
+ **New on what was already there**
49
+
50
+ - `domains` gained `create`, `get`, `verify` and `delete`. `create` returns
51
+ the records to publish alongside the domain, because showing them to your
52
+ own customer is the one thing every caller does next.
53
+ - `webhooks` gained `update` (enable and disable), `deliveries` and `replay`.
54
+ - `attachments.upload`, and `html` and `attachment_ids` on `messages.send`.
55
+ - `messages.act`, `messages.undo`, `threads.update`.
56
+
57
+ **New types** — `ApiKey`, `AppPassword`, `Delivery`, `DnsRecord`, `Mailbox`,
58
+ `MailboxChange`, `Member`, `MessageActionName`, `MessageListItem`,
59
+ `UploadedAttachment`, `Workspace`. `RoutingRule` gained `domain_id` and
60
+ `destination_id`, and its `match_type` documentation said `exact`, which was
61
+ never a value the API emits.
62
+
12
63
  ## 0.1.0
13
64
 
14
65
  First release.