You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **`CreatedAt` and `UpdatedAt` item metadata:** Items and item overviews now expose attributes with their creation and last edit times.
7
-
- **Resolving secrets in bulk**: With the `client.secrets.resolveAll` function, the SDK is now able to resolve multiple secrets at once, improving the performance of the operation.
5
+
- **Support for item states**: You can now fetch an item's state using the SDK. `Item` and `ItemOverview` expose two states: `Active` and`Archived`.
6
+
- `Active`: An item located inside a vault. (Default)
7
+
- `Archived`: An item that has been moved to the Archive. 1Password doesn't include archived items in search results or suggest them when you fill in apps and browsers. You can keep archived items as long as you'd like.
8
+
- **Filtering the return of item listing by state**: You can now filter the listed items by item state. The current exposed filter is `ByState`, which allows devs to filter `ItemOverviews` by their `State` .
8
9
9
10
## IMPROVED
10
11
11
-
- **Support for new field types:** Items with `Address` and `Date` fields can now be created, retrieved, and edited using the 1Password SDK.
12
-
- **Item sharing for attachments and documents**: Items with files attached now can also be shared using the `client.items.shares` functions.
13
-
- **Adding custom fields in sections automatically**: The SDK now automatically adds custom fields without a section to an empty section within the item, creating it if necessary.
14
-
- **`Tags` in item overviews**: The return type of `items.listAll` now also contains the item tags.
15
-
- **Broader item editing capabilities**: You are now able to use the `items.put` function on more items, including those with fields that are not directly editable through the SDK (such as legacy fields, passkeys etc.)
12
+
- **Improved Deleting Capabilities:** You can now delete `Archived` items in the SDKs.
16
13
17
-
## FIXED
14
+
### ⚠️ BREAKING CHANGES ⚠️
18
15
19
-
- **Improvements to resolving secret references:**
20
-
- Archived items are no longer used for secret references.
21
-
- When multiple sections match a section query in resolving secret references, the SDK look through the fields in all sections, instead of erroring.
16
+
This release contains a breaking change for the Go SDK.
17
+
18
+
`items.list_all()` has changed to `items.list()` and below is how to migrate.
19
+
20
+
Before:
21
+
```python
22
+
overviews = await client.items.list_all(vault_id)
23
+
# To iterate through this you can do the following:
0 commit comments