You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Indicate major version upgrade to `5.0.0`, up from `4.3.1`
* Add migration entry for v5, mentioning Node `18` or `20` required
* Be more specific about supported Node versions in v4 and v3 migration entries
* Follow pa11y's lead in using `[!TIP]` in support section
* In support table, reduce end date resolution to month & year, and fix minor version resolution
* Set v4's support end date to October 2024, mention its final minor version and pa11y version; be more specific about Node support
* Add support table entry for v5
* Add pa11y versions for webservice v3, v2, v1
* Use distinct headings/anchors
* Update requirements to discuss v5
* Move v4's Ubuntu 20.04 guidance into its migration entry
* Update Linux/Ubuntu section for v5
* Add changelog entry for v5
* Don't use heading for full comparison
* Mention `hapi`'s major upgrade
* Update supported Node versions
* Update copyright year
* Mention latest upgrades in `CHANGELOG` and `MIGRATION`
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Changelog
2
2
3
+
## 5.0.0
4
+
5
+
***Major** Require Node.js `20`, `22`, or `24`
6
+
***Major** Upgrade to `pa11y@^9` from `^6`
7
+
* Includes an upgrade to Puppeteer `^24` from `9`.
8
+
* Fixes compatibility with Ubuntu versions 20.04 and above. The [workaround](MIGRATION.md#migrating-from-30-to-40) documented for `pa11y-webservice@4` is no longer required.
9
+
***Major** Upgrade to `hapi@21` from `20`
10
+
* Upgrade to `minimatch@3.1` from `3.0`
11
+
12
+
Full comparison to `4.3.1`: [4.3.1...5.0.0](https://github.com/pa11y/pa11y/compare/4.3.1...5.0.0)
13
+
3
14
## 4.3.1 (2023-11-15)
4
15
5
16
* Fix bug in naming when requiring `lodash.groupby`
Copy file name to clipboardExpand all lines: MIGRATION.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,24 @@ Pa11y Webservice's API changes between major versions. This is a guide to help y
5
5
## Table of contents
6
6
7
7
*[Table of contents](#table-of-contents)
8
+
*[Migrating from 4.0 to 5.0](#migrating-from-40-to-50)
8
9
*[Migrating from 3.0 to 4.0](#migrating-from-30-to-40)
9
10
*[Migrating from 2.0 to 3.0](#migrating-from-20-to-30)
10
11
*[PhantomJS to Headless Chrome](#phantomjs-to-headless-chrome)
11
-
*[Node.js support](#nodejs-support)
12
+
*[Node.js support for 3.0](#nodejs-support-for-30)
12
13
*[Miscellaneous](#miscellaneous)
13
14
*[Migrating from 1.0 to 2.0](#migrating-from-10-to-20)
14
-
*[Node.js support](#nodejs-support-1)
15
+
*[Node.js support for 2.0](#nodejs-support-for-20)
16
+
17
+
## Migrating from 4.0 to 5.0
18
+
19
+
Pa11y Webservice 5 requires Node.js version `20`, `22`, or `24`.
15
20
16
21
## Migrating from 3.0 to 4.0
17
22
18
-
Pa11y Webservice 4 requires Node.js version 12 or greater. Versions 8 and 10 are not supported any more.
23
+
Pa11y Webservice 4 requires Node.js version `12`, `14`, `16`, `18`, or `20`.
24
+
25
+
To run this version on Ubuntu 20.04 or above, a path to the Chrome executable must be defined in [chromeLaunchConfig](README#chromelaunchconfig-config-file-only), as `chromeLaunchConfig.executablePath`.
19
26
20
27
## Migrating from 2.0 to 3.0
21
28
@@ -25,16 +32,16 @@ Pa11y Webservice 3 uses version 5 of Pa11y, which replaces PhantomJS with [Headl
25
32
26
33
As a result of this change, [Pa11y Webservice's requirements](../README.md#requirements) have changed, and you may need to install additional dependencies required by Chrome before being able to use this version.
27
34
28
-
### Node.js support
35
+
### Node.js support for 3.0
29
36
30
-
Pa11y Webservice 3 requires Node.js version 8 or greater. Versions 4 and 6 are not supported any more.
37
+
Pa11y Webservice 3 requires Node.js version `8` or `10`.
31
38
32
39
### Miscellaneous
33
40
34
41
The default viewport dimensions for Pa11y have been changed from `1024x768` to `1280x1024`. This could make pa11y report a different number of errors if different content appears on the page based on its width, so results obtained with v2 and v3 may not be comparable.
35
42
36
43
## Migrating from 1.0 to 2.0
37
44
38
-
### Node.js support
45
+
### Node.js support for 2.0
39
46
40
47
The only breaking change in Pa11y Webservice 2.0 is that Node.js 0.10 and 0.12 are no longer supported. We'll be using newer ES6 features in upcoming releases which will not work in these older Node.js versions.
Copy file name to clipboardExpand all lines: README.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,12 @@ Use this service if you'd like to coordinate your testing by interacting with a
14
14
15
15
## Requirements
16
16
17
-
-[Node.js][node]: Each major version of Pa11y Webservice is designed to support a set of stable/LTS versions of Node.js. Pa11y Webservice 4 requires a stable (even-numbered) version of Node.js of 12 or above.
18
-
-[MongoDB][mongo]: The service stores test results in a MongoDB database, and expects one to be available and running.
17
+
-[Node.js][node]: Each major version of Pa11y Webservice is designed to support a set of stable/LTS versions of Node.js. Pa11y Webservice 5 requires Node.js `20`, `22`, or `24`.
18
+
-[MongoDB][mongo]: The service stores test results in a MongoDB database and expects one to be available and running.
19
19
20
-
### Pally Webservice 4 and Linux/Ubuntu
20
+
### Pally Webservice 5 and Linux/Ubuntu
21
21
22
-
Pa11y (and therefore this service) uses Headless Chrome to perform accessibility testing. On Linux and other Unix-like systems, Pa11y's attempt to install it as a dependency sometimes fails since additional operating system packages will be required. Your distribution's documentation should describe how to install these.
23
-
24
-
In addition, to use Pa11y Webservice 4 with a version of Ubuntu above 20.04, a path to the Chrome executable must be defined in [chromeLaunchConfig](#chromelaunchconfig-config-file-only), as `chromeLaunchConfig.executablePath`. Version 5 of Pa11y Webservice, which will use Pa11y 7 along with a more recent version of Puppeteer, will resolve this issue.
22
+
This service depends on [Pa11y], which uses Headless Chrome to perform accessibility testing. On Linux and other Unix-like systems, Pa11y's attempt to install Headless Chrome as a dependency sometimes fails since additional operating system packages will be required. Your distribution's documentation should describe how to install these.
25
23
26
24
## Setup
27
25
@@ -197,24 +195,25 @@ NODE_ENV=test npm run load-fixtures
197
195
198
196
## Support and migration
199
197
200
-
> [!NOTE]
198
+
> [!TIP]
201
199
> We maintain a [migration guide](MIGRATION.md) to help you migrate between major versions.
202
200
203
201
When we release a new major version we will continue to support the previous major version for 6 months. This support will be limited to fixes for critical bugs and security issues. If you're opening an issue related to this project, please mention the specific version that the issue affects.
204
202
205
203
The following table lists the major versions available and, for each previous major version, its end-of-support date, and its final minor version released.
206
204
207
-
| Major version | Final minor version | Node.js support | Support end date |
0 commit comments