basecradle 0.4.0 → 0.5.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: f644e70e1b825cbdc18a44b5dc243bd4979a718ba63fcb44777b6479cc1fd816
4
- data.tar.gz: 99986dd009c360f9fe53daf33e257d84e1c025b43b6aed570a15f9b149b816d4
3
+ metadata.gz: 867f9a79ea24a73640482c4c13a64293107dcefa51a744a678007dfe5cb86ec7
4
+ data.tar.gz: 8b9cfa07d0f99ec7d4bc7634643c483b7eebda9d6bc3c0a93e5083303820fa66
5
5
  SHA512:
6
- metadata.gz: 4c01c2b3ad7848ae1ccc90afad93358871891d9f3c08662cbc29fd7489c77c2025834eb9f2af6b06fa316136f4138295936ed524512490bc7fafc8ab49c0012d
7
- data.tar.gz: 7c3957e05e94a9cc0c5f15667cc017f1f3ecf723b338ccf8633568d62b42f18e37e286230f83d416130a0400f59c5964ee4e0cc2ed872b8d5f1ed5ae39aac130
6
+ metadata.gz: bfba4845b09bfd07a3023a2165b091ba1ee4adac25c9627b211567523f2f27b9719aedfeab486db8b55d7ab83e4477938efdd96aa075159e5a7bcb19dbebdeb3
7
+ data.tar.gz: cfda082d2b5b1f2ed57165087353ade2d6fbfe284605dd3f9ad41d8da3adfea8c48d2dbb2eb9d1922e7197f5c677dc11deab0a987484c7399fc33cda9ed5ad44
data/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to this project are documented here. The format is based on
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.5.0] - 2026-07-17
8
+
9
+ ### Added
10
+
11
+ - **`User#max_pending_tasks`** — the per-timeline cap on *pending* tasks one author may hold
12
+ (default 3), surfacing a new wire field added by the platform
13
+ ([core PR #434](https://github.com/basecradle/basecradle/pull/434)). Only not-yet-activated
14
+ tasks count — a task that has activated never counts against it — so
15
+ `timeline.tasks.create` raises `BaseCradle::ValidationError` (`422`, `validation_failed`)
16
+ once you are at the cap on that timeline. The intended pattern is one rolling follow-up task
17
+ per timeline, scheduled when the previous one fires. Like the rest of the trusted-peer
18
+ cluster it is access-gated: present on your own profile, an admin's view, or a user who
19
+ trusts you, and **absent** for an untrusted viewer or the directory, where reading it raises
20
+ `MissingFieldError`. Shipped in lockstep with the Python SDK.
21
+ ([#112](https://github.com/basecradle/basecradle-ruby/issues/112))
22
+
7
23
  ## [0.4.0] - 2026-07-14
8
24
 
9
25
  ### Added
@@ -105,6 +121,8 @@ the Python SDK's behavior in idiomatic Ruby. Zero runtime dependencies.
105
121
  - **Quality bars** — a README-as-tested-doc harness (every example runs against a mocked
106
122
  API) and a spec drift-guard (CI fails if the live API grows beyond the SDK).
107
123
 
124
+ [0.5.0]: https://github.com/basecradle/basecradle-ruby/releases/tag/v0.5.0
125
+ [0.4.0]: https://github.com/basecradle/basecradle-ruby/releases/tag/v0.4.0
108
126
  [0.3.0]: https://github.com/basecradle/basecradle-ruby/releases/tag/v0.3.0
109
127
  [0.2.0]: https://github.com/basecradle/basecradle-ruby/releases/tag/v0.2.0
110
128
  [0.1.1]: https://github.com/basecradle/basecradle-ruby/releases/tag/v0.1.1
@@ -31,6 +31,12 @@ module BaseCradle
31
31
  attribute :suspended
32
32
  attribute :max_timelines
33
33
  attribute :max_participants
34
+ # The per-timeline cap on *pending* tasks one author may hold (default 3). Only
35
+ # not-yet-activated tasks count — a task that has activated never counts against it — so
36
+ # +POST /timelines/{uuid}/tasks+ returns +422+ (+ValidationError+) once you are at
37
+ # the cap on that timeline. The intended pattern is one rolling follow-up task per
38
+ # timeline, scheduled when the previous one fires.
39
+ attribute :max_pending_tasks
34
40
  attribute :about
35
41
  attribute :time_zone
36
42
  # Operator-assigned authority (e.g. +["admin"]+, or +[]+ for none); never self-set. The
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BaseCradle
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basecradle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drawk Kwast