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-26 00:37:48 +08:00
2026-02-01 10:35:51 +00:00
2026-03-01 13:32:35 +00:00
2026-02-28 11:23:20 -08:00
2026-03-01 13:32:35 +00:00
2026-02-24 23:46:08 +08:00
2026-03-08 14:35:50 +00:00
2026-02-12 21:39:36 +00:00
2026-01-13 13:13:39 +00:00
2026-01-30 20:48:56 +00:00
2026-03-29 17:39:15 +00:00
2026-02-19 01:23:32 +00:00
2026-03-29 10:24:30 +00:00
2026-02-19 01:23:32 +00:00
2026-02-16 02:11:02 +00:00
2026-01-23 20:24:58 +00:00
2026-03-01 13:32:35 +00:00
2026-03-25 16:07:59 -07:00
2026-03-13 09:58:44 -07:00
2026-03-26 00:37:48 +08:00
2026-02-28 11:23:20 -08:00
2026-01-21 01:35:14 +00:00
2026-03-29 10:24:30 +00:00
2026-01-05 21:48:12 +08:00
2026-01-21 01:35:14 +00:00
2026-03-02 22:08:53 +00:00
2026-03-21 21:26:13 -07:00
2026-03-21 15:39:47 -07:00
2026-01-21 01:35:14 +00:00
2026-03-29 17:39:15 +00:00
2026-01-21 01:35:14 +00:00
2026-03-08 15:57:37 +00:00
2025-12-27 09:05:24 -08:00
2026-03-21 15:39:47 -07:00
2026-02-19 01:23:32 +00:00
2026-03-29 10:24:30 +00:00
2026-03-26 00:37:48 +08:00
2026-03-30 13:44:32 +00:00
2026-03-10 05:26:16 +00:00
2026-03-29 10:24:30 +00:00
2026-03-24 20:13:08 +00:00
2026-02-19 01:23:32 +00:00
2026-02-19 01:23:32 +00:00
2026-03-23 18:23:42 +00:00
2026-03-26 00:37:48 +08:00
2026-03-21 15:39:47 -07:00
2026-03-22 15:49:45 +00:00
2026-03-29 10:24:30 +00:00
2026-02-20 16:12:22 +00:00