Skip to content

Commit

Permalink
Merge pull request #3064 from juliemturner/version-4
Browse files Browse the repository at this point in the history
Updates to date
  • Loading branch information
juliemturner authored Jun 5, 2024
2 parents e95a319 + 9f19131 commit 95173c5
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 88 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 4.1.1 - 2024-June-05

### Fixed

- graph
- Fixed batching issues that fails when batched call returns 204

## 4.1.0 - 2024-May-24

### Fixed
Expand Down
32 changes: 0 additions & 32 deletions docs/graph/taxonomy.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,6 @@ const graph = graphfi(...);
// get term store data
const info: ITermStoreInfo = await graph.sites.getById("contoso.sharepoint.com,91dd2418-8fb9-4e0e-919d-c1b31e938386,285cc5a1-cf50-4e4d-8d93-5ba5a8e76e01").termStore();

```
### SearchTerm

Search for terms starting with provided label under entire termStore or a termSet or a parent term.

The following properties are valid for the supplied query: `label: string`, `setId?: string`, `parentTermId?: string`, `languageTag?: string`, `stringMatchOption?: "ExactMatch" | "StartsWith"`.

```TypeScript
import { graphfi } from "@pnp/graph";
import "@pnp/graph/taxonomy";

const graph = graphfi(...);

// minimally requires the label
const results1 = await graph.termStore.searchTerm({
label: "test",
});

// other properties can be included as needed
const results2 = await graph.termStore.searchTerm({
label: "test",
setId: "{guid}",
});

// other properties can be included as needed
const results3 = await graph.termStore.searchTerm({
label: "test",
setId: "{guid}",
stringMatchOption: "ExactMatch",
});
```

### Update
Expand Down Expand Up @@ -404,8 +374,6 @@ const termInfo2 = await graph.termStore.groups.getById("338666a8-1111-2222-3333-

### Delete

_Added in 3.10.0_

```TypeScript
import { graphfi, SPFxToken, SPFx } from "@pnp/graph";
import "@pnp/graph/taxonomy";
Expand Down
136 changes: 81 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pnp/monorepo",
"private": true,
"type": "module",
"version": "4.1.0",
"version": "4.1.1",
"description": "A JavaScript library for SharePoint & Graph development.",
"devDependencies": {
"@azure/identity": "4.2.0",
Expand Down

0 comments on commit 95173c5

Please sign in to comment.