Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 3.97 KB

File metadata and controls

52 lines (39 loc) · 3.97 KB

Changelog

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.

[Unreleased]

Added

  • 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/connections and /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
  • WpApiCache APIs to remove cached data for a self-hosted site (by URL) or a WordPress.com site (by site ID), with matching Swift wrappers on WordPressApiCache
  • WpDerivedRequest now supports plain get requests
  • WpDerivedRequest now supports additional_query_pairs

Changed

  • BREAKING: Condense error variants into WpError
  • BREAKING: Contextual filtering
  • BREAKING: Renamed AnyJson to WpAdditionalFields; the type is now constructible from foreign bindings and exposes typed value accessors
  • BREAKING: PostMeta is now a uniffi::Object wrapping the raw meta payload instead of a typed record with a single footnotes field; consumers must use the footnotes() / with_footnotes() accessors and arbitrary meta keys are reachable via value_for_key / with_value
  • BREAKING: PostCreateParams::meta, PostUpdateParams::meta, and SparseAnyPost::meta are now Option<Arc<PostMeta>> instead of Option<PostMeta>
  • BREAKING: Replace WpService.selfHosted and WpService.wordpressCom with a single WpService.new(siteInfo:) constructor. SiteInfo.SelfHosted now carries ParsedUrl values for site_url and api_root instead of String, and the wordpress_com_site_api_root helper has been removed — construct SiteInfo.WordPressCom directly.
  • BREAKING: Swift WordPressAPI initializers now accept a SiteInfo instead of apiRootUrl/apiUrlResolver, and the siteUrl parameter is now a ParsedUrl rather than a String.
  • Reformat CHANGELOG.md to 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 shared comment_on_pr helper from a8c-ci-toolkit)
  • Release documentation

Fixed

[0.1]

Initial release with support for Kotlin, Rust, and Swift platforms.

Added

  • Authentication using Application Passwords
  • Application Passwords endpoint
  • Users endpoint
  • Plugins endpoint
  • wp_contextual – a proc macro that generates Edit, Embed & View contextual types from a given Sparse type
  • wp_derive_request_builder – a proc macro that generates endpoint, request builder, and request executor types