Skip to content

Commit 5e6f935

Browse files
committed
updated CHANGELOG.md
1 parent 63cc602 commit 5e6f935

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## 0.103.0
6+
7+
ENHANCEMENTS:
8+
9+
* **Monitor Resource**: Fixed query parameter encoding for `prop_list` in ad-hoc metrics queries to properly send multiple parameters instead of comma-separated values
10+
11+
## 0.100.0
12+
13+
NOTES:
14+
15+
* The REST client has been **split into two distinct client types** to provide flexibility for different use cases:
16+
* **Typed Client** (`NewTypedVMSRest`): Provides strongly-typed structs for requests and responses with compile-time type safety, IDE auto-completion, and clear API contracts. Recommended for most use cases.
17+
* **Untyped Client** (`NewVMSRest`): Uses flexible `map[string]any` for data handling. Useful for dynamic scenarios and prototyping.
18+
19+
* The client now supports **full API coverage** for VAST 5.4, with all endpoints autogenerated from the OpenAPI specification
20+
21+
* Resources are now organized by URL structure, with sub-resources becoming **"extra methods"** on their parent resources
22+
23+
BREAKING CHANGES:
24+
25+
* **UserKeys resource removed**: User access key (S3 keys) operations are now available as extra methods on the `Users` resource (via `/users/{id}/access_keys/` endpoints). Use `Users.UserAccessKeys_POST()` to create keys, `Users.UserAccessKeys_DELETE()` to delete keys, and `Users.UserAccessKeys_PATCH()` to enable/disable keys.
26+
27+
* **NonLocalUsers resource removed**: Non-local user operations are now part of the `Users` resource. Use the `Users.UserQuery_GET()` method with appropriate query parameters (via `/users/query/` endpoint).
28+
29+
* **NonLocalGroups resource removed**: Non-local group operations are now part of the `Groups` resource. Use the `Groups.GroupQuery_GET()` method with appropriate query parameters (via `/groups/query/` endpoint).
30+
31+
* **Resource structure reorganized**: All resources now follow a consistent autogenerated pattern:
32+
* Standard CRUD operations: `List`, `Get`, `Create`, `Update`, `Delete`
33+
* Sub-resource operations available as "extra methods" with descriptive names based on the endpoint path
34+
* Extra methods located in `resources/typed/` for typed client and `resources/untyped/` for untyped client
35+
36+
ENHANCEMENTS:
37+
38+
* **Typed Client**: Complete typed coverage for all VAST API resources with strongly-typed request/response models
39+
* **Autogenerated Code**: All resource methods are now generated from OpenAPI specification, ensuring API consistency and reducing maintenance overhead
40+
* **Extra Methods**: Sub-resource operations (like user keys, tenant data, queries) are now available as clearly named methods on parent resources
41+
* **Improved API Coverage**: Full support for all VAST 5.4 API endpoints
42+
* **Better Documentation**: All generated methods include inline documentation with endpoint paths and descriptions
43+
44+
## 0.54.0 and earlier
45+
46+
For changes prior to 0.100.0, please refer to the Git commit history.

0 commit comments

Comments
 (0)