@typeb-digital/nucleus-sdk 0.5.1 → 0.5.2

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -6,6 +6,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). While the
7
7
  package is pre-`1.0.0`, **breaking changes may land in a minor version** (e.g. `0.0.x` → `0.1.0`).
8
8
 
9
+ ## [0.5.2] - 2026-08-10
10
+
11
+ Billable defaults on clients and projects. Additive and non-breaking.
12
+
13
+ ### Added
14
+
15
+ - **`clients` expose a billable default.** `ClientFinancials` now includes
16
+ `defaultBillable: boolean` (whether the client's hours bill by default; defaults
17
+ to `true`). Writable via `clients.create` / `clients.update`.
18
+ - **`projects` can override it.** `ProjectCore` now includes
19
+ `defaultBillable: boolean | null`, where **`null` means "inherit the client"** —
20
+ it is not the same as `false`. A project left at `null` keeps following the client
21
+ when the client's default changes; one set to `false` does not. Writable via
22
+ `projects.create` / `projects.update`; pass `null` to clear an override back to
23
+ inheriting.
24
+
25
+ ### Notes
26
+
27
+ - **Resolve it yourself as `project ?? client`.** Nucleus stores the terms only and
28
+ does no resolution — deliberately, so the two facts stay distinguishable. Copy the
29
+ resolved value onto a time entry at write time rather than reading through at
30
+ display time, or historical entries will silently change meaning when a default is
31
+ edited.
32
+
33
+ ## [0.5.1] - 2026-08-04
34
+
35
+ ### Fixed
36
+
37
+ - **No JSON content-type on bodyless requests.** `GET`/`DELETE` no longer send a
38
+ `Content-Type: application/json` header they have no body for.
39
+
9
40
  ## [0.5.0] - 2026-08-04
10
41
 
11
42
  Effective-dated staffing allocation for project team members. Additive and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeb-digital/nucleus-sdk",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Server-side TypeScript SDK for the Nucleus data platform",
5
5
  "type": "module",
6
6
  "engines": {