Skip to content

Commit 4381956

Browse files
authored
Merge pull request #3312 from pnp/version-4
Deployment 4.17
2 parents 1fbd4b9 + 2bfc011 commit 4381956

File tree

14 files changed

+302
-220
lines changed

14 files changed

+302
-220
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## 4.17.0 - 2025-Oct-20
9+
10+
Documentation and package updates.
11+
12+
-sp
13+
- Fixed #3309: File checkin() fails when comment has special characters in it
14+
815
## 4.16.0 - 2025-Aug-11
916

1017
Documentation and package updates only.

docs/sp/comments-likes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ await item.like();
252252
// unlike an item
253253
await item.unlike();
254254

255-
// get the liked by information
255+
// ⚠️ getLikedByInformation is deprecated for Items, as the SharePoint REST API no longer works for regular list items. Will continue to work for pages & comments.
256256
const likedByInfo: ILikedByInformation = await item.getLikedByInformation();
257257
```
258258

docs/sp/files.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,3 +540,17 @@ import "@pnp/sp/files";
540540
const sp = spfi(...);
541541
const user = await sp.web.getFolderByServerRelativePath("{folder relative path}").files.getByUrl("name.txt").getLockedByUser();
542542
```
543+
### recycle
544+
545+
Moves the file to the Recycle Bin and returns the identifier of the new Recycle Bin item.
546+
547+
```TypeScript
548+
import { spfi } from "@pnp/sp";
549+
import "@pnp/sp/webs";
550+
import "@pnp/sp/files";
551+
552+
const sp = spfi(...);
553+
554+
const item = await sp.web.getFolderByServerRelativePath("{folder relative path}").files.getByUrl("name.txt").recycle();
555+
556+
```

package-lock.json

Lines changed: 262 additions & 205 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"name": "@pnp/monorepo",
33
"private": true,
44
"type": "module",
5-
"version": "4.16.0",
5+
"version": "4.17.0",
66
"description": "A JavaScript library for SharePoint & Graph development.",
77
"devDependencies": {
8-
"@azure/identity": "4.11.1",
8+
"@azure/identity": "4.13.0",
99
"@azure/msal-browser": "3.28.1",
1010
"@azure/msal-node": "2.16.2",
11-
"@microsoft/microsoft-graph-types": "2.40.0",
11+
"@microsoft/microsoft-graph-types": "2.43.1",
1212
"@pnp/buildsystem": "^4.0.1",
13-
"@pnp/logging": "^4.15.0",
13+
"@pnp/logging": "^4.16.0",
1414
"@types/chai": "4.3.19",
1515
"@types/chai-as-promised": "7.1.8",
1616
"@types/core-js": "2.5.8",
@@ -32,7 +32,7 @@
3232
"string-replace-loader": "3.1.0",
3333
"tslib": "2.8.1",
3434
"typescript": "4.x",
35-
"webpack": "5.101.0",
35+
"webpack": "5.102.1",
3636
"webpack-cli": "5.1.4",
3737
"webpack-dev-server": "5.2.2",
3838
"yargs": "17.7.2"

packages/azidjsclient/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@pnp/core": "0.0.0-PLACEHOLDER",
99
"@pnp/queryable": "0.0.0-PLACEHOLDER",
10-
"@azure/identity": "4.11.1",
10+
"@azure/identity": "4.13.0",
1111
"tslib": "2.8.1"
1212
}
1313
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"main": "./index.js",
66
"typings": "./index",
77
"dependencies": {
8-
"tslib": "2.7.0"
8+
"tslib": "2.8.1"
99
}
1010
}

packages/graph/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "./index.js",
66
"typings": "./index",
77
"dependencies": {
8-
"@microsoft/microsoft-graph-types": "2.40.0",
9-
"tslib": "2.7.0",
8+
"@microsoft/microsoft-graph-types": "2.43.0",
9+
"tslib": "2.8.1",
1010
"@pnp/core": "0.0.0-PLACEHOLDER",
1111
"@pnp/queryable": "0.0.0-PLACEHOLDER"
1212
}

packages/logging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"main": "./index.js",
66
"typings": "./index",
77
"dependencies": {
8-
"tslib": "2.7.0"
8+
"tslib": "2.8.1"
99
}
1010
}

packages/queryable/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "./index.js",
66
"typings": "./index",
77
"dependencies": {
8-
"tslib": "2.7.0",
8+
"tslib": "2.8.1",
99
"@pnp/core": "0.0.0-PLACEHOLDER"
1010
}
1111
}

0 commit comments

Comments
 (0)