needle-cloud 2.1.0 → 2.2.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.
- package/CHANGELOG.md +32 -0
- package/dist/cli.esm.js +1 -1
- package/dist/index.d.ts +162 -2
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,38 @@ All notable changes to this package will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [2.2.0] - 2026-05-27
|
|
8
|
+
### Added
|
|
9
|
+
- HDR / HDRI / EXR upload support — upload environment textures directly via the CLI or SDK
|
|
10
|
+
- Public content API — new `listPublicContent()` and `getPublicContent()` functions exposed from `needle-cloud` for anonymous access to publicly shared content
|
|
11
|
+
- `classifyUpload()` — unified upload classification (deployment vs. environment texture vs. 3D asset) with capability flags (`canOptimize`, `canConvertToGLB`)
|
|
12
|
+
- `deleteVersion()` — SDK method to delete individual content versions
|
|
13
|
+
- Presentation settings — new `PresentationV1` type for viewer configuration (environment, skybox, tone mapping, exposure, background)
|
|
14
|
+
- `is_public` flag on content items — mark content as publicly discoverable
|
|
15
|
+
- `colors_hex` field on content detail responses (dominant colors from AI analysis)
|
|
16
|
+
- `width` / `height` dimensions on content versions and variants (for image/HDRI content)
|
|
17
|
+
- `org_id` filter on public content listings
|
|
18
|
+
- Tree-shaking support — the `needle-cloud` package now supports tree-shaking for smaller bundles
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- `JobResultInfo` renamed to `ArtifactMeta` (old name still exported as deprecated alias)
|
|
22
|
+
- Content types extended: new `"hdri"` content type, new `"exr"` and `"pmrem"` content formats
|
|
23
|
+
- Upload validation now rejects multi-HDRI uploads (one environment texture per content item)
|
|
24
|
+
- `containsHtmlFiles()` renamed to `isDeploymentUpload()` (old name removed)
|
|
25
|
+
- `generate-material` command now only downloads output files when `--outdir` is passed
|
|
26
|
+
- Expanded file MIME type coverage in SDK
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
- Directory entries and zero-byte files are now filtered out during uploads
|
|
30
|
+
- Upload timeout increased to prevent timeouts on large files
|
|
31
|
+
- Bot probes no longer trip the `sendEvent` circuit breaker
|
|
32
|
+
- CLI auth flow: sign-in + run command in a single invocation now works correctly
|
|
33
|
+
|
|
34
|
+
## [2.1.0] - 2026-05-17
|
|
35
|
+
- add: per-process instance ID sent on AI WebSocket connections
|
|
36
|
+
- add: public content API types and SDK methods
|
|
37
|
+
- add: `is_public` content flag and public content endpoint
|
|
38
|
+
|
|
7
39
|
## [2.0.1] - 2026-05-11
|
|
8
40
|
- add: chat SDK
|
|
9
41
|
- fix: list content and download commands
|