Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v4.4.0 #448

Merged
merged 39 commits into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
21a2e9e
Merge pull request #381 from dequelabs/master
michael-siek Sep 20, 2021
3619424
chore(deps): bump tmpl from 1.0.4 to 1.0.5 in /packages/reporter-earl…
dependabot[bot] Sep 22, 2021
3aad9fa
chore(deps): bump semver-regex from 3.1.2 to 3.1.3 (#383)
dependabot[bot] Sep 22, 2021
7093e8e
chore(deps): bump axios from 0.21.1 to 0.21.4 in /packages/react (#361)
dependabot[bot] Sep 22, 2021
4dbf06d
chore(deps): bump jszip from 3.6.0 to 3.7.1 in /packages/webdriverjs …
dependabot[bot] Sep 22, 2021
e7a75b5
chore: update chromedriver to use v95.x (#392)
Zidious Oct 25, 2021
6e16139
chore: update selenium-webdriver to stable 4.0.0 (#397)
Zidious Oct 27, 2021
4b8ab26
fix(playwright): allow include/exclude chaining when given a string b…
Zidious Oct 29, 2021
9bb0286
docs(playwright): update docs to show include/exclude chaining (#399)
Zidious Nov 1, 2021
a436e52
chore: update dependencies 01/11/2021 (#400)
Zidious Nov 8, 2021
be3912d
fix(webdriverjs): prevent selnium undefined -> null transformation (#…
AdnoC Nov 29, 2021
bc21b52
Merge branch 'develop' into master-merge-conflicts
michael-siek Nov 30, 2021
2a93b8d
chore: use axe-core version 4.3.5
michael-siek Nov 30, 2021
0372686
Merge pull request #407 from dequelabs/master-merge-conflicts
michael-siek Nov 30, 2021
c7c50fb
fix(webdriverJS): include/exclude chaining and iframe selectors (#404)
Zidious Nov 30, 2021
50e6839
chore(release-tests): new package to test releases went out correctly…
WilcoFiers Dec 9, 2021
23b848c
ci: add create-release workflow (#411)
AdnoC Dec 14, 2021
ca8aa31
fix(webdriverio): include/exclude chaining and iframe selectors (#409)
Zidious Dec 17, 2021
b32603a
@axe-core/react: includes source-maps to dist (#417)
mitas1 Jan 7, 2022
14e5125
fix(cli): pass chromedriver-path arg to webdriver (#416)
Zidious Jan 10, 2022
82a84c8
chore: only package required dist dir (#418)
michael-siek Jan 10, 2022
4d09009
docs(webdriverjs): change `Getting Started` docs consistent with webd…
michael-siek Jan 10, 2022
9f1fa5d
fix(cli): provide a more robust error message if analysis fails (#421)
Zidious Jan 11, 2022
0e566c2
docs(webdriverjs): add example using axe-core webdriverjs (#420)
Zidious Jan 18, 2022
3fdb50a
fix(webdriverjs): Reject with actual `Error`s (not strings) (#423)
stephenmathieson Jan 25, 2022
aaf26da
chore(deps): bump browserslist from 4.16.3 to 4.18.1 in /packages/pla…
dependabot[bot] Jan 31, 2022
98f52dc
chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 in /packages…
dependabot[bot] Jan 31, 2022
2403fde
chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /packages/react/e…
dependabot[bot] Jan 31, 2022
41e034d
chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 in /packages…
dependabot[bot] Jan 31, 2022
365812c
chore(deps): bump next from 11.1.1 to 11.1.3 in /packages/react/examp…
dependabot[bot] Jan 31, 2022
2208f25
chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 in /packages…
dependabot[bot] Jan 31, 2022
95c87a3
chore: support puppeteer version 13 (#433)
michael-siek Jan 31, 2022
9ff3919
chore(deps): bump follow-redirects from 1.13.0 to 1.14.7 in /packages…
dependabot[bot] Jan 31, 2022
5fb91ec
chore(deps): bump follow-redirects from 1.14.0 to 1.14.7 in /packages…
dependabot[bot] Jan 31, 2022
47fb198
chore(deps): bump cached-path-relative from 1.0.2 to 1.1.0 in /packag…
dependabot[bot] Jan 31, 2022
765c81a
feat: upgrade axe-core to 4.4.1 (#441)
Zidious Feb 8, 2022
147626a
fix(webdriverio,webdriverjs): fix setLegacyMode return type (#445)
straker Feb 10, 2022
95dda29
fix(webdriverio): support wdio using puppeteer without esm (#447)
michael-siek Feb 10, 2022
556ced0
chore: release v4.4.0
attest-team-ci Feb 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 34 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- restore_cache:
keys:
- v2-webdriverjs-npm-{{ checksum "packages/webdriverjs/package-lock.json" }}
- restore_cache:
keys:
- v2-webdriverjs-npm-example-{{ checksum "packages/webdriverjs/tests/example/package-lock.json" }}
- restore_cache:
keys:
- v2-webdriverio-npm-{{ checksum "packages/webdriverio/package-lock.json" }}
Expand Down Expand Up @@ -76,6 +79,10 @@ jobs:
key: v2-webdriverjs-npm-{{ checksum "packages/webdriverjs/package-lock.json" }}
paths:
- packages/webdriverjs/node_modules
- save_cache:
key: v2-webdriverjs-npm-example-{{ checksum "packages/webdriverjs/tests/example/package-lock.json" }}
paths:
- packages/webdriverjs/tests/example/node_modules
- save_cache:
key: v2-webdriverio-npm-{{ checksum "packages/webdriverio/package-lock.json" }}
paths:
Expand All @@ -100,6 +107,7 @@ jobs:
- packages/playwright/node_modules
- packages/puppeteer/node_modules
- packages/webdriverjs/node_modules
- packages/webdriverjs/tests/example/node_modules
- packages/webdriverio/node_modules
- packages/reporter-earl/node_modules
- packages/react/node_modules
Expand Down Expand Up @@ -138,6 +146,14 @@ jobs:
- restore_dependency_cache
- run: npm run coverage --prefix=packages/webdriverjs

webdriverjs-example:
<<: *defaults
steps:
- checkout
- restore_dependency_cache
- run: npm --prefix=packages/webdriverjs run build
- run: npm run test --prefix=packages/webdriverjs/tests/example

webdriverio:
<<: *defaults
steps:
Expand Down Expand Up @@ -190,16 +206,16 @@ jobs:
- restore_dependency_cache
# Make sure the working tree is clean
- run: git reset --hard HEAD
- run: >-
npx lerna publish prepatch \
--no-verify-access \
--no-git-tag-version \
--no-push \
--canary \
--dist-tag=next \
--exact \
--force-publish \
--yes
- run: >-
npx lerna publish prepatch \
--no-verify-access \
--no-git-tag-version \
--no-push \
--canary \
--dist-tag=next \
--exact \
--force-publish \
--yes

production_release:
<<: *defaults
Expand Down Expand Up @@ -234,6 +250,9 @@ workflows:
- webdriverjs:
requires:
- lint
- webdriverjs-example:
requires:
- lint
- webdriverio:
requires:
- lint
Expand All @@ -249,8 +268,8 @@ workflows:
filters:
branches:
only:
- /^release*/
- master
- /^release*/
- master
- canary_release:
context: html-tools
requires:
Expand All @@ -259,12 +278,13 @@ workflows:
- cli
- puppeteer
- webdriverjs
- webdriverjs-example
- webdriverio
- reporter-earl
- react
filters:
branches:
only:
only:
- develop
- production_release:
context: html-tools
Expand All @@ -274,6 +294,7 @@ workflows:
- cli
- puppeteer
- webdriverjs
- webdriverjs-example
- webdriverio
- reporter-earl
- react
Expand Down
8 changes: 8 additions & 0 deletions .github/scripts/prepare_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# Fail on first error.
set -e

releaseLevel="$1"

npx lerna version "$releaseLevel" --conventional-commits --no-push --no-git-tag-version --yes
57 changes: 57 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Create release candidate

on:
workflow_dispatch:
inputs:
releaseLevel:
description: 'Release level: major, minor, or patch.'
required: true
default: 'patch'

jobs:
create_release:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Run preparation script
run: bash .github/scripts/prepare_release.sh ${{ github.event.inputs.releaseLevel }}
env:
CHANGELOG_VERSION: ${{ secrets.CHANGELOG_VERSION }}
STD_VERSION_VERSION: ${{ secrets.STD_VERSION_VERSION }}

- name: Get version for later steps
id: get-new-version
run: echo ::set-output name=version::$(node -pe 'require("./lerna.json").version')

- name: Create release commit
run: |
git config user.name "${{ secrets.ADT_API_RELEASE_NAME }}"
git config user.email "${{ secrets.ADT_API_RELEASE_EMAIL }}"
git commit -am "chore: release v${{ steps.get-new-version.outputs.version }}"
# create-pull-request has no way of setting the target branch that won't also
# get rid of all commits (aside from the release commit).
# So, we have to be on master and manually grab all the changes.
# We do that by just telling git "master is now develop (+ the release commit)".
- name: Update local master from develop
run: |
commitHash="$(git log -1 --format='%H')"
git checkout master
git reset --hard "$commitHash"
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: release
branch-suffix: timestamp
base: master
title: "chore: release v${{ steps.get-new-version.outputs.version }}"
# If there are any changes not already committed, they will be added to
# a commit with this as the message.
# If there are no changes no commit will be created.
commit-message: "chore: applying release changes"
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,61 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.4.0](https://github.com/dequelabs/axe-core-npm/compare/v4.1.1...v4.4.0) (2022-02-10)


### Bug Fixes

* **cli,reporter-earl,react:** use correct version of axe-core ([#378](https://github.com/dequelabs/axe-core-npm/issues/378)) ([0c7d050](https://github.com/dequelabs/axe-core-npm/commit/0c7d0506b7d397df3c96414fc37a408e90fe9a9c))
* **cli:** add `endTimer()` for page load timer ([#236](https://github.com/dequelabs/axe-core-npm/issues/236)) ([e0a19a3](https://github.com/dequelabs/axe-core-npm/commit/e0a19a3bad9b9965df9b98f391efb3403ab737ae))
* **cli:** add timeout waiting for page to be ready ([#250](https://github.com/dequelabs/axe-core-npm/issues/250)) ([cbb795f](https://github.com/dequelabs/axe-core-npm/commit/cbb795f1a92c419794a5f1f9645e28493d7c9bdb))
* **cli:** find axe-core when installed globally ([#232](https://github.com/dequelabs/axe-core-npm/issues/232)) ([75c273d](https://github.com/dequelabs/axe-core-npm/commit/75c273d6b8b4dcec1f953605a5bf4c9b818436cb))
* **cli:** pass chromedriver-path arg to webdriver ([#416](https://github.com/dequelabs/axe-core-npm/issues/416)) ([14e5125](https://github.com/dequelabs/axe-core-npm/commit/14e512551506a333b0249049c3c08c605b2026c3))
* **cli:** provide a more robust error message if analysis fails ([#421](https://github.com/dequelabs/axe-core-npm/issues/421)) ([9f1fa5d](https://github.com/dequelabs/axe-core-npm/commit/9f1fa5d8cb7c2c87bd6e92fe7b13b961e3d73f37))
* pass chrome options to `chromeOptions.addArguments()` ([#262](https://github.com/dequelabs/axe-core-npm/issues/262)) ([715f463](https://github.com/dequelabs/axe-core-npm/commit/715f463c1324d11cafec4a357ee55f446584cd1c))
* **playwright:** allow include/exclude chaining when given a string by the user ([#391](https://github.com/dequelabs/axe-core-npm/issues/391)) ([4b8ab26](https://github.com/dequelabs/axe-core-npm/commit/4b8ab26bb72c4707057127384fede096489a8a8f))
* **playwright:** Make package public ([#264](https://github.com/dequelabs/axe-core-npm/issues/264)) ([35074ba](https://github.com/dequelabs/axe-core-npm/commit/35074baaebe68244ab86ece9f1580ad65975d119))
* selenium-webdriverjs peer dependency to allow newer versions ([#258](https://github.com/dequelabs/axe-core-npm/issues/258)) ([2dc2788](https://github.com/dequelabs/axe-core-npm/commit/2dc27883aa4aa40e64766b0bc60191cb1a4f8963))
* **types:** return `this` rather than the class ([#360](https://github.com/dequelabs/axe-core-npm/issues/360)) ([7999891](https://github.com/dequelabs/axe-core-npm/commit/7999891e9cf48a27ee053e702667b55344714896))
* update axe-core to 4.2.1 ([#254](https://github.com/dequelabs/axe-core-npm/issues/254)) ([9d90185](https://github.com/dequelabs/axe-core-npm/commit/9d9018525a4d799f6d763d0329f05ccbfd20dbe4))
* **webdriverio,webdriverjs:** fix setLegacyMode return type ([#445](https://github.com/dequelabs/axe-core-npm/issues/445)) ([147626a](https://github.com/dequelabs/axe-core-npm/commit/147626a9f6766298a5d0f88a1061895d36a150c7))
* **webdriverio:** include/exclude chaining and iframe selectors ([#409](https://github.com/dequelabs/axe-core-npm/issues/409)) ([ca8aa31](https://github.com/dequelabs/axe-core-npm/commit/ca8aa315251ae206d02843b125ee0e652258d186))
* **webdriverio:** inject axe-core branding into all iframes ([#231](https://github.com/dequelabs/axe-core-npm/issues/231)) ([3f41c27](https://github.com/dequelabs/axe-core-npm/commit/3f41c2709114b894976bcdf03ca2b3d7f824fcae))
* **webdriverio:** Recursively find <frame> ([#238](https://github.com/dequelabs/axe-core-npm/issues/238)) ([7e6a80d](https://github.com/dequelabs/axe-core-npm/commit/7e6a80d856118cceae598de5f91592d6e6c4dc39))
* **webdriverio:** support wdio using puppeteer without esm ([#447](https://github.com/dequelabs/axe-core-npm/issues/447)) ([95dda29](https://github.com/dequelabs/axe-core-npm/commit/95dda2948e18035eaac4377ab9af6450005d0253))
* **webdriverio:** use `executeAsync()` vs `execute()` ([#346](https://github.com/dequelabs/axe-core-npm/issues/346)) ([0e4aa3a](https://github.com/dequelabs/axe-core-npm/commit/0e4aa3ab6f26a48b70cabb7a5bd476e62658c951))
* **webdriverJS:** include/exclude chaining and iframe selectors ([#404](https://github.com/dequelabs/axe-core-npm/issues/404)) ([c7c50fb](https://github.com/dequelabs/axe-core-npm/commit/c7c50fbe6ba91c51c3693ac1220fbd6470532a88))
* **webdriverjs:** prevent selnium undefined -> null transformation ([#402](https://github.com/dequelabs/axe-core-npm/issues/402)) ([5095f43](https://github.com/dequelabs/axe-core-npm/commit/5095f43d371a3ad5c8b5a6b3f94e0ad686e85d7b))
* **webdriverjs:** prevent selnium undefined -> null transformation ([#402](https://github.com/dequelabs/axe-core-npm/issues/402)) ([be3912d](https://github.com/dequelabs/axe-core-npm/commit/be3912d47f6a9d5507aec6af2a01484de554daec))
* **webdriverjs:** Recursively find <frame> ([#209](https://github.com/dequelabs/axe-core-npm/issues/209)) ([0d20e1f](https://github.com/dequelabs/axe-core-npm/commit/0d20e1f3238ca70ccb528867fb1456487c02d0df))
* **webdriverjs:** Reject with actual `Error`s (not strings) ([#423](https://github.com/dequelabs/axe-core-npm/issues/423)) ([3fdb50a](https://github.com/dequelabs/axe-core-npm/commit/3fdb50ad7b9106fa288d7c2b3092ec31de5d984b)), closes [#422](https://github.com/dequelabs/axe-core-npm/issues/422) [#421](https://github.com/dequelabs/axe-core-npm/issues/421) [#387](https://github.com/dequelabs/axe-core-npm/issues/387) [#308](https://github.com/dequelabs/axe-core-npm/issues/308) [#207](https://github.com/dequelabs/axe-core-npm/issues/207)
* **webdriverjs:** resolve promise ([#347](https://github.com/dequelabs/axe-core-npm/issues/347)) ([d1548a5](https://github.com/dequelabs/axe-core-npm/commit/d1548a5ad8c31262a655b7ba1e4fe5b7da888417))


### Features

* Add .setLegacyMode ([#356](https://github.com/dequelabs/axe-core-npm/issues/356)) ([f9d021b](https://github.com/dequelabs/axe-core-npm/commit/f9d021b49487e2a0f804f61e9b6e09a26b69a6e4))
* **playwright:** add playwright integration ([#245](https://github.com/dequelabs/axe-core-npm/issues/245)) ([fec4ada](https://github.com/dequelabs/axe-core-npm/commit/fec4adae9bb9d7971c7d63d6c9f9839b4bd535d8))
* **playwright:** allow `AxeBuilder` to use different version of axe-core ([#335](https://github.com/dequelabs/axe-core-npm/issues/335)) ([f803c98](https://github.com/dequelabs/axe-core-npm/commit/f803c98dc9110d6abe34e7746a076e12f3b6fe45))
* **playwright:** Upgrade to axe-core@4.3.2 ([#334](https://github.com/dequelabs/axe-core-npm/issues/334)) ([b94c75a](https://github.com/dequelabs/axe-core-npm/commit/b94c75a45ae049b1bb5acb6a7e1dc4c094753e05))
* **puppeteer:** Deprecate Frame constructors & Puppeteer < 3.0.3 ([#339](https://github.com/dequelabs/axe-core-npm/issues/339)) ([1ea3047](https://github.com/dequelabs/axe-core-npm/commit/1ea3047a2953c76aedf7fd94923a88631c77a32f))
* **puppeteer:** support puppeteer v9 ([#242](https://github.com/dequelabs/axe-core-npm/issues/242)) ([753a919](https://github.com/dequelabs/axe-core-npm/commit/753a91957c5008908e8b09421e01687bdb445967))
* **puppeteer:** Upgrade to axe-core 4.3 ([#327](https://github.com/dequelabs/axe-core-npm/issues/327)) ([3c9aff1](https://github.com/dequelabs/axe-core-npm/commit/3c9aff1c64f22b17771aa6dd04ed5922f203c094))
* **react:** Add configuration option to optional disable cache (deduplication) ([#309](https://github.com/dequelabs/axe-core-npm/issues/309)) ([435811c](https://github.com/dequelabs/axe-core-npm/commit/435811cb3957cf84b1c1701f6de5c4eb740c8301))
* **react:** Add support for custom logger ([#181](https://github.com/dequelabs/axe-core-npm/issues/181)) ([1f97433](https://github.com/dequelabs/axe-core-npm/commit/1f974338280460715e7b92d58279c3f18fa563f8))
* update `axe-core@4.2.2` ([#263](https://github.com/dequelabs/axe-core-npm/issues/263)) ([8c609e1](https://github.com/dequelabs/axe-core-npm/commit/8c609e1e3580a63f8697ca94e146b0e2ed28e579))
* update axe-core to 4.2.0 ([#240](https://github.com/dequelabs/axe-core-npm/issues/240)) ([4e8f7fe](https://github.com/dequelabs/axe-core-npm/commit/4e8f7fee9db09fb56f91ea34f9984be66a29033e))
* update to use `axe-core@4.2.3` ([#280](https://github.com/dequelabs/axe-core-npm/issues/280)) ([8aebba5](https://github.com/dequelabs/axe-core-npm/commit/8aebba5c6069ca047f649446e072259c069c9a22))
* upgrade axe-core to 4.4.1 ([#441](https://github.com/dequelabs/axe-core-npm/issues/441)) ([765c81a](https://github.com/dequelabs/axe-core-npm/commit/765c81a2ae63e8c72ec086b86174a5c5f343ea9b))
* **wdio:** Upgrade to support, and use types of v7 ([#364](https://github.com/dequelabs/axe-core-npm/issues/364)) ([734e7bd](https://github.com/dequelabs/axe-core-npm/commit/734e7bd73e48902be0af26adc5a09f079190ce7f))
* **webdriverio:** allow `AxeBuilder` to use different version of axe-core ([#333](https://github.com/dequelabs/axe-core-npm/issues/333)) ([25a8c1b](https://github.com/dequelabs/axe-core-npm/commit/25a8c1bae945b24661ac456d917ad76d22789e82))
* **webdriverio:** Upgrade to axe-core@4.3.3 ([#331](https://github.com/dequelabs/axe-core-npm/issues/331)) ([2135347](https://github.com/dequelabs/axe-core-npm/commit/21353478bb4fb75688ffcfcd3a8a0e7198a8f0d3))
* **webdriverjs:** upgrade to axe-core 4.3 ([#312](https://github.com/dequelabs/axe-core-npm/issues/312)) ([b416e74](https://github.com/dequelabs/axe-core-npm/commit/b416e74fb56526021b010996c0e1382269627efa))





## [4.3.1](https://github.com/dequelabs/axe-core-npm/compare/v4.3.0...v4.3.1) (2021-09-20)

### Bug Fixes
Expand Down
9 changes: 7 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"packages": ["packages/*", "packages/react/examples/*", "axe_core_test"],
"version": "4.3.2"
"packages": [
"packages/*",
"packages/react/examples/*",
"packages/webdriverjs/tests/example",
"axe_core_test"
],
"version": "4.4.0"
}
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading