From 71bc6aad75af2681e425edb5f089958cc6bcbdfe Mon Sep 17 00:00:00 2001 From: Jeremy Massel <1123407+jkmassel@users.noreply.github.com> Date: Fri, 5 Jul 2024 16:37:24 -0600 Subject: [PATCH 1/2] Add an initial changelog --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..c2e88cc4c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,33 @@ +# WP REST API Project CHANGELOG + +--- + +## Trunk + +### Breaking Changes + +_None_ + +### New Features + +_None_ + +### Bug Fixes + +_None_ + +### Internal Changes + +_None_ + +## 0.1 + +This is the first release. It supports the following for the Swift and Kotlin platforms: +- Application Token-based login +- Application Token Management endpoints +- Users endpoints +- Plugins endpoints + +It also includes all of the underlying infrastructure for this – including: +- `wp_contextual` – a set of macros for generating model objects from a DSL that closely matches https://developer.wordpress.org/rest-api/reference/. +- `wp_derive_request_builder` – a set of macros for generating endpoint implementations based on Rust's strong generic type support. From 60395dc35382ade04d2b2b7d44a7aa58fe8f6d4d Mon Sep 17 00:00:00 2001 From: Jeremy Massel <1123407+jkmassel@users.noreply.github.com> Date: Fri, 5 Jul 2024 17:03:32 -0600 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Oguz Kocer --- CHANGELOG.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2e88cc4c..7a44e6648 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,3 @@ -# WP REST API Project CHANGELOG - ---- - ## Trunk ### Breaking Changes @@ -22,12 +18,12 @@ _None_ ## 0.1 -This is the first release. It supports the following for the Swift and Kotlin platforms: -- Application Token-based login -- Application Token Management endpoints -- Users endpoints -- Plugins endpoints +This first release includes the following for the Kotlin, Rust & Swift platforms: +- Authentication using Application Passwords +- [Application Passwords](https://developer.wordpress.org/rest-api/reference/application-passwords/) endpoint +- [Users](https://developer.wordpress.org/rest-api/reference/users/) endpoint +- [Plugins](https://developer.wordpress.org/rest-api/reference/plugins/) endpoint It also includes all of the underlying infrastructure for this – including: -- `wp_contextual` – a set of macros for generating model objects from a DSL that closely matches https://developer.wordpress.org/rest-api/reference/. -- `wp_derive_request_builder` – a set of macros for generating endpoint implementations based on Rust's strong generic type support. +- `wp_contextual` – A proc macro that generates `Edit`, `Embed` & `View` contextual types from given Sparse type +- `wp_derive_request_builder` – A proc macro that generates endpoint, request builder and request executor types