nohead 0.12.0 → 0.14.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/README.md +1 -2
- data/lib/nohead/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27088b584affe038d0f66f28eb1f24a44617c741d2a75f7474bde5ceadc0ddf5
|
|
4
|
+
data.tar.gz: 96e712dc466577ec19968ace44abc9438df8944bfb8476dd3bb0fff5f96ab578
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dae21f240f2a10655ba5ecbe6a490cf9f41cdb3208d30f889a79ef5d1c3837661fb38f169c6b703e88b775bd2b0c54eb244aeb9f10f807697f81c15ae8513ddc
|
|
7
|
+
data.tar.gz: 4be16a1f111b4d43a69aacef4116b2e25e57fe9e8f59fa75fdf894e74dbf8d614d62bfa37aa40b2cf62ca68f3e47ab2674f65e8bdfde9ed31fabfeb69bb9080b
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ Changes to the `nohead` gem that you can notice. Versions follow
|
|
|
5
5
|
releases; a change that could break your code is a major one. Each release's
|
|
6
6
|
section is its GitHub release's notes.
|
|
7
7
|
|
|
8
|
+
## 0.14.0
|
|
9
|
+
|
|
10
|
+
No changes in this SDK: the SDKs keep one version, and this release gives
|
|
11
|
+
the TypeScript SDK's Astro loader its schema and types, and its image
|
|
12
|
+
service defaults from astro.config.
|
|
13
|
+
|
|
14
|
+
## 0.13.0
|
|
15
|
+
|
|
16
|
+
No changes in this SDK: the SDKs keep one version, and this release adds
|
|
17
|
+
Astro support and image-loader fixes to the TypeScript SDK.
|
|
18
|
+
|
|
8
19
|
## 0.12.0
|
|
9
20
|
|
|
10
21
|
- `webhooks.create` and `webhooks.update` take `published_only:`, and every
|
data/README.md
CHANGED
|
@@ -59,7 +59,6 @@ nohead = Nohead::Client.new(
|
|
|
59
59
|
| Option | Default | |
|
|
60
60
|
|---|---|---|
|
|
61
61
|
| `api_key:` | `NOHEAD_API_KEY` | A project API key (`nohead_sk_...`, or `nohead_pk_...` when published-only). Required. |
|
|
62
|
-
| `base_url:` | `https://api.nohead.io` | For a proxy, or a mock server in tests. |
|
|
63
62
|
| `project_id:` | the key's project | Looked up once with `GET /v1/me` when omitted. |
|
|
64
63
|
| `max_retries:` | `2` | See [retries](#retries-and-idempotency). |
|
|
65
64
|
| `timeout:` | `60` | The longest wait in seconds without progress, per attempt: connecting, waiting for the response, and between reads and writes of a body. A response that keeps arriving doesn't time out. |
|
|
@@ -68,7 +67,7 @@ nohead = Nohead::Client.new(
|
|
|
68
67
|
| `on_retry:` | | Called before each retry's wait. See [retries](#retries-and-idempotency). |
|
|
69
68
|
| `rich_text:` | `"document"` | How rich text fields read: see [rich text](#rich-text). |
|
|
70
69
|
|
|
71
|
-
An empty string is the same as leaving an option out (`api_key: ""` reads `NOHEAD_API_KEY
|
|
70
|
+
An empty string is the same as leaving an option out (`api_key: ""` reads `NOHEAD_API_KEY`).
|
|
72
71
|
|
|
73
72
|
`with_options` gives a copy of the client with other settings (`timeout:`, `max_retries:`, `headers:`, added to the client's, `on_retry:` and `rich_text:`), sharing its project lookup:
|
|
74
73
|
|
data/lib/nohead/version.rb
CHANGED