Skip to content

Commit 23d8645

Browse files
committed
release-notes: Add release notes for the Series linking feature
Closes #506 Signed-off-by: andrepapoti <[email protected]>
1 parent 27739c8 commit 23d8645

File tree

4 files changed

+40
-23
lines changed

4 files changed

+40
-23
lines changed

docs/api/rest/index.rst

+24-22
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This guide provides an overview of how one can interact with the REST API. For
88
detailed information on type and response format of the various resources
99
exposed by the API, refer to the web browsable API. This can be found at:
1010

11-
https://patchwork.example.com/api/1.3/
11+
https://patchwork.example.com/api/1.4/
1212

1313
where `patchwork.example.com` refers to the URL of your Patchwork instance.
1414

@@ -40,7 +40,7 @@ If all you want is reference guides, skip straight to :ref:`rest-api-schemas`.
4040

4141
.. versionchanged:: 3.1
4242

43-
The API version was bumped to v1.3 in Patchwork v3.1. The older APIs are
43+
The API version was bumped to v1.4 in Patchwork v3.1. The older APIs are
4444
still supported. For more information, refer to :ref:`rest-api-versions`.
4545

4646
Getting Started
@@ -57,16 +57,16 @@ Patchwork instance hosted at `patchwork.example.com`, run:
5757

5858
.. code-block:: shell
5959
60-
$ curl -s 'https://patchwork.example.com/api/1.3/' | python -m json.tool
60+
$ curl -s 'https://patchwork.example.com/api/1.4/' | python -m json.tool
6161
{
62-
"bundles": "https://patchwork.example.com/api/1.3/bundles/",
63-
"covers": "https://patchwork.example.com/api/1.3/covers/",
64-
"events": "https://patchwork.example.com/api/1.3/events/",
65-
"patches": "https://patchwork.example.com/api/1.3/patches/",
66-
"people": "https://patchwork.example.com/api/1.3/people/",
67-
"projects": "https://patchwork.example.com/api/1.3/projects/",
68-
"series": "https://patchwork.example.com/api/1.3/series/",
69-
"users": "https://patchwork.example.com/api/1.3/users/"
62+
"bundles": "https://patchwork.example.com/api/1.4/bundles/",
63+
"covers": "https://patchwork.example.com/api/1.4/covers/",
64+
"events": "https://patchwork.example.com/api/1.4/events/",
65+
"patches": "https://patchwork.example.com/api/1.4/patches/",
66+
"people": "https://patchwork.example.com/api/1.4/people/",
67+
"projects": "https://patchwork.example.com/api/1.4/projects/",
68+
"series": "https://patchwork.example.com/api/1.4/series/",
69+
"users": "https://patchwork.example.com/api/1.4/users/"
7070
}
7171
7272
@@ -79,17 +79,17 @@ well-supported. To repeat the above example using `requests`:, run
7979
$ python
8080
>>> import json
8181
>>> import requests
82-
>>> r = requests.get('https://patchwork.example.com/api/1.3/')
82+
>>> r = requests.get('https://patchwork.example.com/api/1.4/')
8383
>>> print(json.dumps(r.json(), indent=2))
8484
{
85-
"bundles": "https://patchwork.example.com/api/1.3/bundles/",
86-
"covers": "https://patchwork.example.com/api/1.3/covers/",
87-
"events": "https://patchwork.example.com/api/1.3/events/",
88-
"patches": "https://patchwork.example.com/api/1.3/patches/",
89-
"people": "https://patchwork.example.com/api/1.3/people/",
90-
"projects": "https://patchwork.example.com/api/1.3/projects/",
91-
"series": "https://patchwork.example.com/api/1.3/series/",
92-
"users": "https://patchwork.example.com/api/1.3/users/"
85+
"bundles": "https://patchwork.example.com/api/1.4/bundles/",
86+
"covers": "https://patchwork.example.com/api/1.4/covers/",
87+
"events": "https://patchwork.example.com/api/1.4/events/",
88+
"patches": "https://patchwork.example.com/api/1.4/patches/",
89+
"people": "https://patchwork.example.com/api/1.4/people/",
90+
"projects": "https://patchwork.example.com/api/1.4/projects/",
91+
"series": "https://patchwork.example.com/api/1.4/series/",
92+
"users": "https://patchwork.example.com/api/1.4/users/"
9393
}
9494
9595
Tools like `curl` and libraries like `requests` can be used to build anything
@@ -108,7 +108,7 @@ Versioning
108108
----------
109109

110110
By default, all requests will receive the latest version of the API: currently
111-
``1.3``:
111+
``1.4``:
112112

113113
.. code-block:: http
114114
@@ -119,7 +119,7 @@ changes breaking your application:
119119

120120
.. code-block:: http
121121
122-
GET /api/1.3 HTTP/1.1
122+
GET /api/1.4 HTTP/1.1
123123
124124
Older API versions will be deprecated and removed over time. For more
125125
information, refer to :ref:`rest-api-versions`.
@@ -275,6 +275,7 @@ Supported Versions
275275
1.1, 2.1, ✓
276276
1.2, 2.2, ✓
277277
1.3, 3.1, ✓
278+
1.4, 3.1, ✓
278279

279280
Further information about this and more can typically be found in
280281
:doc:`the release notes </releases/index>`.
@@ -292,6 +293,7 @@ Auto-generated schema documentation is provided below.
292293
/api/rest/schemas/v1.1
293294
/api/rest/schemas/v1.2
294295
/api/rest/schemas/v1.3
296+
/api/rest/schemas/v1.4
295297

296298
.. Links
297299

docs/api/rest/schemas/v1.3.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
API v1.3 (latest)
1+
API v1.3
22
=================
33

44
.. openapi:: ../../schemas/v1.3/patchwork.yaml

docs/api/rest/schemas/v1.4.rst

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
API v1.4 (latest)
2+
=================
3+
4+
.. openapi:: ../../schemas/v1.4/patchwork.yaml
5+
:examples:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
features:
3+
- |
4+
Added support for Series to link to another Series, allowing for automation to link an older version of a series to a newer one.
5+
api:
6+
- |
7+
The API version has been updated to v1.4.
8+
- |
9+
A new REST API endpoint is available at ``/api/series/<series_id>/link/<related_series_id>``.
10+
This can be used to link a series to another one

0 commit comments

Comments
 (0)