Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also 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: ampproject/amp-wp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.5.4
Choose a base ref
...
head repository: ampproject/amp-wp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.5.5
Choose a head ref

Commits on Jul 15, 2024

  1. Copy the full SHA
    1350e8b View commit details

Commits on Aug 2, 2024

  1. Bump semver from 7.6.2 to 7.6.3

    Bumps [semver](https://github.com/npm/node-semver) from 7.6.2 to 7.6.3.
    - [Release notes](https://github.com/npm/node-semver/releases)
    - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
    - [Commits](npm/node-semver@v7.6.2...v7.6.3)
    
    ---
    updated-dependencies:
    - dependency-name: semver
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 2, 2024
    Copy the full SHA
    76cb2d7 View commit details

Commits on Aug 22, 2024

  1. Copy the full SHA
    66ca42e View commit details
  2. Copy the full SHA
    c0f05a0 View commit details
  3. Copy the full SHA
    296c233 View commit details

Commits on Sep 2, 2024

  1. Bump axios from 1.7.2 to 1.7.7

    Bumps [axios](https://github.com/axios/axios) from 1.7.2 to 1.7.7.
    - [Release notes](https://github.com/axios/axios/releases)
    - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
    - [Commits](axios/axios@v1.7.2...v1.7.7)
    
    ---
    updated-dependencies:
    - dependency-name: axios
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 2, 2024
    Copy the full SHA
    79656c8 View commit details

Commits on Sep 3, 2024

  1. Merge pull request #7864 from ampproject/fix/isset-check

    Add isset() check in case source type is absent
    westonruter authored Sep 3, 2024
    Copy the full SHA
    ad24bd7 View commit details

Commits on Sep 17, 2024

  1. Bump serve-static and express

    Bumps [serve-static](https://github.com/expressjs/serve-static) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.
    
    Updates `serve-static` from 1.15.0 to 1.16.2
    - [Release notes](https://github.com/expressjs/serve-static/releases)
    - [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
    - [Commits](expressjs/serve-static@v1.15.0...v1.16.2)
    
    Updates `express` from 4.19.2 to 4.21.0
    - [Release notes](https://github.com/expressjs/express/releases)
    - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
    - [Commits](expressjs/express@4.19.2...4.21.0)
    
    ---
    updated-dependencies:
    - dependency-name: serve-static
      dependency-type: indirect
    - dependency-name: express
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 17, 2024
    Copy the full SHA
    4170beb View commit details
  2. Bump send and express

    Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.
    
    Updates `send` from 0.18.0 to 0.19.0
    - [Release notes](https://github.com/pillarjs/send/releases)
    - [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
    - [Commits](pillarjs/send@0.18.0...0.19.0)
    
    Updates `express` from 4.19.2 to 4.21.0
    - [Release notes](https://github.com/expressjs/express/releases)
    - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
    - [Commits](expressjs/express@4.19.2...4.21.0)
    
    ---
    updated-dependencies:
    - dependency-name: send
      dependency-type: indirect
    - dependency-name: express
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 17, 2024
    Copy the full SHA
    2b20579 View commit details

Commits on Sep 24, 2024

  1. Merge pull request #7879 from ampproject/dependabot/npm_and_yarn/mult…

    …i-d66d039ac5
    
    Bump serve-static and express
    westonruter authored Sep 24, 2024
    Copy the full SHA
    1c3052a View commit details
  2. Merge pull request #7880 from ampproject/dependabot/npm_and_yarn/mult…

    …i-cf87d80143
    
    Bump send and express
    westonruter authored Sep 24, 2024
    Copy the full SHA
    7740191 View commit details
  3. Bump path-to-regexp from 6.2.2 to 6.3.0

    Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.2.2 to 6.3.0.
    - [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
    - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
    - [Commits](pillarjs/path-to-regexp@v6.2.2...v6.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: path-to-regexp
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 24, 2024
    Copy the full SHA
    d6a1f98 View commit details
  4. Merge pull request #7883 from ampproject/dependabot/npm_and_yarn/path…

    …-to-regexp-6.3.0
    
    Bump path-to-regexp from 6.2.2 to 6.3.0
    westonruter authored Sep 24, 2024
    Copy the full SHA
    60a655c View commit details

Commits on Oct 2, 2024

  1. Bump codecov/codecov-action from 4.5.0 to 4.6.0

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.5.0 to 4.6.0.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@e28ff12...b9fd7d1)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 2, 2024
    Copy the full SHA
    9ccc1e9 View commit details
  2. Bump husky from 9.0.11 to 9.1.6

    Bumps [husky](https://github.com/typicode/husky) from 9.0.11 to 9.1.6.
    - [Release notes](https://github.com/typicode/husky/releases)
    - [Commits](typicode/husky@v9.0.11...v9.1.6)
    
    ---
    updated-dependencies:
    - dependency-name: husky
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 2, 2024
    Copy the full SHA
    fd22aa1 View commit details

Commits on Oct 7, 2024

  1. Copy the full SHA
    d8ab291 View commit details
  2. Copy the full SHA
    d5bcf66 View commit details

Commits on Oct 18, 2024

  1. Copy the full SHA
    490536e View commit details
  2. Run tests against PHP 8.4

    swissspidy committed Oct 18, 2024
    Copy the full SHA
    32f4f28 View commit details
  3. Copy the full SHA
    34dc99c View commit details
  4. Update Mockery & co

    swissspidy committed Oct 18, 2024
    Copy the full SHA
    41b18ca View commit details
  5. Nullable types

    swissspidy committed Oct 18, 2024
    Copy the full SHA
    391c2b4 View commit details
  6. Update mikey179/vfsstream

    swissspidy committed Oct 18, 2024
    Copy the full SHA
    f7f32fb View commit details
  7. Copy the full SHA
    a5e804f View commit details

Commits on Nov 1, 2024

  1. Copy the full SHA
    b0e101d View commit details

Commits on Nov 2, 2024

  1. Bump eslint-plugin-jsdoc from 48.5.0 to 50.4.3

    Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 48.5.0 to 50.4.3.
    - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
    - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
    - [Commits](gajus/eslint-plugin-jsdoc@v48.5.0...v50.4.3)
    
    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-jsdoc
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 2, 2024
    Copy the full SHA
    e0b06c1 View commit details

Commits on Nov 4, 2024

  1. Copy the full SHA
    cbe4317 View commit details
  2. Copy the full SHA
    6340423 View commit details
  3. Copy the full SHA
    46229b9 View commit details
  4. Copy the full SHA
    4a14058 View commit details
  5. Tweak regex

    westonruter committed Nov 4, 2024
    Copy the full SHA
    ba77441 View commit details
  6. Copy the full SHA
    5fda4ab View commit details
  7. Copy the full SHA
    58cfe0a View commit details
  8. Work around PHP DOM bug

    westonruter committed Nov 4, 2024
    Copy the full SHA
    d1e4a50 View commit details
  9. Merge pull request #7897 from ampproject/fix/php84

    Improve PHP 8.4 compatibility
    westonruter authored Nov 4, 2024
    Copy the full SHA
    7b016fa View commit details
  10. Bump actions/upload-artifact from 4.3.3 to 4.4.3

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.4.3.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@6546280...b4b15b8)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 4, 2024
    Copy the full SHA
    d19b2be View commit details
  11. Bump actions/checkout from 4.1.7 to 4.2.2

    Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.2.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@692973e...11bd719)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 4, 2024
    Copy the full SHA
    aec0c45 View commit details
  12. Bump webpack from 5.91.0 to 5.96.1

    Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.96.1.
    - [Release notes](https://github.com/webpack/webpack/releases)
    - [Commits](webpack/webpack@v5.91.0...v5.96.1)
    
    ---
    updated-dependencies:
    - dependency-name: webpack
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 4, 2024
    Copy the full SHA
    4213322 View commit details
  13. Copy the full SHA
    a244512 View commit details
  14. Copy the full SHA
    2472fcd View commit details

Commits on Nov 5, 2024

  1. Merge pull request #7911 from ampproject/dependabot/npm_and_yarn/webp…

    …ack-5.96.1
    
    Bump webpack from 5.91.0 to 5.96.1
    westonruter authored Nov 5, 2024
    Copy the full SHA
    b4f8b7c View commit details
  2. Bump @babel/core from 7.24.7 to 7.26.0

    Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.24.7 to 7.26.0.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-core)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/core"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 5, 2024
    Copy the full SHA
    d3faf65 View commit details
  3. Bump actions/cache from 4.0.2 to 4.1.2

    Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.1.2.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@0c45773...6849a64)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 5, 2024
    Copy the full SHA
    bbeac08 View commit details
  4. Merge pull request #7908 from ampproject/dependabot/npm_and_yarn/esli…

    …nt-plugin-jsdoc-50.4.3
    
    Bump eslint-plugin-jsdoc from 48.5.0 to 50.4.3
    westonruter authored Nov 5, 2024
    Copy the full SHA
    3b657a2 View commit details
  5. Bump postcss-nested from 6.0.1 to 7.0.2

    Bumps [postcss-nested](https://github.com/postcss/postcss-nested) from 6.0.1 to 7.0.2.
    - [Release notes](https://github.com/postcss/postcss-nested/releases)
    - [Changelog](https://github.com/postcss/postcss-nested/blob/main/CHANGELOG.md)
    - [Commits](postcss/postcss-nested@6.0.1...7.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: postcss-nested
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 5, 2024
    Copy the full SHA
    64b2a51 View commit details
  6. Merge pull request #7901 from ampproject/dependabot/github_actions/ac…

    …tions/upload-artifact-4.4.3
    
    Bump actions/upload-artifact from 4.3.3 to 4.4.3
    westonruter authored Nov 5, 2024
    Copy the full SHA
    005c093 View commit details
  7. Merge pull request #7902 from ampproject/dependabot/github_actions/ac…

    …tions/checkout-4.2.2
    
    Bump actions/checkout from 4.1.7 to 4.2.2
    westonruter authored Nov 5, 2024
    Copy the full SHA
    99aa960 View commit details
  8. Bump github/codeql-action from 3.25.11 to 3.27.0

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.27.0.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@b611370...6624720)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 5, 2024
    Copy the full SHA
    ea496a6 View commit details
  9. Merge pull request #7900 from ampproject/dependabot/github_actions/ac…

    …tions/cache-4.1.2
    
    Bump actions/cache from 4.0.2 to 4.1.2
    westonruter authored Nov 5, 2024
    Copy the full SHA
    08480e5 View commit details
  10. Merge pull request #7907 from ampproject/dependabot/npm_and_yarn/babe…

    …l/core-7.26.0
    
    Bump @babel/core from 7.24.7 to 7.26.0
    westonruter authored Nov 5, 2024
    Copy the full SHA
    fd56454 View commit details
Showing with 8,082 additions and 11,233 deletions.
  1. +0 −1 .eslintignore
  2. +0 −1 .eslintrc.js
  3. +31 −214 .github/workflows/build-test-measure.yml
  4. +3 −3 .github/workflows/codeql-analysis.yml
  5. +0 −1 .gitignore
  6. +0 −3 .husky/pre-commit
  7. +0 −3 .phpstorm.meta.php
  8. +0 −1 Gruntfile.js
  9. +2 −4 README.md
  10. +5 −3 amp.php
  11. +0 −11 assets/js/amp-service-worker-runtime-precaching.js
  12. +1 −0 assets/src/block-editor/blocks/amp-brid-player/edit.js
  13. +1 −0 assets/src/block-editor/blocks/amp-ima-video/edit.js
  14. +1 −1 assets/src/block-editor/blocks/amp-mathml/index.js
  15. +1 −0 assets/src/block-editor/blocks/amp-o2-player/edit.js
  16. +22 −20 assets/src/block-editor/components/{amp-preview-button.js → preview-menu-item.js}
  17. +2 −0 assets/src/block-editor/helpers/index.js
  18. +15 −0 assets/src/block-editor/plugins/amp-preview-item.js
  19. +0 −68 assets/src/block-editor/plugins/wrapped-amp-preview-button.js
  20. +1 −0 assets/src/components/amp-setting-toggle/index.js
  21. +8 −8 assets/src/components/amp-setting-toggle/test/__snapshots__/index.js.snap
  22. +0 −33 assets/src/components/amp-support/details.js
  23. +0 −237 assets/src/components/amp-support/index.js
  24. +0 −54 assets/src/components/amp-support/plugins.js
  25. +0 −31 assets/src/components/amp-support/raw-data.js
  26. +0 −136 assets/src/components/amp-support/site-info.js
  27. +0 −95 assets/src/components/amp-support/style.scss
  28. +0 −48 assets/src/components/amp-support/themes.js
  29. +0 −50 assets/src/components/amp-support/validated-urls.js
  30. +0 −121 assets/src/components/amp-support/validation-results-notice.js
  31. +7 −7 assets/src/components/dev-tools-toggle/test/__snapshots__/index.js.snap
  32. +6 −6 assets/src/components/loading/test/__snapshots__/loading.js.snap
  33. +4 −4 assets/src/components/redirect-toggle/test/__snapshots__/redirect-toggle.js.snap
  34. +3 −3 assets/src/components/template-mode-option/test/__snapshots__/index.js.snap
  35. +1 −1 assets/src/settings-page/paired-url-structure.js
  36. +0 −49 assets/src/support-page/index.js
  37. +0 −24 assets/src/support-page/style.css
  38. +2 −1 bin/local-env/Dockerfile
  39. +0 −2 bin/transform-readme.php
  40. +3 −11 composer.json
  41. +164 −199 composer.lock
  42. +1 −1 includes/admin/class-amp-template-customizer.php
  43. +0 −20 includes/class-amp-service-worker.php
  44. +102 −314 includes/ecosystem-data/plugins.php
  45. +100 −288 includes/ecosystem-data/themes.php
  46. +8 −11 includes/embeds/class-amp-youtube-embed-handler.php
  47. +11 −5 includes/sanitizers/class-amp-object-sanitizer.php
  48. +24 −5 includes/sanitizers/class-amp-tag-and-attribute-sanitizer.php
  49. +2 −2 includes/utils/class-amp-dom-utils.php
  50. +2 −2 includes/validation/class-amp-validation-manager.php
  51. +7,385 −6,016 package-lock.json
  52. +37 −37 package.json
  53. +2 −0 phpstan.neon.dist
  54. +5 −37 src/Admin/SupportLink.php
  55. +0 −274 src/Admin/SupportScreen.php
  56. +0 −3 src/AmpWpPlugin.php
  57. +1 −1 src/DependencySupport.php
  58. +26 −1 src/DevTools/CallbackReflection.php
  59. +1 −1 src/Dom/ElementList.php
  60. +1 −1 src/Infrastructure/Injector/SimpleInjector.php
  61. +2 −2 src/Infrastructure/ServiceBasedPlugin.php
  62. +2 −2 src/OptionsRESTController.php
  63. +0 −183 src/Support/SupportCliCommand.php
  64. +0 −1,072 src/Support/SupportData.php
  65. +0 −128 src/Support/SupportRESTController.php
  66. +2 −2 src/Validation/ScannableURLsRestController.php
  67. +1 −6 src/Validation/URLValidationRESTController.php
  68. +1 −1 src/Validation/ValidationCountsRestController.php
  69. +32 −19 tests/e2e/specs/block-editor/{amp-preview-button.js → amp-preview-menu-item.js}
  70. +0 −27 tests/features/support-request.feature
  71. +3 −1 tests/js/jest.config.js
  72. +1 −1 tests/php/src/Admin/AmpPluginsTest.php
  73. +1 −1 tests/php/src/Admin/AmpThemesTest.php
  74. +4 −33 tests/php/src/Admin/SupportLinkTest.php
  75. +0 −259 tests/php/src/Admin/SupportScreenTest.php
  76. +1 −2 tests/php/src/DevTools/CallbackReflectionTest.php
  77. +0 −28 tests/php/src/Support/SupportCliCommandTest.php
  78. +0 −739 tests/php/src/Support/SupportDataTest.php
  79. +0 −186 tests/php/src/Support/SupportRESTControllerTest.php
  80. +5 −0 tests/php/test-amp-gallery-embed-handler.php
  81. +5 −5 tests/php/test-amp-style-sanitizer.php
  82. +8 −0 tests/php/test-class-amp-object-sanitizer.php
  83. +0 −10 tests/php/test-class-amp-service-worker.php
  84. +23 −0 tests/php/test-tag-and-attribute-sanitizer.php
  85. +0 −53 webpack.config.js
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -2,5 +2,4 @@
**/node_modules/**
**/vendor/**
**/assets/js/*.js
!assets/js/amp-service-worker-runtime-precaching.js
build/*
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -78,7 +78,6 @@ module.exports = {
'amp-settings',
'amp-themes',
'amp-plugins',
'amp-support',
'amp-block-validation',
'amp-site-scan-notice',
],
Loading