HTTP calls from timers are now isolated from regular HTTP operations to avoid interference between them.
Anypoint Flex Gateway Policy Development Kit (PDK) Release Notes
1.4.0
June 27, 2025
What’s New
-
PDK policies are now built with Rust Version 1.87.0 and require the
wasm32-wasip1
target.To update your Device’s rust version and download the
wasm32-wasip1
target, see Rust Requirements for Using PDK.To update your existing policy’s rust version and WASI target, see Upgrade a Policy’s Rust Version and Upgrade a Policy’s WASI Crate.
-
PDK can now develop Mule Gateway custom policies.
-
PDK now provides the Policy Violation framework to report policy violations to Anypoint Monitoring.
-
PDK now supports streaming payload bodies to read payload bodies larger than 1MB.
See Streaming Bodies.
-
PDK now provides these new example policies:
-
Stream Payload Policy Example: Use the Stream Payload Policy as an example of how to read payload bodies larger than 1MB.
-
DataWeave Policy Example: Use the DataWeave Policy as an example of how to handle custom DataWeave expressions in your custom policy.
To learn more about example policies, see Custom Policy Examples.
-
-
The
payload
DataWeave Schema parameter now supports thexml
mimeType
.
Fixed Issues
Issue Resolution | ID |
---|---|
W-18121316 |
Compatibility
Policies created with PDK might be compatible with Flex Gateway versions that aren’t compatible with PDK’s integration testing framework. The Flex Gateway version used for testing doesn’t affect the functionality of the policy when deployed to a different Flex Gateway version. See the following table to ensure your Flex Gateway’s compatibility:
Component | Minimum Flex Gateway Version | Maximum Flex Gateway Version |
---|---|---|
Policies |
1.6.1 |
Latest |
Testing Framework |
1.6.1 |
Latest |
1.3.0
March 18, 2025
What’s New
-
PDK now provides a Contract Validation library to help with creating custom client ID enforcement policies.
-
PDK is now built with Rust Version 1.83.0
-
Integration testing performance is improved for
pdk-test
with desktop configurations. -
PDK can now develop outbound policies.
Fixed Issues
Issue Resolution | ID |
---|---|
|
W-16486150 |
Compatibility
Policies created with PDK might be compatible with Flex Gateway versions that aren’t compatible with PDK’s integration testing framework. The Flex Gateway version used for testing doesn’t affect the functionality of the policy when deployed to a different Flex Gateway version. See the following table to ensure your Flex Gateway’s compatibility:
Component | Minimum Flex Gateway Version | Maximum Flex Gateway Version |
---|---|---|
Policies |
1.6.1 |
Latest |
Testing Framework |
1.6.1 |
Latest |
1.2.0
August 28, 2024
What’s New
-
PDK now provides a CORS library to help create policies that process cross-origin requests.
-
The PDK integration testing framework is improved for easier test configuration.
-
Incorrect conditional parameter schema configurations are now rejected when the policy is compiled instead of when the policy is deployed.
-
Conditional parameters can now depend on
boolean
andinteger
parameters.
Compatibility
Policies created with PDK might be compatible with Flex Gateway versions that aren’t compatible with PDK’s integration testing framework. The Flex Gateway version used for testing doesn’t affect the functionality of the policy when deployed to a different Flex Gateway version. See the following table to ensure your Flex Gateway’s compatibility:
Component | Minimum Flex Gateway Version | Maximum Flex Gateway Version |
---|---|---|
Policies |
1.6.1 |
Latest |
Testing Framework |
1.6.1 |
Latest |