From e232d0a8c5e39e6a25c43d302377fd71b660dce7 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 26 Feb 2023 09:01:13 +0100 Subject: [PATCH 1/5] Bump version --- package-lock.json | 4 ++-- package.json | 2 +- provider/__init__.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3bdcac3..a7c0f11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "provider-pact-example", - "version": "1.7.0", + "version": "1.8.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "provider-pact-example", - "version": "1.7.0", + "version": "1.8.0", "license": "MIT", "dependencies": { "@redocly/cli": "^1.0.0-beta.123" diff --git a/package.json b/package.json index 01ecbc2..a45e8c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "provider-pact-example", - "version": "1.7.0", + "version": "1.8.0", "private": true, "description": "Complete Contract Testing solution solution for API, which can used by client applications", "main": "index.js", diff --git a/provider/__init__.py b/provider/__init__.py index f5ebda5..1469a21 100644 --- a/provider/__init__.py +++ b/provider/__init__.py @@ -15,7 +15,7 @@ """ __copyright__ = 'Copyright (C) 2023 Serghei Iakovlev' -__version__ = '1.7.0' +__version__ = '1.8.0' __license__ = 'MIT' __author__ = 'Serghei Iakovlev' __author_email__ = 'egrep@protonmail.ch' From 48c2fb4ef0fd61a129277a19948cdb86f1197330 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 26 Feb 2023 09:01:30 +0100 Subject: [PATCH 2/5] Update Node.js dependencies --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index a7c0f11..26b987e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -780,9 +780,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001457", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001457.tgz", - "integrity": "sha512-SDIV6bgE1aVbK6XyxdURbUE89zY7+k1BBBaOwYwkNCglXlel/E7mELiHC64HQ+W0xSKlqWhV9Wh7iHxUjMs4fA==", + "version": "1.0.30001458", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001458.tgz", + "integrity": "sha512-lQ1VlUUq5q9ro9X+5gOEyH7i3vm+AYVT1WDCVB69XOZ17KZRhnZ9J0Sqz7wTHQaLBJccNCHq8/Ww5LlOIZbB0w==", "funding": [ { "type": "opencollective", @@ -3269,9 +3269,9 @@ "integrity": "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==" }, "caniuse-lite": { - "version": "1.0.30001457", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001457.tgz", - "integrity": "sha512-SDIV6bgE1aVbK6XyxdURbUE89zY7+k1BBBaOwYwkNCglXlel/E7mELiHC64HQ+W0xSKlqWhV9Wh7iHxUjMs4fA==", + "version": "1.0.30001458", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001458.tgz", + "integrity": "sha512-lQ1VlUUq5q9ro9X+5gOEyH7i3vm+AYVT1WDCVB69XOZ17KZRhnZ9J0Sqz7wTHQaLBJccNCHq8/Ww5LlOIZbB0w==", "peer": true }, "chalk": { From 7484770bf23ded94c82dee6c0723994a5392ba08 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 26 Feb 2023 09:03:36 +0100 Subject: [PATCH 3/5] Install editable version for testing purposes --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index cf87a5f..68d2997 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,7 @@ init: $(VENV_PYTHON) install: $(REQUIREMENTS) @echo $(CS)Installing $(PKG_NAME) and all its dependencies$(CE) $(VENV_BIN)/pip-sync $^ + $(VENV_PIP) install --progress-bar=off -e . @echo .PHONY: uninstall From 489d5bee410d6c85c3e5b6d582be52af1da442d2 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 26 Feb 2023 09:12:39 +0100 Subject: [PATCH 4/5] Amend change logs --- CHANGELOG.rst | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3acfe9f..3c50a4a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,42 @@ This file contains a brief summary of new features and dependency changes or releases, in reverse chronological order. +1.8.0 (2023-02-26) +------------------ + +Features +^^^^^^^^ + +* Provided ability to create products. + + +Breaking Changes +^^^^^^^^^^^^^^^^ + +* Renamed project name from ``Specmatic Testing Example`` to + ``Contract Testing Example``. +* Renamed OpenAPI directory and filename to reflect its purpose from + ``contracts`` to ``openapi``. +* Renamed Python package from ``products`` to ``provider``. + + +Trivial/Internal Changes +^^^^^^^^^^^^^^^^^^^^^^^^ + +* Amended tests. +* Minor documentation improvements and fixes. +* Refactor ``redocly`` linter configuration. +* Remove no longer needed ``spectral`` linter. +* Simplify ``setup.py`` to provide long description. +* Bump ``markdown-it-py`` from 2.1.0 to 2.2.0. +* Bump ``python-dotenv`` from 0.21.1 to 1.0.0. +* Bump ``faker`` from 17.0.0 to 17.1.0. +* Bump ``actions/labeler`` from 4.0.2 to 4.1.0. + + +---- + + 1.7.0 (2023-02-22) ------------------ From b01ab51d1b223eacf732de8c6a62f50ff5980a49 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 26 Feb 2023 09:15:21 +0100 Subject: [PATCH 5/5] Remove not working properly and causing issues CodeQL analysis --- .github/workflows/codeql-analysis.yaml | 79 -------------------------- 1 file changed, 79 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yaml diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml deleted file mode 100644 index 20fa8fb..0000000 --- a/.github/workflows/codeql-analysis.yaml +++ /dev/null @@ -1,79 +0,0 @@ -# This file is part of the Provider API Example. -# -# Copyright (C) 2023 Serghei Iakovlev -# -# For the full copyright and license information, please view -# the LICENSE file that was distributed with this source code. - -name: CodeQL analysis - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - schedule: - - cron: '21 22 * * 2' - # | | | | | - # | | | | |____ day of the week (0 - 6 or SUN-SAT) - # | | | |____ month (1 - 12 or JAN-DEC) - # | | |____ day of the month (1 - 31) - # | |____ hour (0 - 23) - # |____ minute (0 - 59) - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - - permissions: - # required for all workflows - security-events: write - - # only required for workflows in private repositories - actions: read - contents: read - - strategy: - # When set to true, GitHub cancels - # all in-progress jobs if any matrix job fails. - fail-fast: false - - matrix: - language: [ python ] - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Python 3.11 - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - - name: Setup Python cache - uses: actions/cache@v3 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- - - - name: Install Python dependencies - run: | - python -m pip install --progress-bar=off --upgrade pip - python -m pip install --progress-bar=off -r requirements/requirements.txt - python -m pip install --progress-bar=off -r requirements/requirements-dev.txt - - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: '/language:${{matrix.language}}'