Skip to content

Commit

Permalink
chore(release): cut 8.0.0-alpha.8 [skip ci]
Browse files Browse the repository at this point in the history
# [8.0.0-alpha.8](v8.0.0-alpha.7...v8.0.0-alpha.8) (2021-06-03)

### Code Refactoring

* simplify cypress-plugin and cli-utils-cypress ([dc58462](dc58462))

### BREAKING CHANGES

* Drop run and open commands
We want to be consistent with how Cypress runs locally and in CI and
since we cannot use d2-utils-cypress in CI, we shouldn't run it through
d2-utils-cypress locally either.
* Change configuration keys to camelCase.
- dhis2_username => dhis2Username
- dhis2_password => dhis2Password
- dhis2_base_url => dhis2BaseUrl
- dhis2_datatest_prefix => dhis2DataTestPrefix
- dhis2_api_version => dhis2ApiVersion
* dhis2_api_stub_mode renamed to networkMode
Instead of describing the mode of the plugin, it is a bit easier to
understand if we speak in terms of the network:
- do we want to capture the network traffic (networkMode=capture),
- do we want to stub it (networkMode=stub),
- or do we want to run it against a live backend (networkMode=live)?
* 'DISABLED' renamed to 'LIVE'
To better describe the state of the network when running tests instead
of describing the state of the plugin, DISABLED is now LIVE.
* isDisabledMode renamed to isLiveMode.
Similar to the above, to better describe the state of the network vs.
the state of the plugin, replace usages of isDisabledMode with
isLiveMode.
* 'CAPTURE'|'STUB'|'LIVE' are now lowercase when passed
to the environment.
Replace networkMode=LIVE with networkMode=live.
  • Loading branch information
dhis2-bot committed Jun 3, 2021
1 parent f81f6b3 commit 3adf2fe
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 6 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
# [8.0.0-alpha.8](https://github.com/dhis2/cli-utils-cypress/compare/v8.0.0-alpha.7...v8.0.0-alpha.8) (2021-06-03)


### Code Refactoring

* simplify cypress-plugin and cli-utils-cypress ([dc58462](https://github.com/dhis2/cli-utils-cypress/commit/dc58462b7e131b5c3aeb49e0f8ba6e520ba89030))


### BREAKING CHANGES

* Drop run and open commands
We want to be consistent with how Cypress runs locally and in CI and
since we cannot use d2-utils-cypress in CI, we shouldn't run it through
d2-utils-cypress locally either.
* Change configuration keys to camelCase.
- dhis2_username => dhis2Username
- dhis2_password => dhis2Password
- dhis2_base_url => dhis2BaseUrl
- dhis2_datatest_prefix => dhis2DataTestPrefix
- dhis2_api_version => dhis2ApiVersion
* dhis2_api_stub_mode renamed to networkMode
Instead of describing the mode of the plugin, it is a bit easier to
understand if we speak in terms of the network:
- do we want to capture the network traffic (networkMode=capture),
- do we want to stub it (networkMode=stub),
- or do we want to run it against a live backend (networkMode=live)?
* 'DISABLED' renamed to 'LIVE'
To better describe the state of the network when running tests instead
of describing the state of the plugin, DISABLED is now LIVE.
* isDisabledMode renamed to isLiveMode.
Similar to the above, to better describe the state of the network vs.
the state of the plugin, replace usages of isDisabledMode with
isLiveMode.
* 'CAPTURE'|'STUB'|'LIVE' are now lowercase when passed
to the environment.
Replace networkMode=LIVE with networkMode=live.

# [8.0.0-alpha.7](https://github.com/dhis2/cli-utils-cypress/compare/v8.0.0-alpha.6...v8.0.0-alpha.7) (2021-06-02)


Expand Down
2 changes: 1 addition & 1 deletion examples/platform-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "platform-app",
"version": "8.0.0-alpha.7",
"version": "8.0.0-alpha.8",
"description": "",
"license": "BSD-3-Clause",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/testing-network-shim-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "testing-network-shim-app",
"version": "8.0.0-alpha.7",
"version": "8.0.0-alpha.8",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"test:platform-app": "yarn workspace platform-app cy:capture-and-stub",
"cy:local": "yarn build && yarn test:network-shim-app && yarn test:platform-app"
},
"version": "8.0.0-alpha.7",
"version": "8.0.0-alpha.8",
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"d2-utils-cypress": "./bin/d2-utils-cypress"
},
"main": "src/index.js",
"version": "8.0.0-alpha.7",
"version": "8.0.0-alpha.8",
"author": "Viktor Varland <[email protected]>",
"license": "BSD-3-Clause",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/cypress-commands/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/cypress-commands",
"version": "8.0.0-alpha.7",
"version": "8.0.0-alpha.8",
"description": "Cypress commands for dhis2 related apps",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/cypress-plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/cypress-plugins",
"version": "8.0.0-alpha.7",
"version": "8.0.0-alpha.8",
"description": "Cypress plugins for dhis2 related apps",
"main": "src/index.js",
"repository": {
Expand Down

0 comments on commit 3adf2fe

Please sign in to comment.