Myers Carpenter
c31e0cfc1c
Expose content_version for optimistic locking on issue and PR edits ( #37035 )
...
- Add `content_version` field to Issue and PullRequest API responses
- Accept optional `content_version` in `PATCH
/repos/{owner}/{repo}/issues/{index}` and `PATCH
/repos/{owner}/{repo}/pulls/{index}` — returns 409 Conflict when stale,
succeeds silently when omitted (backward compatible)
- Pre-check `content_version` before any mutations to prevent partial
writes (e.g. title updated but body rejected)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-30 13:44:32 +00:00
..
2026-03-30 08:28:48 +08:00
2026-03-10 22:14:48 +01:00
2025-02-17 12:41:03 -08:00
2025-06-25 02:34:21 +00:00
2026-03-08 14:35:50 +00:00
2026-03-29 09:21:14 +00:00
2026-03-08 14:35:50 +00:00
2025-12-25 17:51:30 -08:00
2026-01-16 09:31:12 +00:00
2026-03-26 00:37:48 +08:00
2026-03-29 09:21:14 +00:00
2025-02-17 12:41:03 -08:00
2026-03-13 09:58:44 -07:00
2025-03-31 01:53:48 -04:00
2025-02-17 12:41:03 -08:00
2025-10-21 15:07:11 +00:00
2025-10-21 15:07:11 +00:00
2026-03-29 09:21:14 +00:00
2026-03-29 09:21:14 +00:00
2025-04-01 10:14:01 +00:00
2025-04-21 00:43:43 +00:00
2025-10-04 01:21:26 +08:00
2026-03-30 08:28:48 +08:00
2026-01-13 13:13:39 +00:00
2026-03-13 09:58:44 -07:00
2026-02-20 21:48:54 +00:00
2026-03-30 13:44:32 +00:00
2025-02-17 12:41:03 -08:00
2025-02-17 12:41:03 -08:00
2025-02-16 22:13:17 -08:00
2025-02-16 22:13:17 -08:00
2026-02-01 17:06:57 +08:00
2025-12-20 17:57:41 -08:00
2026-03-08 14:35:50 +00:00
2025-04-23 17:42:50 +08:00
2025-10-10 00:39:14 +08:00
2026-03-29 09:21:14 +00:00
2026-03-30 13:44:32 +00:00
2026-02-25 20:59:29 +00:00
2025-11-22 07:16:08 +00:00
2026-03-13 09:58:44 -07:00
2025-03-31 01:53:48 -04:00
2026-03-29 09:21:14 +00:00
2025-02-17 12:41:03 -08:00
2026-03-08 14:35:50 +00:00
2025-02-17 12:41:03 -08:00
2025-04-23 17:42:50 +08:00
2025-02-16 22:13:17 -08:00
2025-02-16 22:13:17 -08:00
2025-04-01 17:36:46 -04:00
2025-02-16 22:13:17 -08:00
2026-03-08 14:35:50 +00:00