Closed flemzord closed 2 months ago
The changes encompass updates across various files in the Go SDK, primarily focusing on the handling of security credentials. Modifications include transitioning the ClientID
and ClientSecret
fields to utilize pointer types, enhancing the handling of optional values. Additionally, the initialization of these fields has been standardized to use the v2.String
function, and documentation has been updated to reflect these changes. New functionalities for server URL management have also been introduced, allowing for dynamic configuration based on organization and environment variables.
File Path | Change Summary |
---|---|
releases/sdks/go/.speakeasy/gen.lock |
Updated docChecksum value in the management section. |
releases/sdks/go/README.md |
Modified ClientID initialization to use v2.String("") , updated server URL documentation, and added variable setting options. |
releases/sdks/go/USAGE.md |
Changed ClientID initialization to use v2.String("") . |
releases/sdks/go/docs/pkg/models/shared/security.md |
Changed ClientID , ClientSecret , and TokenURL from required to optional fields in documentation. |
releases/sdks/go/docs/sdks/formance/README.md |
Removed ClientSecret from shared.Security initialization, updated ClientID to use v2.String("") . |
releases/sdks/go/docs/sdks/formanceorchestrationv1/README.md |
Updated ClientID initialization and removed ClientSecret across multiple examples. |
releases/sdks/go/docs/sdks/formancepaymentsv1/README.md |
Updated ClientID initialization and removed ClientSecret in various function definitions. |
releases/sdks/go/docs/sdks/formancereconciliationv1/README.md |
Updated ClientID initialization and removed ClientSecret in several request structures. |
releases/sdks/go/docs/sdks/formancesearchv1/README.md |
Updated ClientID initialization and removed ClientSecret in multiple instances. |
releases/sdks/go/docs/sdks/formancev1/README.md |
Updated ClientID initialization to use v2.String("") , ClientSecret remains unchanged. |
releases/sdks/go/docs/sdks/formancev2/README.md |
Updated ClientID initialization to use v2.String("") , removed ClientSecret . |
releases/sdks/go/docs/sdks/formancewalletsv1/README.md |
Updated ClientID initialization and removed ClientSecret in various request structures. |
releases/sdks/go/docs/sdks/formancewebhooksv1/README.md |
Updated ClientID initialization and removed ClientSecret in several functions. |
releases/sdks/go/docs/sdks/v1/README.md |
Updated ClientID initialization to use v2.String("") , removed ClientSecret . |
releases/sdks/go/docs/sdks/v2/README.md |
Updated ClientID initialization to use v2.String("") , removed ClientSecret . |
releases/sdks/go/formance.go |
Introduced new structure for dynamic server URL management, added new SDK options for organization and environment. |
releases/sdks/go/internal/hooks/clientcredentials.go |
Added nil checks for ClientID and ClientSecret in getCredentials method to prevent runtime errors. |
releases/sdks/go/pkg/models/shared/security.go |
Changed ClientID , ClientSecret , and tokenURL fields to pointer types for optional value handling. |
expand=balances
query parameter to the GET /wallets
endpoint, related to wallet balances similar to security struct modifications.🐰 In the meadow where bunnies play,
Security fields now lead the way.
With pointers to guide, and strings that sing,
Our SDK dances, oh what a thing!
Dynamic URLs, a joyful cheer,
Hopping along, we have nothing to fear! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?