Skip to content

Commit f07b8e3

Browse files
chore: release 4.8.0 (#670)
1 parent ee6d61d commit f07b8e3

41 files changed

Lines changed: 248 additions & 237 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [4.8.0](https://github.com/box/boxcli/compare/v4.7.0...v4.8.0) (2026-04-23)
6+
7+
8+
### New Features and Enhancements
9+
10+
* Add `--raw-json` flag and fix `--json` output ([#669](https://github.com/box/boxcli/issues/669)) ([ee6d61d](https://github.com/box/boxcli/commit/ee6d61d576e5cb037cf1b080f49ddfbd181eee09))
11+
* Add support for `Box Hub Collaborations` endpoints ([#668](https://github.com/box/boxcli/issues/668)) ([543cd60](https://github.com/box/boxcli/commit/543cd60b0f5532bb307aefc2291c0d051e8481bb))
12+
* Add support for `Box Hub Document` endpoints ([#667](https://github.com/box/boxcli/issues/667)) ([2b21328](https://github.com/box/boxcli/commit/2b213285ee8d6205a8461756231beb372ca81059))
13+
* Add support for `Box Hub Items` endpoints ([#665](https://github.com/box/boxcli/issues/665)) ([0f46680](https://github.com/box/boxcli/commit/0f466800a65ad9d57c20057f86f2410e8343493f))
14+
* Add support for `Box Hubs` endpoints ([#664](https://github.com/box/boxcli/issues/664)) ([681b312](https://github.com/box/boxcli/commit/681b31256592bbde00ffc4426917911f51fd951c))
15+
516
## [4.7.0](https://github.com/box/boxcli/compare/v4.6.0...v4.7.0) (2026-03-26)
617

718

docs/ai.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ EXAMPLES
4848
$ box ai:ask --items=id=12345,type=file --prompt "What is the status of this document?"
4949
```
5050

51-
_See code: [src/commands/ai/ask.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/ai/ask.js)_
51+
_See code: [src/commands/ai/ask.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/ai/ask.js)_
5252

5353
## `box ai:extract`
5454

@@ -94,7 +94,7 @@ EXAMPLES
9494
$ box ai:extract --prompt "firstName, lastName, location, yearOfBirth, company" --items "id=12345,type=file" --ai-agent '{"type":"ai_agent_extract","basic_text":{"model":"azure__openai__gpt_4o_mini"}}'
9595
```
9696

97-
_See code: [src/commands/ai/extract.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/ai/extract.js)_
97+
_See code: [src/commands/ai/extract.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/ai/extract.js)_
9898

9999
## `box ai:extract-structured`
100100

@@ -139,7 +139,7 @@ EXAMPLES
139139
$ box ai:extract-structured --items="id=12345,type=file" --metadata-template="type=metadata_template,scope=enterprise,template_key=test" --ai-agent '{"type":"ai_agent_extract_structured","basic_text":{"model":"azure__openai__gpt_4o_mini","prompt_template":"Answer using the provided content"}}'
140140
```
141141

142-
_See code: [src/commands/ai/extract-structured.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/ai/extract-structured.js)_
142+
_See code: [src/commands/ai/extract-structured.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/ai/extract-structured.js)_
143143

144144
## `box ai:text-gen`
145145

@@ -179,4 +179,4 @@ EXAMPLES
179179
$ box ai:text-gen --dialogue-history=prompt="What is the status of this document?",answer="It is in review",created-at="2024-07-09T11:29:46.835Z" --items=id=12345,type=file --prompt="What is the status of this document?"
180180
```
181181

182-
_See code: [src/commands/ai/text-gen.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/ai/text-gen.js)_
182+
_See code: [src/commands/ai/text-gen.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/ai/text-gen.js)_

docs/collaboration-allowlist.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ EXAMPLES
4747
$ box collaboration-allowlist
4848
```
4949

50-
_See code: [src/commands/collaboration-allowlist/index.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaboration-allowlist/index.js)_
50+
_See code: [src/commands/collaboration-allowlist/index.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaboration-allowlist/index.js)_
5151

5252
## `box collaboration-allowlist:add DOMAIN`
5353

@@ -86,7 +86,7 @@ EXAMPLES
8686
$ box collaboration-allowlist:add example.com --direction outbound
8787
```
8888

89-
_See code: [src/commands/collaboration-allowlist/add.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaboration-allowlist/add.js)_
89+
_See code: [src/commands/collaboration-allowlist/add.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaboration-allowlist/add.js)_
9090

9191
## `box collaboration-allowlist:delete ID`
9292

@@ -122,7 +122,7 @@ EXAMPLES
122122
$ box collaboration-allowlist:delete 12345
123123
```
124124

125-
_See code: [src/commands/collaboration-allowlist/delete.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaboration-allowlist/delete.js)_
125+
_See code: [src/commands/collaboration-allowlist/delete.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaboration-allowlist/delete.js)_
126126

127127
## `box collaboration-allowlist:exemptions`
128128

@@ -159,7 +159,7 @@ EXAMPLES
159159
$ box collaboration-allowlist:exemptions
160160
```
161161

162-
_See code: [src/commands/collaboration-allowlist/exemptions/index.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaboration-allowlist/exemptions/index.js)_
162+
_See code: [src/commands/collaboration-allowlist/exemptions/index.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaboration-allowlist/exemptions/index.js)_
163163

164164
## `box collaboration-allowlist:exemptions:create USERID`
165165

@@ -195,7 +195,7 @@ EXAMPLES
195195
$ box collaboration-allowlist:exemptions:create 11111
196196
```
197197

198-
_See code: [src/commands/collaboration-allowlist/exemptions/create.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaboration-allowlist/exemptions/create.js)_
198+
_See code: [src/commands/collaboration-allowlist/exemptions/create.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaboration-allowlist/exemptions/create.js)_
199199

200200
## `box collaboration-allowlist:exemptions:delete ID`
201201

@@ -231,7 +231,7 @@ EXAMPLES
231231
$ box collaboration-allowlist:exemptions:delete 12345
232232
```
233233

234-
_See code: [src/commands/collaboration-allowlist/exemptions/delete.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaboration-allowlist/exemptions/delete.js)_
234+
_See code: [src/commands/collaboration-allowlist/exemptions/delete.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaboration-allowlist/exemptions/delete.js)_
235235

236236
## `box collaboration-allowlist:exemptions:get ID`
237237

@@ -267,7 +267,7 @@ EXAMPLES
267267
$ box collaboration-allowlist:exemptions:get 12345
268268
```
269269

270-
_See code: [src/commands/collaboration-allowlist/exemptions/get.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaboration-allowlist/exemptions/get.js)_
270+
_See code: [src/commands/collaboration-allowlist/exemptions/get.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaboration-allowlist/exemptions/get.js)_
271271

272272
## `box collaboration-allowlist:get ID`
273273

@@ -303,4 +303,4 @@ EXAMPLES
303303
$ box collaboration-allowlist:get 12345
304304
```
305305

306-
_See code: [src/commands/collaboration-allowlist/get.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaboration-allowlist/get.js)_
306+
_See code: [src/commands/collaboration-allowlist/get.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaboration-allowlist/get.js)_

docs/collaborations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ EXAMPLES
110110
$ box collaborations:create 22222 folder --role editor --user-id 33333
111111
```
112112

113-
_See code: [src/commands/collaborations/create.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaborations/create.js)_
113+
_See code: [src/commands/collaborations/create.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaborations/create.js)_
114114

115115
## `box collaborations:delete ID`
116116

@@ -150,7 +150,7 @@ EXAMPLES
150150
$ box collaborations:delete 12345
151151
```
152152

153-
_See code: [src/commands/collaborations/delete.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaborations/delete.js)_
153+
_See code: [src/commands/collaborations/delete.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaborations/delete.js)_
154154

155155
## `box collaborations:get ID`
156156

@@ -186,7 +186,7 @@ EXAMPLES
186186
$ box collaborations:get 12345
187187
```
188188

189-
_See code: [src/commands/collaborations/get.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaborations/get.js)_
189+
_See code: [src/commands/collaborations/get.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaborations/get.js)_
190190

191191
## `box collaborations:get-pending`
192192

@@ -302,7 +302,7 @@ EXAMPLES
302302
$ box collaborations:pending
303303
```
304304

305-
_See code: [src/commands/collaborations/pending.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaborations/pending.js)_
305+
_See code: [src/commands/collaborations/pending.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaborations/pending.js)_
306306

307307
## `box collaborations:update ID`
308308

@@ -351,4 +351,4 @@ EXAMPLES
351351
$ box collaborations:update 12345 --role viewer
352352
```
353353

354-
_See code: [src/commands/collaborations/update.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collaborations/update.js)_
354+
_See code: [src/commands/collaborations/update.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collaborations/update.js)_

docs/collections.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ EXAMPLES
4343
$ box collections
4444
```
4545

46-
_See code: [src/commands/collections/index.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collections/index.js)_
46+
_See code: [src/commands/collections/index.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collections/index.js)_
4747

4848
## `box collections:add ITEMTYPE ITEMID COLLECTIONID`
4949

@@ -81,7 +81,7 @@ EXAMPLES
8181
$ box collections:add file 11111 12345
8282
```
8383

84-
_See code: [src/commands/collections/add.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collections/add.js)_
84+
_See code: [src/commands/collections/add.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collections/add.js)_
8585

8686
## `box collections:items ID`
8787

@@ -121,7 +121,7 @@ EXAMPLES
121121
$ box collections:items 12345
122122
```
123123

124-
_See code: [src/commands/collections/items.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collections/items.js)_
124+
_See code: [src/commands/collections/items.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collections/items.js)_
125125

126126
## `box collections:list`
127127

@@ -193,4 +193,4 @@ EXAMPLES
193193
$ box collections:remove file 11111 12345
194194
```
195195

196-
_See code: [src/commands/collections/remove.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/collections/remove.js)_
196+
_See code: [src/commands/collections/remove.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/collections/remove.js)_

docs/comments.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ EXAMPLES
4848
$ box comments:create 11111 --message "Thanks for the update!"
4949
```
5050

51-
_See code: [src/commands/comments/create.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/comments/create.js)_
51+
_See code: [src/commands/comments/create.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/comments/create.js)_
5252

5353
## `box comments:delete ID`
5454

@@ -84,7 +84,7 @@ EXAMPLES
8484
$ box comments:delete 12345
8585
```
8686

87-
_See code: [src/commands/comments/delete.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/comments/delete.js)_
87+
_See code: [src/commands/comments/delete.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/comments/delete.js)_
8888

8989
## `box comments:get ID`
9090

@@ -120,7 +120,7 @@ EXAMPLES
120120
$ box comments:get 12345
121121
```
122122

123-
_See code: [src/commands/comments/get.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/comments/get.js)_
123+
_See code: [src/commands/comments/get.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/comments/get.js)_
124124

125125
## `box comments:list ID`
126126

@@ -197,7 +197,7 @@ EXAMPLES
197197
$ box comments:reply 12345 --message "No problem!"
198198
```
199199

200-
_See code: [src/commands/comments/reply.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/comments/reply.js)_
200+
_See code: [src/commands/comments/reply.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/comments/reply.js)_
201201

202202
## `box comments:update ID`
203203

@@ -236,4 +236,4 @@ EXAMPLES
236236
$ box comments:update 12345 --message "Thank you for the update!"
237237
```
238238

239-
_See code: [src/commands/comments/update.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/comments/update.js)_
239+
_See code: [src/commands/comments/update.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/comments/update.js)_

docs/configure.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ EXAMPLES
8080
$ box configure:environments:add ./config.json --ccg-auth --name ci-bot
8181
```
8282

83-
_See code: [src/commands/configure/environments/add.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/configure/environments/add.js)_
83+
_See code: [src/commands/configure/environments/add.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/configure/environments/add.js)_
8484

8585
## `box configure:environments:delete [NAME]`
8686

@@ -103,7 +103,7 @@ DESCRIPTION
103103
Delete a Box environment
104104
```
105105

106-
_See code: [src/commands/configure/environments/delete.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/configure/environments/delete.js)_
106+
_See code: [src/commands/configure/environments/delete.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/configure/environments/delete.js)_
107107

108108
## `box configure:environments:get`
109109

@@ -130,7 +130,7 @@ ALIASES
130130
$ box configure:environments:list
131131
```
132132

133-
_See code: [src/commands/configure/environments/get.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/configure/environments/get.js)_
133+
_See code: [src/commands/configure/environments/get.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/configure/environments/get.js)_
134134

135135
## `box configure:environments:list`
136136

@@ -205,7 +205,7 @@ ALIASES
205205
$ box configure:environments:select
206206
```
207207

208-
_See code: [src/commands/configure/environments/set-current.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/configure/environments/set-current.js)_
208+
_See code: [src/commands/configure/environments/set-current.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/configure/environments/set-current.js)_
209209

210210
## `box configure:environments:switch-user [USERID]`
211211

@@ -239,7 +239,7 @@ DESCRIPTION
239239
Switch the default Box user to run commands as
240240
```
241241

242-
_See code: [src/commands/configure/environments/switch-user.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/configure/environments/switch-user.js)_
242+
_See code: [src/commands/configure/environments/switch-user.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/configure/environments/switch-user.js)_
243243

244244
## `box configure:environments:update [NAME]`
245245

@@ -271,7 +271,7 @@ DESCRIPTION
271271
Update a Box environment
272272
```
273273

274-
_See code: [src/commands/configure/environments/update.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/configure/environments/update.js)_
274+
_See code: [src/commands/configure/environments/update.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/configure/environments/update.js)_
275275

276276
## `box configure:settings`
277277

@@ -306,4 +306,4 @@ DESCRIPTION
306306
View and update CLI configuration settings
307307
```
308308

309-
_See code: [src/commands/configure/settings.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/configure/settings.js)_
309+
_See code: [src/commands/configure/settings.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/configure/settings.js)_

docs/device-pins.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ EXAMPLES
4545
$ box device-pins
4646
```
4747

48-
_See code: [src/commands/device-pins/index.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/device-pins/index.js)_
48+
_See code: [src/commands/device-pins/index.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/device-pins/index.js)_
4949

5050
## `box device-pins:delete ID`
5151

@@ -81,7 +81,7 @@ EXAMPLES
8181
$ box device-pins:delete 12345
8282
```
8383

84-
_See code: [src/commands/device-pins/delete.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/device-pins/delete.js)_
84+
_See code: [src/commands/device-pins/delete.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/device-pins/delete.js)_
8585

8686
## `box device-pins:get ID`
8787

@@ -117,4 +117,4 @@ EXAMPLES
117117
$ box device-pins:get 12345
118118
```
119119

120-
_See code: [src/commands/device-pins/get.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/device-pins/get.js)_
120+
_See code: [src/commands/device-pins/get.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/device-pins/get.js)_

docs/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ EXAMPLES
107107
$ box events --enterprise --created-after 2019-01-01
108108
```
109109

110-
_See code: [src/commands/events/index.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/events/index.js)_
110+
_See code: [src/commands/events/index.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/events/index.js)_
111111

112112
## `box events:get`
113113

@@ -246,4 +246,4 @@ DESCRIPTION
246246
Poll the event stream
247247
```
248248

249-
_See code: [src/commands/events/poll.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/events/poll.js)_
249+
_See code: [src/commands/events/poll.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/events/poll.js)_

docs/file-requests.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ EXAMPLES
5353
$ box file-requests:copy 22222 44444
5454
```
5555

56-
_See code: [src/commands/file-requests/copy.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/file-requests/copy.js)_
56+
_See code: [src/commands/file-requests/copy.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/file-requests/copy.js)_
5757

5858
## `box file-requests:delete ID`
5959

@@ -89,7 +89,7 @@ EXAMPLES
8989
$ box file-requests:delete 12345
9090
```
9191

92-
_See code: [src/commands/file-requests/delete.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/file-requests/delete.js)_
92+
_See code: [src/commands/file-requests/delete.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/file-requests/delete.js)_
9393

9494
## `box file-requests:get ID`
9595

@@ -125,7 +125,7 @@ EXAMPLES
125125
$ box file-requests:get 12345
126126
```
127127

128-
_See code: [src/commands/file-requests/get.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/file-requests/get.js)_
128+
_See code: [src/commands/file-requests/get.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/file-requests/get.js)_
129129

130130
## `box file-requests:update ID`
131131

@@ -172,4 +172,4 @@ EXAMPLES
172172
$ box file-requests:update 12345 --description "New file request description!"
173173
```
174174

175-
_See code: [src/commands/file-requests/update.js](https://github.com/box/boxcli/blob/v4.7.0/src/commands/file-requests/update.js)_
175+
_See code: [src/commands/file-requests/update.js](https://github.com/box/boxcli/blob/v4.8.0/src/commands/file-requests/update.js)_

0 commit comments

Comments
 (0)