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: Automattic/jetpack-constants
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.2
Choose a base ref
...
head repository: Automattic/jetpack-constants
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.3
Choose a head ref
  • 9 commits
  • 3 files changed
  • 5 contributors

Commits on Apr 30, 2024

  1. Backport automattic-for-agencies-client 0.1.0-alpha Changes (#37139)

    * Changelog and readme.txt edits.
    
    * Version bumps
    
    Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/8901062262
    
    Upstream-Ref: Automattic/jetpack@9afcf7c
    kraftbj authored and matticbot committed Apr 30, 2024
    Copy the full SHA
    3a7a056 View commit details

Commits on May 1, 2024

  1. phan: Improve phpunit stub munging (#37164)

    In Psalm, `@psalm-assert Foo $arg` asserts both that if the function
    doesn't throw then the argument is an instance of Foo _and_ that if the
    function does throw then the argument is not an instance of Foo. If you
    want only the first without the second, you do `@psalm-assert =Foo $arg`
    instead.
    
    Phan, on the other hand, never makes the inverse assumption. So
    effectively `@phan-assert Foo $arg` is equivalent to
    `@psalm-assert =Foo $arg`, and trying to `@phan-assert =Foo` is a syntax
    error.
    
    Thus, when we're munging the phpunit annotations, the `=` needs to be
    stripped when converting `@psalm-assert` to `@phan-assert`. This will
    allow Phan to infer correct types for `assertInstanceOf()` and
    `assertSame()`.
    
    Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/8914715128
    
    Upstream-Ref: Automattic/jetpack@8b9fb84
    anomiex authored and matticbot committed May 1, 2024
    Copy the full SHA
    ca0177b View commit details

Commits on May 6, 2024

  1. Backport mu-wpcom-plugin 2.1.21, jetpack 13.4-beta Changes (#37242)

    * Changelog and readme.txt edits.
    * Amend readme.txt
    
    Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/8975656843
    
    Upstream-Ref: Automattic/jetpack@15e66b2
    anomiex authored and matticbot committed May 6, 2024
    Copy the full SHA
    80244a7 View commit details

Commits on May 17, 2024

  1. changelogger: Normalize UTC timezone (#37436)

    It seems that some versions of git may be returning `Z` rather than
    `+00:00` when reporting timezones from `%cI`, which broke a test.
    Normalize it to `Z` always so the test can have a consistent value to
    expect.
    
    Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9129465139
    
    Upstream-Ref: Automattic/jetpack@e80078a
    anomiex authored and matticbot committed May 17, 2024
    Copy the full SHA
    f2b9478 View commit details

Commits on May 20, 2024

  1. Changelog and readme.txt edits. (#37454)

    ice9js authored and matticbot committed May 20, 2024
    Copy the full SHA
    60e192d View commit details

Commits on May 28, 2024

  1. Connection: hoist Identity Crisis package back into Connection (#36968)

    * Move the Identity Crisis package contents into Connection package.
    * Abandon the Identity Crisis package.
    * Ensure backward and forward compatibility for existing code.
    
    Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9272329232
    
    Upstream-Ref: Automattic/jetpack@ce733fc
    sergeymitr authored and matticbot committed May 28, 2024
    Copy the full SHA
    529bb0b View commit details
  2. constants: Fix type for set_constant() value (#37606)

    PHP's `define()` allows any of int|float|string|bool|array|null, so
    let's go with that to match.
    
    This fixes 57 Phan issues across the monorepo.
    
    ---
    
    Just as I was about to create this PR, #36968 changed it to `scalar`.
    Which fixed 54 of those 57 errors, but as it left out the possibility of
    array and null 3 were still left.
    
    Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9274589416
    
    Upstream-Ref: Automattic/jetpack@f8d5a25
    anomiex authored and matticbot committed May 28, 2024
    Copy the full SHA
    2665196 View commit details

Commits on May 29, 2024

  1. Stats: Deprecating old Stats experience (#37591)

    * Stats: Update old Stats with a deprecation notice
    
    * changelog
    
    * Stats: Updating path source
    
    * Update projects/plugins/jetpack/modules/stats.php
    
    * Update projects/plugins/jetpack/modules/stats.php
    
    * Update projects/plugins/jetpack/modules/stats.php
    
    ---------
    
    Co-authored-by: Jasper Kang <jasper.kang@automattic.com>
    
    Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9283641537
    
    Upstream-Ref: Automattic/jetpack@0a6ac84
    gmjuhasz authored and matticbot committed May 29, 2024
    Copy the full SHA
    40c9ed3 View commit details
  2. Changelog and readme.txt edits.

    gmjuhasz authored and matticbot committed May 29, 2024
    Copy the full SHA
    f5da87d View commit details
Loading