{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":76504246,"defaultBranch":"main","name":"metro","ownerLogin":"facebook","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2016-12-14T23:02:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/69631?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1715031675.0","currentOid":""},"activityList":{"items":[{"before":"5bb3b4286c58023c40b9b4b6f04660e0c527ff61","after":"1d59ec16148ed6c03a7c91e9a22e17d20301d254","ref":"refs/heads/main","pushedAt":"2024-05-10T06:18:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"remove default option experimental.global_find_ref=true\n\nSummary:\nX-link: https://github.com/facebook/react-native/pull/44515\n\nthis has been the default for a while\n\nChangelog: [Internal]\n\nReviewed By: SamChou19815\n\nDifferential Revision: D57195561\n\nfbshipit-source-id: b441d972134dba754d714ae5694d94537707ded3","shortMessageHtmlLink":"remove default option experimental.global_find_ref=true"}},{"before":"34148e61200a508923315fbe387b26d1da27bf4b","after":"5bb3b4286c58023c40b9b4b6f04660e0c527ff61","ref":"refs/heads/main","pushedAt":"2024-05-10T02:37:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Deploy 0.236.0 to xplat\n\nSummary:\nX-link: https://github.com/facebook/react-native/pull/44510\n\nChangelog: [Internal]\n\nReviewed By: SamChou19815\n\nDifferential Revision: D57186863\n\nfbshipit-source-id: 389dcb039c7d4c461b3be28f4eba32d5d9781e61","shortMessageHtmlLink":"Deploy 0.236.0 to xplat"}},{"before":"539a9e1ea0981585f91adfe49ba8b39aaad79771","after":"34148e61200a508923315fbe387b26d1da27bf4b","ref":"refs/heads/main","pushedAt":"2024-05-08T14:06:15.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Use yieldy version of sourceMapString in server\n\nSummary:\nChangelog:\n* **[Performance]:** Make server more responsive during source map serialization.\n\nWe have an existing (currently unused) non-blocking implementation of `sourceMapObject` that relies on explicitly chunking the source map encoding work. Here we reuse the same underlying machinery to make `sourceMapString` non-blocking, as a cheap way of reducing long main-thread pauses during `.map` requests.\n\nNOTE: `.map` requests do have a significant I/O component today, which isn't really addressed here. The I/O is best eliminated by passing the `excludeSource=true` parameter, typically in combination with `sourcePaths=url-server` (see D56952063, D56952065).\n\nReviewed By: robhogan\n\nDifferential Revision: D56957754\n\nfbshipit-source-id: b18fd1d801d4d4542e39425fddd8cdb5ed8d6ce1","shortMessageHtmlLink":"Use yieldy version of sourceMapString in server"}},{"before":"a907c3ec9222958e4baf37a685e07d32e0224e9f","after":null,"ref":"refs/heads/dependabot/github_actions/actions/checkout-4.1.4","pushedAt":"2024-05-06T21:41:15.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":null,"after":"92ab1483b62c33b08df8415ea15cc9d403874cd6","ref":"refs/heads/dependabot/github_actions/actions/checkout-4.1.5","pushedAt":"2024-05-06T21:41:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump actions/checkout from 4.1.1 to 4.1.5\n\nBumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.5.\n- [Release notes](https://github.com/actions/checkout/releases)\n- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.5)\n\n---\nupdated-dependencies:\n- dependency-name: actions/checkout\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump actions/checkout from 4.1.1 to 4.1.5"}},{"before":"6ef5536e1f6ab537d02ad67a0a48597bac4fa8dc","after":"539a9e1ea0981585f91adfe49ba8b39aaad79771","ref":"refs/heads/main","pushedAt":"2024-05-03T18:24:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Update hermes-parser and related packages in fbsource to 0.21.0, take 2\n\nSummary:\nX-link: https://github.com/facebook/react-native/pull/44395\n\nBump hermes-parser and related packages to [0.21.0](https://github.com/facebook/hermes/blob/main/tools/hermes-parser/js/CHANGELOG.md).\n\nChangelog: [internal]\n\nReviewed By: SamChou19815\n\nDifferential Revision: D56900032\n\nfbshipit-source-id: 073aeb6f538bb4b56bf309fbd3f9edb2f04b30d0","shortMessageHtmlLink":"Update hermes-parser and related packages in fbsource to 0.21.0, take 2"}},{"before":"14c0f5e871185c4f93d3d1e69f988f7777d53ccf","after":"6ef5536e1f6ab537d02ad67a0a48597bac4fa8dc","ref":"refs/heads/main","pushedAt":"2024-05-02T23:21:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"RN/Relay: Upgrade to React v18.3.1 (#1270)\n\nSummary:\nX-link: https://github.com/facebook/react-native/pull/44397\n\nPull Request resolved: https://github.com/facebook/metro/pull/1270\n\nUpgrades `react-native` and `relay` to the newly published `react@18.3.1`.\n\nChangelog:\n[General][Changed] - Upgrade to `react@18.3.1`\n\nReviewed By: jackpope\n\nDifferential Revision: D56901818\n\nfbshipit-source-id: 423d35205bb533c6a39c0fed25a1ffea1f0bc12d","shortMessageHtmlLink":"RN/Relay: Upgrade to React v18.3.1 (#1270)"}},{"before":"a4cbfafb47ecd02899fcd198621874bc37a2d42c","after":"14c0f5e871185c4f93d3d1e69f988f7777d53ccf","ref":"refs/heads/main","pushedAt":"2024-05-02T19:13:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Revert D56857738: Update hermes-parser and related packages in fbsource to 0.21.0\n\nDifferential Revision:\nD56857738\n\nOriginal commit changeset: 6027f529df8a\n\nOriginal Phabricator Diff: D56857738\n\nfbshipit-source-id: e2725cd97bc6954ddd2494cad28ef34eccc5d104","shortMessageHtmlLink":"Revert D56857738: Update hermes-parser and related packages in fbsour…"}},{"before":"e45809064098781663d89df34a72299a1adb8aa4","after":"a4cbfafb47ecd02899fcd198621874bc37a2d42c","ref":"refs/heads/main","pushedAt":"2024-05-02T17:35:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Update hermes-parser and related packages in fbsource to 0.21.0\n\nSummary:\nBump hermes-parser and related packages to [0.21.0](https://github.com/facebook/hermes/blob/main/tools/hermes-parser/js/CHANGELOG.md).\n\nChangelog: [internal]\n\nReviewed By: pieterv\n\nDifferential Revision: D56857738\n\nfbshipit-source-id: 6027f529df8a5e1e3cf3b2d383f399f9e1050e96","shortMessageHtmlLink":"Update hermes-parser and related packages in fbsource to 0.21.0"}},{"before":"a7ee89db801cce9d7fdae23df6c92a1d35a43a4d","after":"e45809064098781663d89df34a72299a1adb8aa4","ref":"refs/heads/main","pushedAt":"2024-05-02T16:33:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Delete unnecessary Promise libdef override\n\nSummary:\nThe builtin libdef for Promise now can handle null inputs to catch and then, so the reason to override no longer applies.\n\nMy main motivation is to get rid of the `$await` hack, but since we can just delete this file completely, there is no need to replace `$await`.\n\nChangelog: [internal]\n\nReviewed By: pieterv\n\nDifferential Revision: D56860408\n\nfbshipit-source-id: a6e7830e9b91da1198ba47448a7ecdcf0118d29d","shortMessageHtmlLink":"Delete unnecessary Promise libdef override"}},{"before":"11f2153a1fbeb05e255b0ea11e5e51506e69e57f","after":"a7ee89db801cce9d7fdae23df6c92a1d35a43a4d","ref":"refs/heads/main","pushedAt":"2024-05-02T10:49:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Publish 0.80.9\n\nReviewed By: GijsWeterings\n\nDifferential Revision: D56871833\n\nfbshipit-source-id: 9fd6abe17b2bfdf2a5b2211bcef325df3c42f9f0","shortMessageHtmlLink":"Publish 0.80.9"}},{"before":"2405f2f6c37a1b641cc379b9c733b1eff0c1c2a1","after":"11f2153a1fbeb05e255b0ea11e5e51506e69e57f","ref":"refs/heads/main","pushedAt":"2024-05-01T12:13:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"fix: template literal syntax in error handling for asset file paths (#1267)\n\nSummary:\nThis is a PR that solves [issue 1265](https://github.com/facebook/metro/issues/1265).\n\nThis pull request corrects a syntax error in the template literal used for handling error messages regarding asset file paths within Metro. The existing implementation failed to properly format the file path in the error message. This change updates the syntax to correctly embed the file path variable into the error message.\n\nChangelog: [Fix] Correct template literal syntax in error handling for asset file paths.\n\nPull Request resolved: https://github.com/facebook/metro/pull/1267\n\nTest Plan:\nTo verify the correction, I conducted the following steps:\n\n1. Triggered the error handling code with an incorrect asset file path to ensure the error message **includes the intended file path**.\n2. Reviewed the output to confirm the file path is now **correctly formatted** within the error message.\n\nReviewed By: huntie\n\nDifferential Revision: D56811594\n\nPulled By: robhogan\n\nfbshipit-source-id: f089996659222bca3cd0896ae13292ebb4747428","shortMessageHtmlLink":"fix: template literal syntax in error handling for asset file paths (#…"}},{"before":"bfd6d8da716f49cdac8f414c01a58275f98ce69f","after":null,"ref":"refs/heads/dependabot/github_actions/actions/checkout-4.1.3","pushedAt":"2024-04-29T22:00:19.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":null,"after":"a907c3ec9222958e4baf37a685e07d32e0224e9f","ref":"refs/heads/dependabot/github_actions/actions/checkout-4.1.4","pushedAt":"2024-04-29T22:00:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump actions/checkout from 4.1.1 to 4.1.4\n\nBumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.4.\n- [Release notes](https://github.com/actions/checkout/releases)\n- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.4)\n\n---\nupdated-dependencies:\n- dependency-name: actions/checkout\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump actions/checkout from 4.1.1 to 4.1.4"}},{"before":"105e2229557fa7bf886dd34147ae7a44759f0053","after":"2405f2f6c37a1b641cc379b9c733b1eff0c1c2a1","ref":"refs/heads/main","pushedAt":"2024-04-26T19:32:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"fix metro-file-map spamming watchman warnings (#1260)\n\nSummary:\nMetro file map attempts to dedupe warnings but it doesn't correctly match against the message and instead throws all of them at once.\n\n {F1497196903}\n\nThis PR accounts for when there's only recrawled file to fix deduping\n\nChangelog:\n\n Changelog: [Fix] watchman crawl warnings dedupe correctly now\n\nPull Request resolved: https://github.com/facebook/metro/pull/1260\n\nTest Plan: All modified and coverable lines are covered by tests ✅\n\nReviewed By: GijsWeterings\n\nDifferential Revision: D56595950\n\nPulled By: arushikesarwani94\n\nfbshipit-source-id: 94230de83740f2c46c9cc991c622847ed99b9d1e","shortMessageHtmlLink":"fix metro-file-map spamming watchman warnings (#1260)"}},{"before":"f5e87eb6a955d720e96eab45bcda3dff1c4bf728","after":"105e2229557fa7bf886dd34147ae7a44759f0053","ref":"refs/heads/main","pushedAt":"2024-04-26T18:01:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Node file crawler - warn and keep going on unreadable directories\n\nSummary:\nWhen *not* using Watchman, Metro's \"node crawler\" exhibits undefined behaviour when it encounters an error reading any directory at or within watched roots.\n\nAn error from `fs.readdir` results in `callback` being called immediately with whatever files had been read by that point, which is generally non-deterministic due to parallel reads. Moreover, crawling other directories continues and `callback` is invoked *again* when `activeCalls` drops to zero, but this second invocation of `callback` does nothing as by then the wrapping Promise has already fulfilled.\n\nUltimately these errors should probably be fatal, and users should be required to explicitly ignore/not include directories that can't be read (note that `graceful-fs` already ensures we've attempted to retry on typical short-lived issues), but as a first step this non-breaking change warns and skips these directories, allowing the rest of the crawl to complete.\n\nChangelog:\n```\n - **[Fix]**: Node crawler (non-Watchman) returns non-deterministic partial results on silent directory read errors.\n```\n\nReviewed By: motiz88\n\nDifferential Revision: D56416365\n\nfbshipit-source-id: aba37f35069ca496b4f6bc2d259b0c179efa2e08","shortMessageHtmlLink":"Node file crawler - warn and keep going on unreadable directories"}},{"before":"3dc77ce4afb5cbd05445114027abcf5662658400","after":"f5e87eb6a955d720e96eab45bcda3dff1c4bf728","ref":"refs/heads/main","pushedAt":"2024-04-24T19:30:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Deploy 0.235.1 to xplat\n\nSummary: Changelog: [Internal]\n\nReviewed By: alexmckenley\n\nDifferential Revision: D56505986\n\nfbshipit-source-id: 2eb4ca02d766f4e2a88ab050e4acd25cd15c490b","shortMessageHtmlLink":"Deploy 0.235.1 to xplat"}},{"before":"6e772b2900cb12a19fdd9837c1a4d1c3617f0a2c","after":"3dc77ce4afb5cbd05445114027abcf5662658400","ref":"refs/heads/main","pushedAt":"2024-04-23T18:46:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Pre-suppress unsafe string key access errors in xplat/js\n\nSummary:\nX-link: https://github.com/facebook/react-native/pull/44221\n\nThis diff pre-suppresses errors of the following pattern, to prepare for the next Flow release.\n\n```\ndeclare const obj: {foo: string};\ndeclare const key: string;\nobj[key]; // error: invalid-computed-prop\n```\n\nChangelog: [Internal]\n\nReviewed By: alexmckenley\n\nDifferential Revision: D56477899\n\nfbshipit-source-id: 5676b8685bd3157a519fe433cfce0fa28e003502","shortMessageHtmlLink":"Pre-suppress unsafe string key access errors in xplat/js"}},{"before":"acd76acbdb963a4f6477126fe9660068639ce4a2","after":null,"ref":"refs/heads/dependabot/github_actions/actions/checkout-4.1.2","pushedAt":"2024-04-22T21:42:57.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":null,"after":"bfd6d8da716f49cdac8f414c01a58275f98ce69f","ref":"refs/heads/dependabot/github_actions/actions/checkout-4.1.3","pushedAt":"2024-04-22T21:42:52.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump actions/checkout from 4.1.1 to 4.1.3\n\nBumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.3.\n- [Release notes](https://github.com/actions/checkout/releases)\n- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.3)\n\n---\nupdated-dependencies:\n- dependency-name: actions/checkout\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump actions/checkout from 4.1.1 to 4.1.3"}},{"before":"c3aec551139faace766031f65569e073a59002b8","after":"6e772b2900cb12a19fdd9837c1a4d1c3617f0a2c","ref":"refs/heads/main","pushedAt":"2024-04-18T23:45:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Deploy 0.234.0 to xplat\n\nSummary: Changelog: [Internal]\n\nReviewed By: SamChou19815\n\nDifferential Revision: D56280192\n\nfbshipit-source-id: 68e0288bb214644d24f3d9f132c3ffff2a3d512a","shortMessageHtmlLink":"Deploy 0.234.0 to xplat"}},{"before":"c84368021aa3123c221a49e269e2ef5afe4c663d","after":"c3aec551139faace766031f65569e073a59002b8","ref":"refs/heads/main","pushedAt":"2024-04-13T00:31:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Deploy v0.233.0 to xplat\n\nSummary:\nX-link: https://github.com/facebook/react-native/pull/44062\n\nChangelog: [Internal]\n\nReviewed By: pieterv\n\nDifferential Revision: D55773070\n\nfbshipit-source-id: 685e290e27c9ea22d925fe6f8fbfaa30d0af3bb4","shortMessageHtmlLink":"Deploy v0.233.0 to xplat"}},{"before":"f8f7d5556bb9d2196081985997cc1efe6af2968e","after":"c84368021aa3123c221a49e269e2ef5afe4c663d","ref":"refs/heads/main","pushedAt":"2024-04-08T15:37:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Optionally log HTTP responses in HttpStore errors\n\nSummary:\nChangelog: [Internal]\n\nAdds a `debug` flag to HttpStore, allowing integrators to opt into including HTTP response bodies in the error messages returned by `get()` / `set()`.\n\nReviewed By: GijsWeterings\n\nDifferential Revision: D55787568\n\nfbshipit-source-id: 5660aeae7be724a07fb1e141788afcfff49db039","shortMessageHtmlLink":"Optionally log HTTP responses in HttpStore errors"}},{"before":"3e647a6775c8e39f47433c611beb5bdde9a9ee61","after":"f8f7d5556bb9d2196081985997cc1efe6af2968e","ref":"refs/heads/main","pushedAt":"2024-04-08T12:15:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Allow configuring additional success statuses in HttpStore\n\nSummary:\nChangelog:\n\n* **[Feature]** Add `additionalSuccessStatuses` option to `HttpStore`.\n\nAdds a mechanism for specifying HTTP response codes to treat as successful (on top of actual success codes like 200) when reading from/writing to a remote cache server.\n\nIt can be useful to tell Metro to ignore certain errors coming from an HTTP cache backend, particularly on write: if the error is, for example, that a concurrent write has happened to the same key, it's conceptually safe to ignore - because we can reasonably assume that the write is coming from another instance of Metro that has the same cache configuration.\n\nReviewed By: GijsWeterings\n\nDifferential Revision: D55752523\n\nfbshipit-source-id: f4953d3151e6d74714690bda9cc43d004db91b79","shortMessageHtmlLink":"Allow configuring additional success statuses in HttpStore"}},{"before":"96e99fb0d8172dc6781485b2ecc5beb3ab38efd5","after":"3e647a6775c8e39f47433c611beb5bdde9a9ee61","ref":"refs/heads/main","pushedAt":"2024-04-05T18:25:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Prepare HttpStore for separate configurability for reads and writes\n\nSummary:\nUp until now, `HttpStore` has consumed a config where the writes and reads to and from a remote storage API have been using the same setup. We internally need to migrate from the buck1 remote cache to another provider, and Manifold is the easiest option since it provides an HTTP API.\n\nHowever, unlike the special buckcache endpoint, reads and writes to this API need somewhat different setup. I'm introducing the Manifold configuration later in this stack, but this diff is simply refactoring HttpStore so that it optionally allows for separate configs for reads and writes. Aside from that, it also adds the ability to append headers and URL query parameters. These are both needed for Manifold as well.\n\nAll changes have been made in a backwards compatible setup, where we still accept a singular configuration for more homogeneous APIs out there.\n\nReviewed By: robhogan\n\nDifferential Revision: D52917202\n\nfbshipit-source-id: 376a1604c1a7cff75ba297430fee231f9d569f2a","shortMessageHtmlLink":"Prepare HttpStore for separate configurability for reads and writes"}},{"before":"15815d0490cfc973740ef78d9b7847184e8c0c70","after":"96e99fb0d8172dc6781485b2ecc5beb3ab38efd5","ref":"refs/heads/main","pushedAt":"2024-04-05T16:40:43.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Add SerializedEvent type to JsonReporter\n\nSummary:\nChangelog: [Internal]\n\nAdds a `SerializedEvent` helper type that describes how a `Logger` event of type `T` would be serialized by Metro's `JsonReporter` class.\n\nReviewed By: GijsWeterings\n\nDifferential Revision: D55649234\n\nfbshipit-source-id: 757ae1d4c6f99c7e86fb92e4074e0c1d70001702","shortMessageHtmlLink":"Add SerializedEvent type to JsonReporter"}},{"before":"7250388527dab827ba86f57b26ca5d8dd0098889","after":"15815d0490cfc973740ef78d9b7847184e8c0c70","ref":"refs/heads/main","pushedAt":"2024-04-04T13:35:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Log cache I/O errors to `reporter` without killing the server\n\nSummary:\nTSIA\n\nChangelog: **[Fix]** Prevent cache write errors from killing the server, log them to `reporter` instead.\n\nReviewed By: robhogan\n\nDifferential Revision: D52043562\n\nfbshipit-source-id: aed5216cf32b77cc9690ef3566329e10b03420f4","shortMessageHtmlLink":"Log cache I/O errors to reporter without killing the server"}},{"before":"3606983b827d455fd36b5cc56a8d821b8a86cf20","after":"7250388527dab827ba86f57b26ca5d8dd0098889","ref":"refs/heads/main","pushedAt":"2024-03-31T23:52:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"feat: add `unstable_renameRequire` to allow disabling the require rename transform (#1230)\n\nSummary:\nRenaming `require` to `_$$_REQUIRE` is an extraneous babel traversal that apparently is used internally at Meta for additional dependency extraction. Since the modules are scoped as iife functions, and there's no special convention to preserve native `require` syntax, this transform does not appear to add any value to standard projects. Per advice from robhogan, I've added a flag to disable this transform, which we can enable by default in Expo CLI.\n\nSaves ~165ms when transforming the production react renderer module.\n\nPull Request resolved: https://github.com/facebook/metro/pull/1230\n\nReviewed By: huntie\n\nDifferential Revision: D54559949\n\nPulled By: robhogan\n\nfbshipit-source-id: 8155c5fef8e8febd5ae65a4434be28a98b76a312","shortMessageHtmlLink":"feat: add unstable_renameRequire to allow disabling the require ren…"}},{"before":"b18bc62f4328377662a6134033b9e6e579d02785","after":"3606983b827d455fd36b5cc56a8d821b8a86cf20","ref":"refs/heads/main","pushedAt":"2024-03-28T18:08:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"refactor(metro-resolver): more descriptive assertions in should resolve exports target directly tests (#1240)\n\nSummary:\nThis PR adds comments to assertions in tests that check that neither `sourceExts` or `platformExts` are expanded when matching exports target directly, which was suggested inside of https://github.com/facebook/metro/issues/1236 by huntie. The assertions rely on using `[nonstrict]` fallback mechanism as there is no other way to test this functionality right now because `strict` mode is not implemented.\n\nChangelog: [Internal] Refactor Package Exports `sourceExts` and `platformExts` tests that rely on fallback\n\nPull Request resolved: https://github.com/facebook/metro/pull/1240\n\nTest Plan: - [x] - all tests pass\n\nReviewed By: hoxyq\n\nDifferential Revision: D55427364\n\nPulled By: huntie\n\nfbshipit-source-id: 8a36469508c67406e721b0300383d6b18add3ad2","shortMessageHtmlLink":"refactor(metro-resolver): more descriptive assertions in should resol…"}},{"before":"84956bd11ab0ded6f06a867120980f8524e9cab6","after":"b18bc62f4328377662a6134033b9e6e579d02785","ref":"refs/heads/main","pushedAt":"2024-03-28T12:00:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Release 0.80.8\n\nReviewed By: robhogan\n\nDifferential Revision: D55428854\n\nfbshipit-source-id: ffb4cb4ffa0a5a9b76ed9911669ad7d87213fb97","shortMessageHtmlLink":"Release 0.80.8"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAERkZLTAA","startCursor":null,"endCursor":null}},"title":"Activity · facebook/metro"}