)]}'
{
  "commit": "d75cccb6fb8da1778915ecc5a8fc0758d6da9f68",
  "tree": "3bf48e0a4c03dec0f7a0ac3529f59b1be50044fb",
  "parents": [
    "bd5e17d76a8965b55b729df462e14c918452d09f"
  ],
  "author": {
    "name": "Protobuf Team Bot",
    "email": "protobuf-github-bot@google.com",
    "time": "Mon Jul 20 10:20:38 2026 -0700"
  },
  "committer": {
    "name": "Tony Liao",
    "email": "tonyliaoss@google.com",
    "time": "Thu Aug 13 11:24:55 2026 -0400"
  },
  "message": "Remove total_bytes_limit from pure PHP CodedInputStream.\n\nThis limit has no public api to override to a different limit: it is only ever set to the \u0027default\u0027 of 32 MB but has actually just not applied at all in many cases.\n\nIf we \u0027fix the bug\u0027 by making it so this limit does apply, it would break any users who may be successfully parsing data arbitrarily larger than 32 MB with no issue today due to hitting a case where limit is consistently not applied. By contrast, removing this doesn\u0027t formally break any preexisting users, and realigns the behavior to match PHP-upb as well as the default behavior in all of our other supported runtimes.\n\nNote that gRPC-PHP will also already enforce a 4mb limit by default before passing the data to Protobuf, so the only people who could be exposed to this topic either way would need to be either intentionally bumping up the gRPC limit or not using gRPC at all.\n\nIn general the need to have a limit within CodedInputStream is very weak in this case compared to other languages: since PHP only parses off of a string and not a stream, it trivial for application code to apply a limit with an if before the parse starts.\n\nPiperOrigin-RevId: 950914431\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3e4b3104ecead3fcfac016f2ba098be3be87e365",
      "old_mode": 33188,
      "old_path": "php/src/Google/Protobuf/Internal/CodedInputStream.php",
      "new_id": "c3cc32acf2a8e90b185be8c87237096ba6939ac4",
      "new_mode": 33188,
      "new_path": "php/src/Google/Protobuf/Internal/CodedInputStream.php"
    },
    {
      "type": "modify",
      "old_id": "adcd7e6d5d061624d8ec5ebeac4cc00f63feaa26",
      "old_mode": 33188,
      "old_path": "php/tests/EncodeDecodeTest.php",
      "new_id": "edcc025347669dc20521badada75e0e9b151ac23",
      "new_mode": 33188,
      "new_path": "php/tests/EncodeDecodeTest.php"
    }
  ]
}
