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
The change prevents the need to alias when working with different resource operations.
BREAKING CHANGE: All operation classes have been renamed, this will require
consumer class instantiations to be updated accordingly.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
9
9
Check our main [developer changelog](https://developer.paddle.com/?utm_source=dx&utm_medium=paddle-php-sdk) for information about changes to the Paddle Billing platform, the Paddle API, and other developer tools.
10
10
11
-
## 0.1.1 - 2024-01-15
11
+
## [0.2.0] - 2024-01-23
12
+
13
+
### Changed
14
+
15
+
- Operations have been renamed to reduce import conflicts and the use of aliases
16
+
- Unused and abandoned dependency `php-http/message-factory` was removed
All breaking changes prior to v1 will be documented in this file to assist with upgrading.
4
+
5
+
## v0.2.0
6
+
7
+
This version includes a breaking change to the naming of operations. Prior to this version operations were commonly named `<type>Operation`, e.g. `CreateOperation` which posed problems when using more than one resource such as when creating a product and price. The new naming convention includes the resource to prevent the need of aliasing in these circumstances. e.g. `CreatePrice` and `CreateProduct`.
8
+
9
+
To upgrade to `0.2.0` from any earlier version you will need to refactor your use of operations to use the new names. These follow a common pattern that can be seen below:
0 commit comments