Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Automattic/wordpress-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0d0f0b4978e8598b7f5035334d4e48b78702a5d5
Choose a base ref
..
head repository: Automattic/wordpress-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 04d3eca6ce34fa10dcf60cd6c8d8ff7e67ca26e4
Choose a head ref
Showing with 1,094 additions and 693 deletions.
  1. +13 −0 .buildkite/nightly.yml
  2. +1 −1 .swiftlint.yml
  3. +26 −24 Cargo.lock
  4. +2 −2 Cargo.toml
  5. +1 −1 Gemfile
  6. +10 −10 Gemfile.lock
  7. +14 −39 Makefile
  8. +6 −6 Package.resolved
  9. +1 −1 Package.swift
  10. +3 −3 native/kotlin/gradle/libs.versions.toml
  11. +11 −3 native/swift/Example/Example.xcodeproj/project.pbxproj
  12. +6 −4 native/swift/Example/Example/Example.entitlements
  13. +3 −3 native/swift/Example/Example/ExampleApp.swift
  14. +5 −29 native/swift/Example/Example/ListViewData.swift
  15. +5 −5 native/swift/Example/Example/ListViewModel.swift
  16. +2 −3 native/swift/Example/Example/LoginManager.swift
  17. +5 −16 native/swift/Example/Example/UI/LoginView.swift
  18. +1 −1 native/swift/Example/Example/UI/RootListView.swift
  19. +14 −6 native/swift/Example/Example/WordPressAPI+Extensions.swift
  20. +15 −0 native/swift/Sources/wordpress-api/Exports.swift
  21. +73 −141 native/swift/Sources/wordpress-api/LoginAPI.swift
  22. +9 −5 native/swift/Sources/wordpress-api/Pagination.swift
  23. +2 −2 native/swift/Sources/wordpress-api/WordPressAPI.swift
  24. +77 −0 native/swift/Sources/wordpress-api/WordPressLoginClientError.swift
  25. +36 −27 native/swift/Tests/wordpress-api/LoginTests.swift
  26. +5 −0 native/swift/Tests/wordpress-api/SendableTests.swift
  27. +2 −2 native/swift/Tests/wordpress-api/Support/Extensions.swift
  28. +0 −71 scripts/plugin-directory.sh
  29. +47 −0 scripts/swift-bindings.sh
  30. +2 −0 wordpress_org_api/Cargo.toml
  31. +218 −0 wordpress_org_api/src/plugin_directory.rs
  32. +70 −0 wordpress_org_api/tests/plugin-query-result.json
  33. +42 −0 wordpress_org_api/tests/plugin-with-different-types-of-values.json
  34. +57 −0 wordpress_org_api/tests/plugin-with-expected-types.json
  35. +90 −233 wordpress_org_api/tests/test_plugin_directory.rs
  36. +34 −1 wp_api/src/api_error.rs
  37. +3 −1 wp_api/uniffi.toml
  38. +4 −6 wp_api_integration_tests/src/lib.rs
  39. +127 −2 wp_api_integration_tests/tests/test_media_err.rs
  40. +3 −2 wp_api_integration_tests/tests/test_media_mut.rs
  41. +49 −43 xcframework/src/main.rs
13 changes: 13 additions & 0 deletions .buildkite/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
steps:
- label: ":wordpress: :rust: WordPress.org API"
command: |
echo "--- :rust: Testing"
make test-rust-integration-wordpress-org-api
env:
TEST_ALL_PLUGINS: true

notify:
- slack:
channels:
- "#wordpress-rs"
message: "Nightly build."
2 changes: 1 addition & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
swiftlint_version: 0.55.1
swiftlint_version: 0.57.1
strict: true
included:
- native/swift
50 changes: 26 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ chrono = "0.4"
clap = "4.5"
convert_case = "0.6"
futures = "0.3"
http = "1.1"
http = "1.2"
indoc = "2.0"
parse_link_header = "0.3"
paste = "1.0"
@@ -40,7 +40,7 @@ strum = "0.26"
strum_macros = "0.26"
syn = "2.0"
thiserror = "1.0"
tokio = "1.41"
tokio = "1.42"
toml = "0.8"
trybuild = "1.0"
uniffi = "0.28"
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -2,6 +2,6 @@

source 'https://rubygems.org'

gem 'fastlane', '~> 2.225'
gem 'fastlane', '~> 2.226'
gem 'cocoapods', '~> 1.16'
gem 'fastlane-plugin-wpmreleasetoolkit', '~> 12.3'
20 changes: 10 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ GEM
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.1015.0)
aws-partitions (1.1020.0)
aws-sdk-core (3.214.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
@@ -34,7 +34,7 @@ GEM
aws-sdk-kms (1.96.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.175.0)
aws-sdk-s3 (1.176.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
@@ -132,7 +132,7 @@ GEM
faraday_middleware (1.2.1)
faraday (~> 1.0)
fastimage (2.3.1)
fastlane (2.225.0)
fastlane (2.226.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
@@ -172,7 +172,7 @@ GEM
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty (~> 0.4.0)
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
fastlane-plugin-wpmreleasetoolkit (12.3.4)
activesupport (>= 6.1.7.1)
@@ -238,14 +238,14 @@ GEM
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.7)
http-cookie (1.0.8)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
java-properties (0.3.0)
jmespath (1.6.2)
json (2.8.2)
json (2.9.0)
jwt (2.9.3)
base64
logger (1.6.2)
@@ -287,7 +287,7 @@ GEM
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.3.9)
rouge (2.0.7)
rouge (3.28.0)
ruby-macho (2.5.1)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
@@ -327,8 +327,8 @@ GEM
colored2 (~> 3.1)
nanaimo (~> 0.4.0)
rexml (>= 3.3.6, < 4.0)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty (0.4.0)
rouge (~> 3.28.0)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)

@@ -339,7 +339,7 @@ PLATFORMS

DEPENDENCIES
cocoapods (~> 1.16)
fastlane (~> 2.225)
fastlane (~> 2.226)
fastlane-plugin-wpmreleasetoolkit (~> 12.3)

BUNDLED WITH
Loading