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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdb1a4b807ee43aac99e6a35ca1e0c2ed5249db52a4e807a2e506ecad9b9ee3d
4
- data.tar.gz: 2abdaef51723edf780182052827928a56854609d76b667780036b5fc99bb94ab
3
+ metadata.gz: 27088b584affe038d0f66f28eb1f24a44617c741d2a75f7474bde5ceadc0ddf5
4
+ data.tar.gz: 96e712dc466577ec19968ace44abc9438df8944bfb8476dd3bb0fff5f96ab578
5
5
  SHA512:
6
- metadata.gz: 147f6f04ec84877b2e4a452a5694eb3a31ef58084cf01e087163e9b079cda3a88c88ea4b7a02b5e5830ec4618ac1e65a038eac81dcb6e8bee2e7554a3e5ef3d4
7
- data.tar.gz: ca28d24053d19c3277b4ba0af97c5ed9e87d0f5446110d6a74f3aa78b3b3e4f9d5848ab26945e33b6ad9e4255d0cafa4438d0df47588b860b60d1cb345517dc5
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`, `base_url: ""` uses `https://api.nohead.io`). The base URL comes only from `base_url:`, never from the environment. A `base_url:` that isn't `http` or `https` raises `Nohead::Error`.
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nohead
4
- VERSION = "0.12.0"
4
+ VERSION = "0.14.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nohead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nohead