nohead 0.12.0 → 0.13.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: 48bb4125ccf55f25a35f920dc98d764c5f44b517bac4978458fe3da4a263ca30
4
+ data.tar.gz: df78296708d60ca5dcf3153fe86cbe640b19d3645c2d1da4966516c4b9a539b6
5
5
  SHA512:
6
- metadata.gz: 147f6f04ec84877b2e4a452a5694eb3a31ef58084cf01e087163e9b079cda3a88c88ea4b7a02b5e5830ec4618ac1e65a038eac81dcb6e8bee2e7554a3e5ef3d4
7
- data.tar.gz: ca28d24053d19c3277b4ba0af97c5ed9e87d0f5446110d6a74f3aa78b3b3e4f9d5848ab26945e33b6ad9e4255d0cafa4438d0df47588b860b60d1cb345517dc5
6
+ metadata.gz: 50b404d76a782fad6c2253de16b586e59c7c351c963ded57801835d3bd4e9b0888198996d56799eaec6aafe9494e5349b13f2ed2e60bd5dae6cff23c6fcc100a
7
+ data.tar.gz: ef84b5d912e07cbfb64e04ba23828263944c2b391daf27ce6079ad62192000a839c7fe0baeb459bf54cfb12d8e33088eceb422f6839ed28e69b30249e8c55fb1
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ 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.13.0
9
+
10
+ No changes in this SDK: the SDKs keep one version, and this release adds
11
+ Astro support and image-loader fixes to the TypeScript SDK.
12
+
8
13
  ## 0.12.0
9
14
 
10
15
  - `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.13.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.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nohead