This is a major version upgrade that introduces breaking changes. Please read carefully before upgrading.
- Region Configuration is Now Required: The
regionfield inAliMNSClientConfigis now mandatory. Client initialization will fail with error "ali-mns: region is empty" if not provided. - Region-Dependent Subscription Endpoints: Subscription endpoints now use the explicitly configured region instead of attempting to parse from endpoint URL.
- Fixed issue#28: Remove panic from client initialization, return errors instead.
- Remove deprecated client creation methods.
- Simplify client configuration with
AliMNSClientConfig. - Update examples to use unified
AliMNSClientConfig. - Fixed some spelling errors.
- Updated version number to 1.0.11 with no other changes.
- Resolved the issue where the region information check failed during resource creation for endpoints with the suffix
-control.
- Fix the error issue#26 where the StsTokenCredential component in the credentials package does not exist.
- Support configuring the logEnable parameter for queues during creation and attribute setting.
- Add an example of base64 encoding and decoding to queue_example.go.
- Add support for dynamic credentials.
- Added an example of HTTP endpoint subscription in
topic_example.go. - Added an example of HTTP authorization in
http_authorization.go. - Removed the check for message body size to allow for larger messages.
- update the minimum Go version declared in go.mod to fix build failures.
- add version and platform information to the user agent
- following Alibaba standards, provide new recommended methods for creating MNS client, and update the example code
- support custom maxConnsPerHost value for the client.
- support custom transport configuration
- support OpenService API
- support setting timeout
- add request id to response