nohead 0.11.0 → 0.12.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: c6b193ea9901727584990d4821f6cd66a49f4f38caff164c526c04aee8176a47
4
- data.tar.gz: 273d03d8a27dbe0ca5003d4a7a69ee3bc174f8b2541ff444acc0a2d01b816d5f
3
+ metadata.gz: bdb1a4b807ee43aac99e6a35ca1e0c2ed5249db52a4e807a2e506ecad9b9ee3d
4
+ data.tar.gz: 2abdaef51723edf780182052827928a56854609d76b667780036b5fc99bb94ab
5
5
  SHA512:
6
- metadata.gz: 5d947a9c0bec4a387a5242d48e90e56a8cbd717103d633ba6fb4599d3371592198b7d6dcece96f7e839e6d69191c8480e11eed0ec91a333ffa9c86b25ce5578e
7
- data.tar.gz: f520e1f670adfdef79286d59becb7a5625ac5e73a105a501878e33b02e99448464b579097e68d7c489fe8775030c931299ac826f80e385619f799e7b4286d13e
6
+ metadata.gz: 147f6f04ec84877b2e4a452a5694eb3a31ef58084cf01e087163e9b079cda3a88c88ea4b7a02b5e5830ec4618ac1e65a038eac81dcb6e8bee2e7554a3e5ef3d4
7
+ data.tar.gz: ca28d24053d19c3277b4ba0af97c5ed9e87d0f5446110d6a74f3aa78b3b3e4f9d5848ab26945e33b6ad9e4255d0cafa4438d0df47588b860b60d1cb345517dc5
data/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ 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.12.0
9
+
10
+ - `webhooks.create` and `webhooks.update` take `published_only:`, and every
11
+ webhook has `"published_only"`: a published-only webhook sends only the events that change
12
+ what a published-only API key reads (a record published, unpublished or
13
+ edited while live, schema changes, changes to assets that published records
14
+ use), and skips drafts, schedules and edits to unpublished records.
15
+ - Audit events have `note`: the change note (`Nohead-Change-Note`) a record
16
+ or schema change was made with, or `null`.
17
+
8
18
  ## 0.11.0
9
19
 
10
20
  - `records.diff` takes `rich_text:`, and the client's `rich_text:` now applies
data/README.md CHANGED
@@ -12,6 +12,8 @@ nohead.records.list("posts", filter: { published_at: { exists: true } }).each do
12
12
  end
13
13
  ```
14
14
 
15
+ The key is a project API key: create one under **API keys** in the [web app](https://app.nohead.io), with the **Read records** scope for this example, and set it as `NOHEAD_API_KEY` in your app's environment (or pass it as `api_key:`, under [Configuration](#configuration)). The SDK doesn't read the key that `nohead login` saves for the CLI: give your app a key of its own.
16
+
15
17
  > **Status:** 0.x until the Nohead API launches.
16
18
 
17
19
  ## Contents
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nohead
4
- VERSION = "0.11.0"
4
+ VERSION = "0.12.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.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nohead