)]}'
{
  "commit": "7319d3a7b15d9b36b334e7c5aef1d9974f7f183b",
  "tree": "98ad52c0f5bdeeb6f730ee022d0be18ceb54c6fa",
  "parents": [
    "35b15de176a94e59d1a14d83cb0a5d4d495d478d"
  ],
  "author": {
    "name": "stuartmorgan",
    "email": "stuartmorgan@google.com",
    "time": "Mon Oct 30 09:34:11 2023 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Oct 30 16:34:11 2023 +0000"
  },
  "message": "[pigeon] Don\u0027t wrap non-nullable primitives in Obj-C (#5214)\n\nUpdates the Objective-C generator to use `BOOL`, `NSInteger`, and `double` for non-nullable versions of those primitives, instead of boxing them with `NSNumber*`. This makes the code more idiomatic, brings them into alignment with enum behavior, and importantly helps minimize the chances of clients having issues with silent conversion of `NSNumber*` to `BOOL` in the long term (although it may cause some such issues in the short term when people update; the changelog contains a prominent warning about this).\r\n\r\nAs an incidental fix, this also fixes the use of `strong` for collections and strings, which is not best practice, since I was already changing related code.\r\n\r\nFixes https://github.com/flutter/flutter/issues/116680\r\nFixes https://github.com/flutter/flutter/issues/127401",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "daab8da8bcb46e49dd4bf63ca99ccbfdaa749520",
      "old_mode": 33188,
      "old_path": "packages/pigeon/CHANGELOG.md",
      "new_id": "bac4e049fba4215ee80c3809335360c8cf099877",
      "new_mode": 33188,
      "new_path": "packages/pigeon/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "834fc1bc5d02871652023d2b472f9e69f6642a89",
      "old_mode": 33188,
      "old_path": "packages/pigeon/example/app/macos/Runner/messages.g.h",
      "new_id": "bba1ff2deb07f260cced83ba0ce65e0e668eef75",
      "new_mode": 33188,
      "new_path": "packages/pigeon/example/app/macos/Runner/messages.g.h"
    },
    {
      "type": "modify",
      "old_id": "45c7058736ae187740e7aca8993976de9e5db31e",
      "old_mode": 33188,
      "old_path": "packages/pigeon/example/app/macos/Runner/messages.g.m",
      "new_id": "6861a6b7d6fa1b1c6a302140a15bb83575fbf40d",
      "new_mode": 33188,
      "new_path": "packages/pigeon/example/app/macos/Runner/messages.g.m"
    },
    {
      "type": "modify",
      "old_id": "c2d2bfad607cc25f8061346514d58218ca9e962b",
      "old_mode": 33188,
      "old_path": "packages/pigeon/lib/generator_tools.dart",
      "new_id": "e0120ab316c083a1f51a9f6580e94f3f60e1a07b",
      "new_mode": 33188,
      "new_path": "packages/pigeon/lib/generator_tools.dart"
    },
    {
      "type": "modify",
      "old_id": "2638a0f0ef6e3e98d365ec02d6bd5751234df9b3",
      "old_mode": 33188,
      "old_path": "packages/pigeon/lib/objc_generator.dart",
      "new_id": "ccae81868675c8ef189b2802d8f5f9453a7a5686",
      "new_mode": 33188,
      "new_path": "packages/pigeon/lib/objc_generator.dart"
    },
    {
      "type": "modify",
      "old_id": "5161c18596279bf62aef401708275b6821b8171a",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MultipleArityTest.m",
      "new_id": "6e0541554fb05f683e0841fb3aaf3a2283c5c7f0",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MultipleArityTest.m"
    },
    {
      "type": "modify",
      "old_id": "04f9c7d3d1b3bed2497428823ef1064084400a9d",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/NullFieldsTest.m",
      "new_id": "e4032dc4cb5b889c6c8915cbb1d027466c96935f",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/NullFieldsTest.m"
    },
    {
      "type": "modify",
      "old_id": "ec109458bd0ae205cb37280643620f67a9b5b158",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/PrimitiveTest.m",
      "new_id": "2c6b7af178f9391d7bce945ec53e336652ec1aeb",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/PrimitiveTest.m"
    },
    {
      "type": "modify",
      "old_id": "7bfbd26eff5bb9a7854ad2c4f00768e4565f1250",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner.xcodeproj/project.pbxproj",
      "new_id": "27dfc3decfbb88cd76a73c7f89257baff863f030",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner.xcodeproj/project.pbxproj"
    },
    {
      "type": "modify",
      "old_id": "a485857be2f280af73e88056fd3c7d28df103b4c",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme",
      "new_id": "fbd9258fad0834d719b478ebd7f79f26395062e1",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme"
    },
    {
      "type": "modify",
      "old_id": "a66e9e77178aa39ca4edb65c6f4e64ea78e5af3d",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/AlternateLanguageTestPlugin.m",
      "new_id": "d24bd629ba38d690059efcc98d8dadfc6e954ff8",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/AlternateLanguageTestPlugin.m"
    },
    {
      "type": "modify",
      "old_id": "f330fc4c68fdd0dff9638ca46b48ab98ee67852b",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/CoreTests.gen.h",
      "new_id": "36ead686fc2b3a21be52d2105b54a765b5d3c4ec",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/CoreTests.gen.h"
    },
    {
      "type": "modify",
      "old_id": "60bcbb3465193f5077622d316e28aad0f37ca587",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/CoreTests.gen.m",
      "new_id": "bc3d0433db0538ff79c24210241399e379e4b9ec",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/ios/Classes/CoreTests.gen.m"
    },
    {
      "type": "modify",
      "old_id": "a4fe6b86d9fdd710df790d293f53bffc0979aae1",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/AlternateLanguageTestPlugin.m",
      "new_id": "6c37758ccae82c760c6119edfef8aeeb5877d67e",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/AlternateLanguageTestPlugin.m"
    },
    {
      "type": "modify",
      "old_id": "f330fc4c68fdd0dff9638ca46b48ab98ee67852b",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/CoreTests.gen.h",
      "new_id": "36ead686fc2b3a21be52d2105b54a765b5d3c4ec",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/CoreTests.gen.h"
    },
    {
      "type": "modify",
      "old_id": "60bcbb3465193f5077622d316e28aad0f37ca587",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/CoreTests.gen.m",
      "new_id": "bc3d0433db0538ff79c24210241399e379e4b9ec",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/alternate_language_test_plugin/macos/Classes/CoreTests.gen.m"
    },
    {
      "type": "modify",
      "old_id": "706685fdedd2fd98083725ff6bde0d365ab83bbd",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/test_plugin/example/macos/Runner.xcodeproj/project.pbxproj",
      "new_id": "60de312721dfcf614907d7c9cc974132508e23a3",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/test_plugin/example/macos/Runner.xcodeproj/project.pbxproj"
    },
    {
      "type": "modify",
      "old_id": "a33d94b14561020c84779bd66f415563f5acfa1b",
      "old_mode": 33188,
      "old_path": "packages/pigeon/platform_tests/test_plugin/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme",
      "new_id": "3e0488488eaffe8d2764429965b366bc94bbdb95",
      "new_mode": 33188,
      "new_path": "packages/pigeon/platform_tests/test_plugin/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme"
    },
    {
      "type": "modify",
      "old_id": "867537f4be20568d6be9b470be9a43661565c47e",
      "old_mode": 33188,
      "old_path": "packages/pigeon/pubspec.yaml",
      "new_id": "b4b0240bf9f1c18fd1e4199b3c42221fde2be7f7",
      "new_mode": 33188,
      "new_path": "packages/pigeon/pubspec.yaml"
    },
    {
      "type": "modify",
      "old_id": "aa506eb714f13af9ed7b9d2f0dec03375ed2b86f",
      "old_mode": 33188,
      "old_path": "packages/pigeon/test/objc_generator_test.dart",
      "new_id": "d55bd657498ead7dc16ab92cc1b0d27efeac966d",
      "new_mode": 33188,
      "new_path": "packages/pigeon/test/objc_generator_test.dart"
    }
  ]
}
