All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Post Types endpoint
- Site Settings endpoint
- Wp Site Health Tests endpoint
- Template Parts endpoint
- Template Revisions endpoint
- Template Autosaves endpoint
- WordPress.com Publicize endpoints (
/sites/<site>/publicize/connectionsand/sites/<site>/publicize/services) for listing, creating, updating, and deleting Jetpack Social connections - WordPress.com
/me/connections(keyring) endpoint for listing third-party OAuth connections used by Jetpack Social WpApiCacheAPIs to remove cached data for a self-hosted site (by URL) or a WordPress.com site (by site ID), with matching Swift wrappers onWordPressApiCacheWpDerivedRequestnow supports plaingetrequestsWpDerivedRequestnow supportsadditional_query_pairs
- BREAKING: Condense error variants into
WpError - BREAKING: Contextual filtering
- BREAKING: Renamed
AnyJsontoWpAdditionalFields; the type is now constructible from foreign bindings and exposes typed value accessors - BREAKING:
PostMetais now auniffi::Objectwrapping the raw meta payload instead of a typed record with a singlefootnotesfield; consumers must use thefootnotes()/with_footnotes()accessors and arbitrary meta keys are reachable viavalue_for_key/with_value - BREAKING:
PostCreateParams::meta,PostUpdateParams::meta, andSparseAnyPost::metaare nowOption<Arc<PostMeta>>instead ofOption<PostMeta> - BREAKING: Replace
WpService.selfHostedandWpService.wordpressComwith a singleWpService.new(siteInfo:)constructor.SiteInfo.SelfHostednow carriesParsedUrlvalues forsite_urlandapi_rootinstead ofString, and thewordpress_com_site_api_roothelper has been removed — constructSiteInfo.WordPressComdirectly. - BREAKING: Swift
WordPressAPIinitializers now accept aSiteInfoinstead ofapiRootUrl/apiUrlResolver, and thesiteUrlparameter is now aParsedUrlrather than aString. - Reformat
CHANGELOG.mdto follow Keep a Changelog and enforce changelog updates on PRs via a Buildkite check that also surfaces the failure as a GitHub PR comment (using the sharedcomment_on_prhelper froma8c-ci-toolkit) - Release documentation
- Support both Integer and String for
WPApiDetails.gmt_offset - Pin
wp-cli/restfulto v0.4.1 to fix Docker build (v0.4.2+ requires unreleasedwp-cli ^2.13)
Initial release with support for Kotlin, Rust, and Swift platforms.
- Authentication using Application Passwords
- Application Passwords endpoint
- Users endpoint
- Plugins endpoint
wp_contextual– a proc macro that generatesEdit,Embed&Viewcontextual types from a given Sparse typewp_derive_request_builder– a proc macro that generates endpoint, request builder, and request executor types