From cba3c595c7a80a6dac7833e25cc3e7a2d878b873 Mon Sep 17 00:00:00 2001 From: Daniel Aschwanden Date: Wed, 2 Oct 2024 17:47:15 +0200 Subject: [PATCH 1/6] chore(changelog): create changelog generation --- .github/workflows/build.yaml | 3 - .github/workflows/changelog.yaml | 33 + .../workflows/{docker-image.yml => main.yml} | 31 +- .pre-commit-config.yaml | 10 +- CHANGELOG.md | 635 +++++++++++++----- cliff.toml | 121 ++++ 6 files changed, 652 insertions(+), 181 deletions(-) create mode 100644 .github/workflows/changelog.yaml rename .github/workflows/{docker-image.yml => main.yml} (80%) create mode 100644 cliff.toml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 83f46c41..0d8dbe6a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,5 +1,4 @@ name: Automated Tests and Linting - on: push: branches-ignore: @@ -18,11 +17,9 @@ jobs: node-version-file: ".nvmrc" cache: yarn cache-dependency-path: "ui/yarn.lock" - - name: Install packages run: yarn install --immutable working-directory: ui - - name: Run tests run: yarn test working-directory: ui diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml new file mode 100644 index 00000000..2d08ad33 --- /dev/null +++ b/.github/workflows/changelog.yaml @@ -0,0 +1,33 @@ +on: + push: + branches: + - "main" + - "develop" +jobs: + changelog: + name: Generate changelog + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Generate changelog + uses: orhun/git-cliff-action@v4 + with: + config: cliff.toml + args: --verbose + env: + OUTPUT: CHANGELOG.md + GITHUB_REPO: ${{ github.repository }} + - name: Commit + run: | + git checkout ${GITHUB_REF_NAME} + git config user.name 'github-actions[bot]' + git config user.email 'github-actions[bot]@users.noreply.github.com' + set +e + git add CHANGELOG.md + git commit -m "chore(changelog): Update changelog [skip ci]" + git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git ${GITHUB_REF_NAME} diff --git a/.github/workflows/docker-image.yml b/.github/workflows/main.yml similarity index 80% rename from .github/workflows/docker-image.yml rename to .github/workflows/main.yml index 4e15ce5c..15771c94 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,4 @@ name: Build & Test & Push Image - on: push: branches: @@ -15,7 +14,7 @@ jobs: build: runs-on: ubuntu-latest name: "Test and Build" - steps: + steps: - name: Checkout uses: actions/checkout@v4 - uses: actions/checkout@v4 @@ -81,7 +80,6 @@ jobs: build-args: | VERSION=${{ steps.meta.outputs.version }} GIT_SHA=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} - - name: Docker meta for hasura id: meta-hasura uses: docker/metadata-action@v5 @@ -109,3 +107,30 @@ jobs: labels: ${{ steps.meta-hasura.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max + changelog: + name: Generate changelog + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Generate changelog + uses: orhun/git-cliff-action@v4 + with: + config: cliff.toml + args: --verbose + env: + OUTPUT: CHANGELOG.md + GITHUB_REPO: ${{ github.repository }} + - name: Commit + run: | + git checkout ${GITHUB_REF_NAME} + git config user.name 'github-actions[bot]' + git config user.email 'github-actions[bot]@users.noreply.github.com' + set +e + git add CHANGELOG.md + git commit -m "chore(changelog): Update changelog [skip ci]" + git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git ${GITHUB_REF_NAME} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 866e2b83..c2a8708a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -15,7 +15,13 @@ repos: - id: golangci-lint - id: go-unit-tests - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.1.0" + rev: "v4.0.0-alpha.8" hooks: - id: prettier + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v3.4.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + args: [] exclude: "(example|hasura|docs)/.*" diff --git a/CHANGELOG.md b/CHANGELOG.md index c6c1dd4e..9bf3bc52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,181 +1,470 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Calendar Versioning](https://calver.org/) with patern **YY.MINOR.MICRO**. - -## [Unreleased] - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/main...develop - -## v24.10.0 -### Features -- **(map)** cleanup icon styling for map - ([8327e53](https://github.com/f-eld-ch/sitrep/commit/8327e5367b4347e90f002e07cd7753cf644f6a40)) - Daniel Aschwanden -- **(map)** improve map drawing synchronization (#447) - ([2ae1a2f](https://github.com/f-eld-ch/sitrep/commit/2ae1a2f4504c959a04eb64ed98d87e4641b6ae6c)) - Dani Aschwanden -- **(ui)** automatically update service worker - ([8879b4c](https://github.com/f-eld-ch/sitrep/commit/8879b4cfd96da98b57df7184231488144c0b19de)) - Daniel Aschwanden - -### Bug Fixes -- **(sw)** update service worker - ([2e120d9](https://github.com/f-eld-ch/sitrep/commit/2e120d91d9dcb425bf5226a32ba21c50a4536a2d)) - Daniel Aschwanden -- **(ui)** make darkMode persistent - ([40e4e77](https://github.com/f-eld-ch/sitrep/commit/40e4e77f0bd4f6ad0295d433b4c0aeae8ecfb2e4)) - Daniel Aschwanden - - -### Miscellaneous Chores -- **(deps)** cleanup resolutions - ([29a664e](https://github.com/f-eld-ch/sitrep/commit/29a664e5132ceb1f1d94b91a6b5794c3784381e2)) - Daniel Aschwanden -- **(deps)** update rollup to 4.22.4 - ([8a7380e](https://github.com/f-eld-ch/sitrep/commit/8a7380e7e32636a6f37323b632e6063e328cfcc6)) - Daniel Aschwanden -- **(deps-dev)** bump the development-dependencies group (#446) - ([ba98b10](https://github.com/f-eld-ch/sitrep/commit/ba98b107dbf5b7462780f5f4ad338d789af80b73)) - dependabot[bot] -- **(deps-dev)** upgrade yarn to 4.5.0 - ([4e41a8d](https://github.com/f-eld-ch/sitrep/commit/4e41a8dfa8c97d1f8b05dd8218c236e9ce450e7d)) - Daniel Aschwanden -- **(deps-dev)** bump the development-dependencies group across 1 directory with 4 updates (#445) - ([72dcec4](https://github.com/f-eld-ch/sitrep/commit/72dcec4e1d0aa0e140311ce6333992383378cacd)) - dependabot[bot] -- adds CODEOWNERS file - ([e1b842d](https://github.com/f-eld-ch/sitrep/commit/e1b842d4a76718651fc211906edf41aa21042cdc)) - Dani Aschwanden -- update Changelog - ([505a014](https://github.com/f-eld-ch/sitrep/commit/505a014a6f0d94024583a174467ea811dbe80637)) - Daniel Aschwanden - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.9.0...v24.10.0 - -## v24.9.0 -### What's Changed -- feat(map): also adjust imagery map with new style -- feat(map): improve map loading speed -- feat(map): improve styling of railways and aeroways -- feat(map): switch mapstyle to basemap vector tiles and enable housenumbers -- fix(map): improve map styling -- fix(map): prevent that style switching causes map to not move anymore -- fix(translations): improve French Translations (#442) -- chore(deps): bump @apollo/client from 3.11.4 to 3.11.5 in /ui (#411) -- chore(deps): bump @apollo/client from 3.11.5 to 3.11.6 in /ui (#417) -- chore(deps): bump @apollo/client from 3.11.6 to 3.11.7 in /ui (#419) -- chore(deps): bump @apollo/client from 3.11.7 to 3.11.8 in /ui (#422) -- chore(deps): bump @watergis/maplibre-gl-export in /ui (#407) -- chore(deps): bump dompurify (#435) -- chore(deps): bump i18next from 23.14.0 to 23.15.1 in /ui (#428) -- chore(deps): bump micromatch (#400) -- chore(deps): bump react-i18next from 15.0.1 to 15.0.2 in /ui (#433) -- chore(deps): bump react-router-dom from 6.26.1 to 6.26.2 in /ui (#426) -- chore(deps-dev): bump @eslint/js from 9.9.0 to 9.9.1 in /ui (#401) -- chore(deps-dev): bump @testing-library/jest-dom in /ui (#403) -- chore(deps-dev): bump eslint from 9.9.0 to 9.9.1 in /ui (#402) -- chore(deps-dev): bump jsdom from 24.1.1 to 25.0.0 in /ui (#405) -- chore(deps-dev): bump the development-dependencies group (#409) -- chore(deps-dev): bump the development-dependencies group (#416) -- chore(deps-dev): bump the development-dependencies group (#418) -- chore(deps-dev): bump the development-dependencies group (#431) -- chore(deps-dev): bump the development-dependencies group (#436) -- chore(deps-dev): bump the development-dependencies group across 1 directory with 3 updates (#443) -- chore(deps-dev): bump the development-dependencies group across 1 directory with 4 updates (#424) -- chore(deps-dev): bump the development-dependencies group across 1 directory with 6 updates (#430) -- chore(deps-dev): bump the development-dependencies group across 1 directory with 6 updates (#434) -- chore(deps-dev): bump the development-dependencies group across 1 directory with 7 updates (#415) -- chore(deps-dev): bump the development-dependencies group across 1 directory with 9 updates (#440) -- chore(deps-dev): bump ts-jest from 29.2.4 to 29.2.5 in /ui (#404) -- ci: improve dependabot configuration - -### New Contributors -* @sebug made their first contribution in https://github.com/f-eld-ch/sitrep/pull/442 - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.8.0...v24.9.0 - -## v24.8.0 -### What's Changed -* chore(deps-dev): bump @testing-library/jest-dom from 6.4.5 to 6.4.6 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/374 -* chore(deps-dev): bump @testing-library/react from 15.0.7 to 16.0.0 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/370 -* chore(deps-dev): bump @types/node from 20.12.11 to 20.14.10 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/378 -* chore(deps-dev): bump @types/node from 20.12.11 to 20.14.11 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/380 -* chore(deps-dev): bump @types/react from 18.2.48 to 18.3.3 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/371 -* chore(deps-dev): bump @types/react from 18.2.48 to 18.3.3 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/381 -* chore(deps-dev): bump @types/react from 18.3.3 to 18.3.4 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/398 -* chore(deps-dev): bump husky from 9.1.4 to 9.1.5 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/396 -* chore(deps-dev): bump jsdom from 24.0.0 to 24.1.0 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/373 -* chore(deps-dev): bump ts-jest from 29.1.2 to 29.2.4 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/385 -* chore(deps-dev): bump vite from 5.4.1 to 5.4.2 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/395 -* chore(deps-dev): bump vite-plugin-checker from 0.6.4 to 0.7.2 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/375 -* chore(deps): bump @watergis/maplibre-gl-export from 2.0.1 to 3.8.2 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/382 -* chore(deps): bump dayjs from 1.11.12 to 1.11.13 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/391 -* chore(deps): bump docker/build-push-action from 5 to 6 by @dependabot in https://github.com/f-eld-ch/sitrep/pull/389 -* chore(deps): bump oauth2-proxy/oauth2-proxy from v7.5.1 to v7.6.0 by @dependabot in https://github.com/f-eld-ch/sitrep/pull/347 -* chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot in https://github.com/f-eld-ch/sitrep/pull/368 -* chore(deps): update to maplibre 4.5.2 by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/399 -* chore(deps): upgrade various dependencies by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/388 - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.6.0...v24.8.0 - - -## v24.6.0 - -### What's Changed -* feat(ui): enable DarkMode in UI by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/365 -* fix(ui): adds missing autocomplete for email receiver details by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/357 -* chore(deps-dev): bump vite from 5.1.4 to 5.1.7 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/359 -* chore(deps): bump ejs from 3.1.8 to 3.1.10 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/362 -* chore(deps): bump tar from 6.1.12 to 6.2.1 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/360 -* chore(deps): upgrade yarn and other dependencies by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/364 -* enable multiplatform builds by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/363 - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.2.3...v24.6.0 - - -## v24.2.3 - -### Highlights -* Map is now fully synchronized with the backend and across subscribed clients from this incident. We consider the map still a beta feature but the basic functionality has been created. At the moment only one layer is supported. - -### What's Changed -* feat(map): sync map to backend by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/354 -* feat(map): improve icon text coloring and alignment by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/355 - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.2.2...v24.2.3 - -## v24.2.2 -### What's Changed -* feat(ui): better incident name by @lukastresch in https://github.com/f-eld-ch/sitrep/pull/353 -* chore(deps): bump ip from 2.0.0 to 2.0.1 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/351 - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.2.1...v24.2.2 - -## v24.2.1 -### What's Changed -* feat(map): add custom style with B612 fonts to map by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/346 -* feat(ui): add dedicated login page to initialize OIDC login flow - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.2.0...v24.2.1 - -## v24.2.0 -### What's Changed -* feat(map): improve drawing UI for map, feature remains in beta with only locally synced features -* feat(ui): adds time / date to Navbar -* feat(ui): small improvements on overall design -* fix(map): adds missing icons and improved "Brandzone" and "ZerstΓΆrt" polygon pattern. -* chore(deps): various dependency updates - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.1.1...v24.2.0 - -## v24.1.1 -### What's Changed -* feat(map): improve Map Drawings to properly display start and end icons of lines - -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.1.0...v24.1.1 - -## v24.1.0 -### What's Changed -* feat(ui): change default font to [B612](https://b612-font.com/) -* feat(ui): adds autoscroll in feed -* chore(deps): upgrade various dependencies to their latest versions +## [unreleased] -### New Contributors -* @lukastresch made their first contribution in https://github.com/f-eld-ch/sitrep/pull/284 +## [24.10.0](https://github.com/f-eld-ch/sitrep/compare/v24.9.0..v24.10.0) - 2024-10-01 -**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v23.2.0...v24.1.0 +### ⛰️ Features -## v23.2.0 -This is release containing mainly dependency upgrades and security fixes +- _(map)_ Cleanup icon styling for map - ([8327e53](https://github.com/f-eld-ch/sitrep/commit/8327e5367b4347e90f002e07cd7753cf644f6a40)) +- _(map)_ Improve map drawing synchronization ([#447](https://github.com/f-eld-ch/sitrep/issues/447)) - ([2ae1a2f](https://github.com/f-eld-ch/sitrep/commit/2ae1a2f4504c959a04eb64ed98d87e4641b6ae6c)) +- _(ui)_ Autoamtically update service worker - ([8879b4c](https://github.com/f-eld-ch/sitrep/commit/8879b4cfd96da98b57df7184231488144c0b19de)) -### What's Changed -* chore(deps): various dependency upgrades +### πŸ› Bug Fixes -**Full Changelog**: https://github.com/RedGecko/sitrep/compare/v23.1.0...v23.2.0 +- _(sw)_ Update service worker - ([2e120d9](https://github.com/f-eld-ch/sitrep/commit/2e120d91d9dcb425bf5226a32ba21c50a4536a2d)) +- _(ui)_ Make darkMode persistent - ([40e4e77](https://github.com/f-eld-ch/sitrep/commit/40e4e77f0bd4f6ad0295d433b4c0aeae8ecfb2e4)) -## v23.1.0 -This is release containing mainly dependency upgrades and security fixes +### βš™οΈ Other -### What's Changed -* chore(deps): various dependency upgrades +- _(deps)_ Cleanup resolutions - ([29a664e](https://github.com/f-eld-ch/sitrep/commit/29a664e5132ceb1f1d94b91a6b5794c3784381e2)) +- _(deps)_ Update rollup to 4.22.4 - ([8a7380e](https://github.com/f-eld-ch/sitrep/commit/8a7380e7e32636a6f37323b632e6063e328cfcc6)) +- Adds CODEOWNERS file - ([e1b842d](https://github.com/f-eld-ch/sitrep/commit/e1b842d4a76718651fc211906edf41aa21042cdc)) +- Update Changelog - ([505a014](https://github.com/f-eld-ch/sitrep/commit/505a014a6f0d94024583a174467ea811dbe80637)) -**Full Changelog**: https://github.com/RedGecko/sitrep/compare/v22.11.2...v23.1.0- chore(docker): add selinux compose file +## [24.9.0](https://github.com/f-eld-ch/sitrep/compare/v24.8.0..v24.9.0) - 2024-09-26 + +### ⛰️ Features + +- _(map)_ Improve map loading speed - ([27fee1c](https://github.com/f-eld-ch/sitrep/commit/27fee1c8cca78f5ee889ac116b4ad4269374ac4d)) +- _(map)_ Improve styling of railways and aeroways - ([6d17578](https://github.com/f-eld-ch/sitrep/commit/6d175783b4769cadfe5d935a3df2bf8b3151fe40)) +- _(map)_ Also adjust imagery map with new style - ([be1953d](https://github.com/f-eld-ch/sitrep/commit/be1953dad063ba48a9aac88e182f37940a5252c8)) +- _(map)_ Switch mapstyle to basemap vector tiles and enable housenumbers - ([9dbe2dc](https://github.com/f-eld-ch/sitrep/commit/9dbe2dc9ff227d35c1c4e96c2f796fa8a5bc0fa8)) +- _(translation)_ Update french translations ([#442](https://github.com/f-eld-ch/sitrep/issues/442)) - ([b0cd8f2](https://github.com/f-eld-ch/sitrep/commit/b0cd8f2b3e0ab332be486ccd27c3f08c7113531a)) + +### πŸ› Bug Fixes + +- _(map)_ Prevent that style switching causes map to not move anymore - ([231fab1](https://github.com/f-eld-ch/sitrep/commit/231fab15491605680824e5086fbea309d25fa127)) +- _(map)_ Improve map styling - ([0be9528](https://github.com/f-eld-ch/sitrep/commit/0be95289b28281b762175a187306992e8c4eba54)) + +### βš™οΈ Other + +- _(dependabot)_ Update dependabot configuration - ([78f1a38](https://github.com/f-eld-ch/sitrep/commit/78f1a38153af010d242c655dfcd99a0d440cdba8)) +- _(deps)_ Bump dompurify ([#435](https://github.com/f-eld-ch/sitrep/issues/435)) - ([1fe260b](https://github.com/f-eld-ch/sitrep/commit/1fe260b1e1599a0dc98a9c7d29458361e9378ce3)) +- _(deps)_ Bump react-i18next from 15.0.1 to 15.0.2 in /ui ([#433](https://github.com/f-eld-ch/sitrep/issues/433)) - ([d9cfb28](https://github.com/f-eld-ch/sitrep/commit/d9cfb2850d5039f176f569bafcf66cce2aa8e2ab)) +- _(deps)_ Bump i18next from 23.14.0 to 23.15.1 in /ui ([#428](https://github.com/f-eld-ch/sitrep/issues/428)) - ([65d5671](https://github.com/f-eld-ch/sitrep/commit/65d56713caef169e963666759e515ff35073a1ab)) +- _(deps)_ Bump react-router-dom from 6.26.1 to 6.26.2 in /ui ([#426](https://github.com/f-eld-ch/sitrep/issues/426)) - ([f63ff02](https://github.com/f-eld-ch/sitrep/commit/f63ff025f53d2eba8383ccdabb4e0744e1579947)) +- _(deps)_ Bump @apollo/client from 3.11.7 to 3.11.8 in /ui ([#422](https://github.com/f-eld-ch/sitrep/issues/422)) - ([1f32757](https://github.com/f-eld-ch/sitrep/commit/1f32757f46b7cb5b126896544e17901e6a36d451)) +- _(deps)_ Bump @apollo/client from 3.11.6 to 3.11.7 in /ui ([#419](https://github.com/f-eld-ch/sitrep/issues/419)) - ([875f948](https://github.com/f-eld-ch/sitrep/commit/875f9487a9f1ed99f005361538a89799d67758a0)) +- _(deps)_ Bump @apollo/client from 3.11.5 to 3.11.6 in /ui ([#417](https://github.com/f-eld-ch/sitrep/issues/417)) - ([10e2664](https://github.com/f-eld-ch/sitrep/commit/10e2664b5c6fae0e71a7e4e162e067e8545be0c0)) +- _(deps)_ Bump @apollo/client from 3.11.4 to 3.11.5 in /ui ([#411](https://github.com/f-eld-ch/sitrep/issues/411)) - ([5efe7be](https://github.com/f-eld-ch/sitrep/commit/5efe7be2a00f084cbc41f06d03920769e0470461)) +- _(deps)_ Bump @watergis/maplibre-gl-export in /ui ([#407](https://github.com/f-eld-ch/sitrep/issues/407)) - ([8c51d3d](https://github.com/f-eld-ch/sitrep/commit/8c51d3d821fc84f3f8e7372425f850c9b4f3f8fd)) +- _(deps)_ Bump micromatch ([#400](https://github.com/f-eld-ch/sitrep/issues/400)) - ([f93589a](https://github.com/f-eld-ch/sitrep/commit/f93589af303956bc28e526106c80cb8330dd6d94)) +- _(docker)_ Add selinux compose file - ([33d4c5f](https://github.com/f-eld-ch/sitrep/commit/33d4c5fbea7517f4ffe5c1d009d010b57f6cef4d)) + +## New Contributors ❀️ + +- @sebug made their first contribution in [#442](https://github.com/f-eld-ch/sitrep/pull/442) + +## [24.8.0](https://github.com/f-eld-ch/sitrep/compare/v24.6.0..v24.8.0) - 2024-08-23 + +### βš™οΈ Other + +- _(dependabot)_ Update dependabot configuration - ([1c0f161](https://github.com/f-eld-ch/sitrep/commit/1c0f1610f78015afbed7985c0164d0f1f3e49473)) +- _(dependabot)_ Update dependabot configuration - ([847d756](https://github.com/f-eld-ch/sitrep/commit/847d756316b3251af485e9b5e3c9d4e4e74c2604)) +- _(dependabot)_ Update dependabot configuration - ([dbfefae](https://github.com/f-eld-ch/sitrep/commit/dbfefae004d435407eb77453adf07701afe53ae1)) +- _(dependabot)_ Update dependabot configuration - ([936ad47](https://github.com/f-eld-ch/sitrep/commit/936ad470834f2a12f4d4138f5e562cc5a6ea9bed)) +- _(deps)_ Update to maplibre 4.5.2 ([#399](https://github.com/f-eld-ch/sitrep/issues/399)) - ([05b5f8c](https://github.com/f-eld-ch/sitrep/commit/05b5f8cfd504d1144ea991386dd7c1ebec9ecaea)) +- _(deps)_ Add vite 5.4.2 to resolutions - ([094b5ab](https://github.com/f-eld-ch/sitrep/commit/094b5abfa8244498cf254bdd1a093a47363c027e)) +- _(deps)_ Bump docker/build-push-action from 5 to 6 ([#389](https://github.com/f-eld-ch/sitrep/issues/389)) - ([65e3e2b](https://github.com/f-eld-ch/sitrep/commit/65e3e2b5f2596eabd4258e13abc145fff8e33ba6)) +- _(deps)_ Bump dayjs from 1.11.12 to 1.11.13 in /ui ([#391](https://github.com/f-eld-ch/sitrep/issues/391)) - ([ed03ba4](https://github.com/f-eld-ch/sitrep/commit/ed03ba488459cf4171fbad50a167c69cf318f3a7)) +- _(deps)_ Bump @watergis/maplibre-gl-export from 2.0.1 to 3.8.2 in /ui ([#382](https://github.com/f-eld-ch/sitrep/issues/382)) - ([8552298](https://github.com/f-eld-ch/sitrep/commit/855229851a2d1a85c64ac602326b6f7b82b42db1)) +- _(deps)_ Bump oauth2-proxy/oauth2-proxy from v7.5.1 to v7.6.0 ([#347](https://github.com/f-eld-ch/sitrep/issues/347)) - ([5d2d825](https://github.com/f-eld-ch/sitrep/commit/5d2d82514e8be5e433daee6466d5b5f6449776c3)) +- _(deps)_ Update yarn and easy dependencies ([#388](https://github.com/f-eld-ch/sitrep/issues/388)) - ([b127a15](https://github.com/f-eld-ch/sitrep/commit/b127a1554e6689ff21b915933ed9ffd8879ea4c2)) +- _(deps)_ Bump the npm_and_yarn group across 1 directory with 2 updates ([#368](https://github.com/f-eld-ch/sitrep/issues/368)) - ([e64e70d](https://github.com/f-eld-ch/sitrep/commit/e64e70dc06fce590d72f9806a82d473adff74e4d)) + +## [24.6.0](https://github.com/f-eld-ch/sitrep/compare/v24.2.3..v24.6.0) - 2024-05-28 + +### ⛰️ Features + +- _(ui)_ Enable DarkMode in UI ([#365](https://github.com/f-eld-ch/sitrep/issues/365)) - ([c0bdb9c](https://github.com/f-eld-ch/sitrep/commit/c0bdb9c11a8823d93ce4e8257fc5dfe758cef9e0)) + +### πŸ› Bug Fixes + +- _(ui)_ Adds missing autocomplete for email receiver details - ([beca908](https://github.com/f-eld-ch/sitrep/commit/beca9084247a2c91e1d1b1cc3e24bbbccc5d0ca0)) + +### βš™οΈ Other + +- _(deps)_ Upgrade yarn and other dependencies ([#364](https://github.com/f-eld-ch/sitrep/issues/364)) - ([b7a31fc](https://github.com/f-eld-ch/sitrep/commit/b7a31fc608a829cb9e321516327265d2fd5fdaaf)) +- _(deps)_ Bump ejs from 3.1.8 to 3.1.10 in /ui ([#362](https://github.com/f-eld-ch/sitrep/issues/362)) - ([57913d5](https://github.com/f-eld-ch/sitrep/commit/57913d5883949429518f5c09369065e43c8662dd)) +- _(deps)_ Bump tar from 6.1.12 to 6.2.1 in /ui ([#360](https://github.com/f-eld-ch/sitrep/issues/360)) - ([ba7f979](https://github.com/f-eld-ch/sitrep/commit/ba7f97998970c60eddcab03d50182096faecbf0e)) +- Update cleanup script - ([acf9dff](https://github.com/f-eld-ch/sitrep/commit/acf9dff8595e58fdd78ab14e779f23dbfca7117d)) + +## [24.2.3](https://github.com/f-eld-ch/sitrep/compare/v24.2.2..v24.2.3) - 2024-02-22 + +### ⛰️ Features + +- _(map)_ Improve icon text coloring and alignment ([#355](https://github.com/f-eld-ch/sitrep/issues/355)) - ([5a48958](https://github.com/f-eld-ch/sitrep/commit/5a4895844b3340f64ff59a0a5e87a2dfb7df3207)) +- _(map)_ Sync map to backend ([#354](https://github.com/f-eld-ch/sitrep/issues/354)) - ([f66d947](https://github.com/f-eld-ch/sitrep/commit/f66d947b22b0b5fbb9d6320d42be675e61624746)) + +### πŸ› Bug Fixes + +- _(graphql)_ Fix camelCase error in updateIncident mutation - ([f9a9314](https://github.com/f-eld-ch/sitrep/commit/f9a9314e844156e5a8c5ebe06980d40aa81f65a2)) + +## [24.2.2](https://github.com/f-eld-ch/sitrep/compare/v24.2.0..v24.2.2) - 2024-02-21 + +### ⛰️ Features + +- _(hasura)_ Update hasura to v2.37.0-ce ([#343](https://github.com/f-eld-ch/sitrep/issues/343)) - ([be245c2](https://github.com/f-eld-ch/sitrep/commit/be245c2a214a2bc1c12490737c3a3cedbc08956f)) +- _(map)_ Add custom style with B612 fonts to map ([#346](https://github.com/f-eld-ch/sitrep/issues/346)) - ([1111007](https://github.com/f-eld-ch/sitrep/commit/111100769ff1593943befae2d5cde9a7d91140f3)) +- _(service-worker)_ Add new service worker configuration - ([9effb2c](https://github.com/f-eld-ch/sitrep/commit/9effb2c48f2a9fa725304e2f3422f4d9fb45f01a)) +- _(translation)_ Translations update from Hosted Weblate ([#334](https://github.com/f-eld-ch/sitrep/issues/334)) - ([f2f6663](https://github.com/f-eld-ch/sitrep/commit/f2f666313155bca7a48f9e27d1aeea044d7f69e4)) +- _(ui)_ Add dedicated Login screen - ([b567ff1](https://github.com/f-eld-ch/sitrep/commit/b567ff13897def23dcbbfd2f90a0ef58b3fa45b9)) +- Feat_better incident name - ([4ffc6f9](https://github.com/f-eld-ch/sitrep/commit/4ffc6f9038cc1371a77764cfd9925515e1db5ffd)) +- Cleanup githooks - ([c9831ad](https://github.com/f-eld-ch/sitrep/commit/c9831ada7543d55f999be12e2234a8150bb33722)) +- Cleanup Hasura related files and move in individual subfolder ([#342](https://github.com/f-eld-ch/sitrep/issues/342)) - ([2f57e1c](https://github.com/f-eld-ch/sitrep/commit/2f57e1c637d1bc197c510f42a4f2b7bd2dabcdc2)) +- Migrate CRA to vite ([#341](https://github.com/f-eld-ch/sitrep/issues/341)) - ([30b8716](https://github.com/f-eld-ch/sitrep/commit/30b8716f6efe30d255f7e31c52e2fccc97450b3f)) +- Move ui to ui folder ([#340](https://github.com/f-eld-ch/sitrep/issues/340)) - ([6c550a8](https://github.com/f-eld-ch/sitrep/commit/6c550a83446388e7a904f89c8267d8405ad0080e)) + +### πŸ› Bug Fixes + +- _(map)_ Fix fonts on drawing layer - ([9e1c110](https://github.com/f-eld-ch/sitrep/commit/9e1c1105c92b65f88462dc732b2d784d6ca5bc5a)) +- _(sw)_ Switch to prompt based update - ([0781264](https://github.com/f-eld-ch/sitrep/commit/0781264d6752eb2f9e39b8a928a4ea16f0a16027)) +- _(sw)_ Add navigateFallbackDenylist for oauth2 and api - ([d8ee779](https://github.com/f-eld-ch/sitrep/commit/d8ee7790d9d009211365f0633f89eaa995a97b92)) +- Properly inject version information during build - ([0f182a4](https://github.com/f-eld-ch/sitrep/commit/0f182a4f1800d097b0e2232e730c58a44fa14a53)) + +### πŸ“š Documentation + +- Add example how to run with local dex IDP - ([7097be4](https://github.com/f-eld-ch/sitrep/commit/7097be426b7f1d71de785c1aecbba48911df2045)) +- Add note for weblate - ([4912b33](https://github.com/f-eld-ch/sitrep/commit/4912b336c9df067276866f26c11926d81ac17a2d)) + +### βš™οΈ Other + +- _(deps)_ Bump ip from 2.0.0 to 2.0.1 in /ui ([#351](https://github.com/f-eld-ch/sitrep/issues/351)) - ([e1e13b5](https://github.com/f-eld-ch/sitrep/commit/e1e13b59e23c2e99c0102a7286181dac4903ad71)) +- Database cleanup script for closed events - ([f3fe3a8](https://github.com/f-eld-ch/sitrep/commit/f3fe3a8bfdcc5b680fb164f52f627dc187aee1a6)) + +## New Contributors ❀️ + +- @weblate made their first contribution + +## [24.2.0](https://github.com/f-eld-ch/sitrep/compare/v24.1.1..v24.2.0) - 2024-02-02 + +### ⛰️ Features + +- _(map)_ Set initial bounding box of map - ([71e8bd1](https://github.com/f-eld-ch/sitrep/commit/71e8bd1dd1da5a3c677eecd833e5003f580d82e0)) +- _(map)_ Adds icon rotation lock - ([a6a00a1](https://github.com/f-eld-ch/sitrep/commit/a6a00a128685effa1df5b81922a9079bda1baacb)) +- _(map)_ Improve feature name editor selection - ([07f8a3b](https://github.com/f-eld-ch/sitrep/commit/07f8a3b6caac856ca355a0df038899658942c816)) +- _(map)_ Improve map drawing - ([f66ff47](https://github.com/f-eld-ch/sitrep/commit/f66ff471d7362e23dd76e408ba19b8eaeca65ab4)) +- _(map)_ Improve icon drawing mode - ([f072f51](https://github.com/f-eld-ch/sitrep/commit/f072f5182e21deb8167e6608472ad1e225a6fe5f)) +- _(map)_ Adds new icon controllers - ([ec4fee5](https://github.com/f-eld-ch/sitrep/commit/ec4fee54b5a7c60355f57c7931ab02723d15b7d8)) +- _(ui)_ Replace favicon - ([7643950](https://github.com/f-eld-ch/sitrep/commit/76439501b83d8d6eccc18253ed4ef9991108a32f)) +- _(ui)_ Change logo and footer styling - ([ede3612](https://github.com/f-eld-ch/sitrep/commit/ede361204ef04b550273347f7c89569f1e82b466)) +- _(ui)_ Adds clock to navbar - ([9647a8a](https://github.com/f-eld-ch/sitrep/commit/9647a8a6e1f2e9621ac8badd6ee47be579079c42)) + +### πŸ› Bug Fixes + +- _(map)_ Improve scaling of polygon fill pattern - ([d07765e](https://github.com/f-eld-ch/sitrep/commit/d07765eacd4333595a547ceb55e237307ac9631e)) +- _(map)_ Cleanup unused style layers - ([64d0a4f](https://github.com/f-eld-ch/sitrep/commit/64d0a4f83851f49584df65f6a6a5e378b1e44d42)) +- _(ui)_ Adjust styling of clock in Navbar - ([e105c4c](https://github.com/f-eld-ch/sitrep/commit/e105c4cab92f8ec2dbd7dfd8339c5c040d52d06a)) + +### βš™οΈ Other + +- Update github actions ([#332](https://github.com/f-eld-ch/sitrep/issues/332)) - ([20436c2](https://github.com/f-eld-ch/sitrep/commit/20436c2e449f63ee5e2838e1fc81666bd1283446)) +- Fix yarn configurations - ([53fb633](https://github.com/f-eld-ch/sitrep/commit/53fb633fa8c5828490b51e680ef245312a914487)) +- Update yarn - ([3c124f2](https://github.com/f-eld-ch/sitrep/commit/3c124f2945b99e88832c03ea18a5706994ee6ae8)) + +## [24.1.1](https://github.com/f-eld-ch/sitrep/compare/v24.1.0..v24.1.1) - 2024-01-28 + +### ⛰️ Features + +- _(map)_ Rework layer enrichment - ([0277fcf](https://github.com/f-eld-ch/sitrep/commit/0277fcf71079af8e1a5f09080a5e31f768f5b87b)) +- _(map)_ Enrich LineString start/endpoints - ([8314580](https://github.com/f-eld-ch/sitrep/commit/831458091594882c33e6415f949903993120ad8b)) + +## [24.1.0](https://github.com/f-eld-ch/sitrep/compare/v23.2.0..v24.1.0) - 2024-01-26 + +### ⛰️ Features + +- _(journal)_ Make autoscroll feed conditional - ([7e89ca4](https://github.com/f-eld-ch/sitrep/commit/7e89ca46b980c75fa0c465a16aeb1cd171792a6b)) +- _(journal)_ Scroll to top in feed on new messages - ([06c14df](https://github.com/f-eld-ch/sitrep/commit/06c14df8de15079df65f5d5bf4bb18a6c7121397)) +- _(ui)_ Switch to B612 font for better readability - ([d41b66d](https://github.com/f-eld-ch/sitrep/commit/d41b66dda62640d6fe7864eee5f894138ac6966c)) + +### πŸ› Bug Fixes + +- _(deps)_ Update dependencies and fix minor eslint errors - ([a454d71](https://github.com/f-eld-ch/sitrep/commit/a454d7155e8cddb44b0b7193feadbfd53bde607d)) +- _(deps)_ Relock dependencies - ([1d3ca52](https://github.com/f-eld-ch/sitrep/commit/1d3ca52a7734e2e40121ec290f38300003cdbbe0)) +- _(map)_ Downgrade maplibre-gl to v2 as it casuses some issues with v3 - ([f0b788c](https://github.com/f-eld-ch/sitrep/commit/f0b788c6f7156bd027c7ae6fb22522489bd223b2)) +- Fix cicd docker build - ([c68168e](https://github.com/f-eld-ch/sitrep/commit/c68168eac4a3af451f71dd1f085e004bf581e412)) +- Package.json & yarn.lock to reduce vulnerabilities ([#270](https://github.com/f-eld-ch/sitrep/issues/270)) - ([b4271d6](https://github.com/f-eld-ch/sitrep/commit/b4271d67eb42a7f6d214eb8fa941b1c0baac18ca)) +- Properly lock dependencyies on their minor version - ([1b74758](https://github.com/f-eld-ch/sitrep/commit/1b7475865c12e18a4cb2b83af3feb19dfa680aab)) +- Fix workflow - ([a9e4850](https://github.com/f-eld-ch/sitrep/commit/a9e48505789e6c47bf0ce82c633a97ffe6717a32)) +- Fix docker build for new yarn version - ([8afa6c4](https://github.com/f-eld-ch/sitrep/commit/8afa6c4de968681e86eca6f36d47781f87ec99a3)) + +### βš™οΈ Other + +- _(cicd)_ Update github workflows - ([b143f69](https://github.com/f-eld-ch/sitrep/commit/b143f6983e00da4d55185907d1cfd39e02a5606b)) +- _(dependabot)_ Update dependabot configuration - ([3f2666e](https://github.com/f-eld-ch/sitrep/commit/3f2666e4bd544d2af71e947affd9af75a936a3d3)) +- _(deps)_ Update version - ([82780c8](https://github.com/f-eld-ch/sitrep/commit/82780c8d874a25a919f5f7482261f55ca43b92cd)) +- _(deps)_ Update to react 18 - ([abdf046](https://github.com/f-eld-ch/sitrep/commit/abdf04611a912db4391d36818b173c633d749f3c)) +- _(deps)_ Update i18next, usehooks-ts and @types/node - ([001f555](https://github.com/f-eld-ch/sitrep/commit/001f5557ed542cef970ec94bffef06990e89fb17)) +- _(deps)_ Bump react-i18next from 12.3.1 to 14.0.0 ([#315](https://github.com/f-eld-ch/sitrep/issues/315)) - ([f5eca30](https://github.com/f-eld-ch/sitrep/commit/f5eca3076b06233427d079751a3290cf663fc433)) +- _(deps)_ Bump @adobe/css-tools from 4.3.1 to 4.3.2 ([#309](https://github.com/f-eld-ch/sitrep/issues/309)) - ([106ccd2](https://github.com/f-eld-ch/sitrep/commit/106ccd28960a60d2c701d13cb3fcfae62dd198f0)) +- _(deps)_ Bump follow-redirects from 1.15.2 to 1.15.4 ([#319](https://github.com/f-eld-ch/sitrep/issues/319)) - ([f7d24bf](https://github.com/f-eld-ch/sitrep/commit/f7d24bf07b9c32351115e3a7fecee99c305a4f41)) +- _(deps)_ Bump @apollo/client from 3.8.6 to 3.8.9 ([#320](https://github.com/f-eld-ch/sitrep/issues/320)) - ([ed4053b](https://github.com/f-eld-ch/sitrep/commit/ed4053b4e4c30193df9da969582f0d69fd1cc402)) +- _(deps)_ Bump @babel/traverse from 7.20.1 to 7.23.2 ([#277](https://github.com/f-eld-ch/sitrep/issues/277)) - ([d816924](https://github.com/f-eld-ch/sitrep/commit/d8169243be7666ce774d370cfff239de35f24744)) +- _(deps)_ Bump oauth2-proxy/oauth2-proxy from v7.5.0 to v7.5.1 ([#272](https://github.com/f-eld-ch/sitrep/issues/272)) - ([f5bd70a](https://github.com/f-eld-ch/sitrep/commit/f5bd70a71d947445093dfe76e4444085649c0ac9)) +- _(deps)_ Bump @testing-library/dom from 9.3.1 to 9.3.3 ([#267](https://github.com/f-eld-ch/sitrep/issues/267)) - ([45bb1ce](https://github.com/f-eld-ch/sitrep/commit/45bb1ce540106b076275cd8a97c5641febac9902)) +- _(deps)_ Bump dayjs from 1.11.8 to 1.11.10 ([#271](https://github.com/f-eld-ch/sitrep/issues/271)) - ([a791a3a](https://github.com/f-eld-ch/sitrep/commit/a791a3a54f54b467e6cbfdcbe8690e65b95da535)) +- _(deps)_ Bump @apollo/client from 3.8.1 to 3.8.6 ([#275](https://github.com/f-eld-ch/sitrep/issues/275)) - ([de8a424](https://github.com/f-eld-ch/sitrep/commit/de8a424eaae2e939158f19124285c05bbd866d11)) +- _(deps)_ Bump oauth2-proxy/oauth2-proxy from v7.4.0 to v7.5.0 ([#258](https://github.com/f-eld-ch/sitrep/issues/258)) - ([9417226](https://github.com/f-eld-ch/sitrep/commit/941722641193e4199d4f24d363a76d1100a2ea0b)) +- _(deps)_ Bump @svgr/webpack from 6.5.1 to 8.1.0 ([#255](https://github.com/f-eld-ch/sitrep/issues/255)) - ([86592ce](https://github.com/f-eld-ch/sitrep/commit/86592ce300d9e65bcd17db074168b89c38edfeea)) +- _(deps)_ Bump @watergis/mapbox-gl-export from 1.2.21 to 1.2.22 ([#256](https://github.com/f-eld-ch/sitrep/issues/256)) - ([9353956](https://github.com/f-eld-ch/sitrep/commit/9353956e2eb66267852c2726a0dd85e50dbe35b8)) +- _(deps)_ Bump react-router-dom from 6.11.0 to 6.15.0 ([#257](https://github.com/f-eld-ch/sitrep/issues/257)) - ([d060f7b](https://github.com/f-eld-ch/sitrep/commit/d060f7b9d27538977fb4ea5b4c7dc20fbea44f6b)) +- _(deps)_ Bump @testing-library/dom from 9.3.0 to 9.3.1 ([#250](https://github.com/f-eld-ch/sitrep/issues/250)) - ([7ca3184](https://github.com/f-eld-ch/sitrep/commit/7ca3184fe38edb607a85a6aabec2dde89f5663e4)) +- _(deps)_ Bump @apollo/client from 3.7.7 to 3.8.1 ([#252](https://github.com/f-eld-ch/sitrep/issues/252)) - ([39a1c93](https://github.com/f-eld-ch/sitrep/commit/39a1c93bd88f30c90793a37bb7d071f081134946)) +- _(deps)_ Bump i18next-browser-languagedetector from 7.0.1 to 7.1.0 ([#247](https://github.com/f-eld-ch/sitrep/issues/247)) - ([5913d91](https://github.com/f-eld-ch/sitrep/commit/5913d919bef044c7b39a253893a22b7adc1dbfab)) +- _(deps)_ Bump @fortawesome/free-regular-svg-icons ([#240](https://github.com/f-eld-ch/sitrep/issues/240)) - ([5888725](https://github.com/f-eld-ch/sitrep/commit/5888725d820c2b334d0c880105fda8ea45a75171)) +- _(deps)_ Update dependencies - ([558b9d4](https://github.com/f-eld-ch/sitrep/commit/558b9d4e7bdaf60766bd2966c8408025df0c4c83)) +- _(deps)_ Update semver to fix vulnerability - ([84c15d4](https://github.com/f-eld-ch/sitrep/commit/84c15d40fbbaa4aae57cf4c2da588cea1d2320e8)) +- _(deps)_ Bump @fortawesome/free-solid-svg-icons from 6.4.0 to 6.4.2 ([#244](https://github.com/f-eld-ch/sitrep/issues/244)) - ([d176a83](https://github.com/f-eld-ch/sitrep/commit/d176a83364450dda89081550d6a406cca5aa7362)) +- _(deps)_ Bump eslint from 8.41.0 to 8.48.0 ([#246](https://github.com/f-eld-ch/sitrep/issues/246)) - ([3474ce4](https://github.com/f-eld-ch/sitrep/commit/3474ce4dd3f287adc4f95f112faab058a8a49c93)) +- _(deps)_ Bump @fortawesome/fontawesome-svg-core from 6.4.0 to 6.4.2 ([#243](https://github.com/f-eld-ch/sitrep/issues/243)) - ([5a979f1](https://github.com/f-eld-ch/sitrep/commit/5a979f16f989b15fdefc0ecfff85ba964afff0c8)) +- _(deps)_ Bump graphql from 16.6.0 to 16.8.0 ([#245](https://github.com/f-eld-ch/sitrep/issues/245)) - ([4c1d4a2](https://github.com/f-eld-ch/sitrep/commit/4c1d4a2c23e257858bd25acae3d6cfecd191fd49)) +- _(deps)_ Bump @typescript-eslint/parser from 6.2.0 to 6.3.0 ([#236](https://github.com/f-eld-ch/sitrep/issues/236)) - ([07710e6](https://github.com/f-eld-ch/sitrep/commit/07710e639a3688cfab1a0a931e4ef059b6ae0363)) +- _(deps)_ Bump library/node from 18 to 20 ([#207](https://github.com/f-eld-ch/sitrep/issues/207)) - ([8a663d3](https://github.com/f-eld-ch/sitrep/commit/8a663d341f0d385fab4923b61e57cf3e9f96ec03)) +- _(deps)_ Bump tough-cookie from 4.1.2 to 4.1.3 ([#220](https://github.com/f-eld-ch/sitrep/issues/220)) - ([7128012](https://github.com/f-eld-ch/sitrep/commit/7128012dffc66e67d8f0da0a029579953f58c8ea)) +- _(deps)_ Bump react-i18next from 12.1.4 to 12.3.1 ([#208](https://github.com/f-eld-ch/sitrep/issues/208)) - ([a72c1cc](https://github.com/f-eld-ch/sitrep/commit/a72c1cc29279aee676fd41740556c4063586d8ed)) +- _(deps)_ Bump semver from 6.3.0 to 6.3.1 ([#225](https://github.com/f-eld-ch/sitrep/issues/225)) - ([fe2cb24](https://github.com/f-eld-ch/sitrep/commit/fe2cb243562f8ac4c1563f0a7e0dee40ef0c266b)) +- _(deps)_ Bump i18next from 22.4.9 to 23.2.11 ([#226](https://github.com/f-eld-ch/sitrep/issues/226)) - ([150ddba](https://github.com/f-eld-ch/sitrep/commit/150ddba2004504eb5bceace1b26523a6338b8e2f)) +- _(deps)_ Bump word-wrap from 1.2.3 to 1.2.4 ([#228](https://github.com/f-eld-ch/sitrep/issues/228)) - ([f624f72](https://github.com/f-eld-ch/sitrep/commit/f624f7241b14f689130ccfadaba999f702f8d9c0)) +- _(deps)_ Bump @typescript-eslint/parser from 5.59.9 to 6.2.0 ([#229](https://github.com/f-eld-ch/sitrep/issues/229)) - ([29fee63](https://github.com/f-eld-ch/sitrep/commit/29fee634ef03a5b43732b5606b9d5d364bcaec4f)) +- _(deps)_ Bump maplibre-gl from 2.4.0 to 3.2.1 ([#230](https://github.com/f-eld-ch/sitrep/issues/230)) - ([7f6bec9](https://github.com/f-eld-ch/sitrep/commit/7f6bec93f584579546b94f1711936e6aa22431cb)) +- _(deps)_ Bump dayjs from 1.11.7 to 1.11.8 ([#202](https://github.com/f-eld-ch/sitrep/issues/202)) - ([f24f7c7](https://github.com/f-eld-ch/sitrep/commit/f24f7c79ae53d4df5d98a173a1763b7bbde5b8c3)) +- _(deps)_ Bump web-vitals from 3.3.1 to 3.3.2 ([#203](https://github.com/f-eld-ch/sitrep/issues/203)) - ([97e9807](https://github.com/f-eld-ch/sitrep/commit/97e980763c50d79dbe38c1423e39c0a3ced472eb)) +- _(deps)_ Bump @typescript-eslint/parser from 5.59.8 to 5.59.9 ([#205](https://github.com/f-eld-ch/sitrep/issues/205)) - ([f8fc81f](https://github.com/f-eld-ch/sitrep/commit/f8fc81fec642a0be3e59221af7f7ad7cc00a59bc)) +- _(deps)_ Bump @fortawesome/free-solid-svg-icons from 6.2.1 to 6.4.0 ([#198](https://github.com/f-eld-ch/sitrep/issues/198)) - ([f0bc3db](https://github.com/f-eld-ch/sitrep/commit/f0bc3dbdb16ad34b7f3174969185863e894c617c)) +- _(deps)_ Bump react-markdown from 8.0.5 to 8.0.7 ([#197](https://github.com/f-eld-ch/sitrep/issues/197)) - ([4d287f1](https://github.com/f-eld-ch/sitrep/commit/4d287f11b8c2f1c7b51118c9f0c2dbdab6a0853f)) +- _(deps)_ Bump web-vitals from 3.1.1 to 3.3.1 ([#186](https://github.com/f-eld-ch/sitrep/issues/186)) - ([a28219b](https://github.com/f-eld-ch/sitrep/commit/a28219b9ab3e35ca5fdd3c71e15daca82aacb55d)) +- _(deps)_ Bump @fortawesome/free-regular-svg-icons ([#192](https://github.com/f-eld-ch/sitrep/issues/192)) - ([e110d66](https://github.com/f-eld-ch/sitrep/commit/e110d66d42fe54bb6e6e114f8f398a7432c5d8d5)) +- _(deps)_ Bump react-router-dom from 6.8.0 to 6.11.0 ([#193](https://github.com/f-eld-ch/sitrep/issues/193)) - ([723b547](https://github.com/f-eld-ch/sitrep/commit/723b5470fb3e77592f8291bcc8949faae4c8df88)) +- _(deps)_ Bump react-map-gl from 7.0.21 to 7.0.23 - ([032ffef](https://github.com/f-eld-ch/sitrep/commit/032ffef33566a731af9a9fb810d3e593e41dfcaf)) +- _(deps)_ Bump library/node from 19 to 20 - ([b005e13](https://github.com/f-eld-ch/sitrep/commit/b005e1385401368fc993f5def5b966ebbf4d8a64)) +- _(deps)_ Bump @fortawesome/fontawesome-svg-core from 6.2.1 to 6.4.0 ([#180](https://github.com/f-eld-ch/sitrep/issues/180)) - ([957f45f](https://github.com/f-eld-ch/sitrep/commit/957f45f399382786a8e04c5cc8811b9c59072e34)) +- _(deps)_ Bump webpack from 5.75.0 to 5.76.1 ([#175](https://github.com/f-eld-ch/sitrep/issues/175)) - ([d6a5cd6](https://github.com/f-eld-ch/sitrep/commit/d6a5cd650edf479747bcabb6b16760f736b09811)) +- _(deps)_ Bump @mapbox/mapbox-gl-draw from 1.3.0 to 1.4.1 ([#166](https://github.com/f-eld-ch/sitrep/issues/166)) - ([a6ecfea](https://github.com/f-eld-ch/sitrep/commit/a6ecfead4374efe8f5e13173b086f14206d2374d)) +- _(deps)_ Bump @apollo/client from 3.7.5 to 3.7.7 - ([408e637](https://github.com/f-eld-ch/sitrep/commit/408e637e0acfbd305b5bcddbd0fe106beacb5eca)) +- _(deps)_ Bump @apollo/client from 3.7.4 to 3.7.5 ([#154](https://github.com/f-eld-ch/sitrep/issues/154)) - ([431c012](https://github.com/f-eld-ch/sitrep/commit/431c0123db302d7c27b8919b7b89b84ee8ddd106)) +- _(deps)_ Bump react-router-dom from 6.4.3 to 6.8.0 ([#153](https://github.com/f-eld-ch/sitrep/issues/153)) - ([b710d3d](https://github.com/f-eld-ch/sitrep/commit/b710d3d528d53a96bea0dd8a5e1a273e949961f8)) +- _(deps)_ Bump web-vitals from 3.1.0 to 3.1.1 ([#151](https://github.com/f-eld-ch/sitrep/issues/151)) - ([00f420a](https://github.com/f-eld-ch/sitrep/commit/00f420a1ddcccfc7829760b8c2cc1aa9191cbdb4)) +- _(deps)_ Bump react-i18next from 12.0.0 to 12.1.4 ([#147](https://github.com/f-eld-ch/sitrep/issues/147)) - ([c573d21](https://github.com/f-eld-ch/sitrep/commit/c573d2171241104d5126efaf0a941069d27b994f)) +- _(deps)_ Bump react-markdown from 8.0.4 to 8.0.5 ([#145](https://github.com/f-eld-ch/sitrep/issues/145)) - ([0c13b23](https://github.com/f-eld-ch/sitrep/commit/0c13b239be22b2971ea96b5ef9937446a4333efd)) +- _(deps)_ Bump i18next from 22.0.6 to 22.4.9 ([#148](https://github.com/f-eld-ch/sitrep/issues/148)) - ([5c4ca84](https://github.com/f-eld-ch/sitrep/commit/5c4ca841f6c882085b7a2857f6cfd5f82ac0e674)) +- Fix local development environment to not proxy back from docker but proxy forward from node - ([41b8883](https://github.com/f-eld-ch/sitrep/commit/41b8883a587a47e5a44fce4bb85709082fe1cd6a)) +- Yarn use immutable - ([d9ccef0](https://github.com/f-eld-ch/sitrep/commit/d9ccef02c6e3b770152a25c45232f7f706f6e9d0)) +- Fix workflow - ([fd03d44](https://github.com/f-eld-ch/sitrep/commit/fd03d442445cd17b0bf81d2f5f38fe02314a8c3d)) +- Update yarn and dependencies - ([087e0db](https://github.com/f-eld-ch/sitrep/commit/087e0db593eeee5b8cd55aa084514006ffa2490d)) + +## [23.2.0](https://github.com/f-eld-ch/sitrep/compare/v23.1.0..v23.2.0) - 2023-02-02 + +## [23.1.0](https://github.com/f-eld-ch/sitrep/compare/v22.11.2..v23.1.0) - 2023-01-21 + +### πŸ› Bug Fixes + +- Adds migration to add other enum for medium - ([8a19b4e](https://github.com/f-eld-ch/sitrep/commit/8a19b4e2a435293a5b1d362f367dfcfde5906e66)) +- Use proper info in user navbar - ([ac356f2](https://github.com/f-eld-ch/sitrep/commit/ac356f26df61a7b1d53c5d3191a1a0681a8cc9eb)) + +### βš™οΈ Other + +- _(deps)_ Bump react-map-gl from 7.0.19 to 7.0.21 ([#143](https://github.com/f-eld-ch/sitrep/issues/143)) - ([d94eeb4](https://github.com/f-eld-ch/sitrep/commit/d94eeb4d7b835a709c2c075f6e8084ccb4eeebbb)) +- _(deps)_ Bump @apollo/client from 3.7.1 to 3.7.4 ([#142](https://github.com/f-eld-ch/sitrep/issues/142)) - ([755309a](https://github.com/f-eld-ch/sitrep/commit/755309a392665b86c998baa26d9d85848b827dfb)) +- _(deps)_ Bump dayjs from 1.11.6 to 1.11.7 ([#140](https://github.com/f-eld-ch/sitrep/issues/140)) - ([78b1ac5](https://github.com/f-eld-ch/sitrep/commit/78b1ac52595cc86534b693c62508f03d6faf6577)) +- _(deps)_ Bump json5 from 1.0.1 to 1.0.2 - ([a0fdf2e](https://github.com/f-eld-ch/sitrep/commit/a0fdf2e9305439ce2e7383153b595b6429b8e2c9)) +- _(deps)_ Bump react-markdown from 8.0.3 to 8.0.4 - ([5d6c141](https://github.com/f-eld-ch/sitrep/commit/5d6c14172c57facdadccd31db85df11c0e32a8bf)) +- _(docker-deps)_ Update hasura to v2.10.2 - ([c58ccd1](https://github.com/f-eld-ch/sitrep/commit/c58ccd13c7ee212fe5eefaa7d9aef3388df13024)) + +## [22.11.2](https://github.com/f-eld-ch/sitrep/compare/v22.11.1..v22.11.2) - 2022-11-24 + +### πŸ› Bug Fixes + +- Adds migration to add other enum for medium - ([8555f52](https://github.com/f-eld-ch/sitrep/commit/8555f52d5f19c240983b1108ee1eab320c2fe19b)) + +## [22.11.1](https://github.com/f-eld-ch/sitrep/compare/v22.11.0..v22.11.1) - 2022-11-23 + +### πŸ› Bug Fixes + +- Use proper info in user navbar - ([e94401b](https://github.com/f-eld-ch/sitrep/commit/e94401b2d7d420a087784af4534d8cef6aaed70a)) + +## [22.11.0](https://github.com/f-eld-ch/sitrep/compare/v22.10.1..v22.11.0) - 2022-11-17 + +### ⛰️ Features + +- Activate service worker and switch to browserrouter - ([5467b48](https://github.com/f-eld-ch/sitrep/commit/5467b487d9026736e4315871791046fead44d876)) +- Add initial version of CSP and refactor some inline styling - ([62f76e8](https://github.com/f-eld-ch/sitrep/commit/62f76e83e0a3529d120bcd5181867d6ed5990118)) + +### πŸ› Bug Fixes + +- Add polling for Incident and Journal list - ([255ce66](https://github.com/f-eld-ch/sitrep/commit/255ce6679fa736a11cb1b5dc701c78d2cfe9f1d7)) +- Hide unfinished task module - ([b67a6f6](https://github.com/f-eld-ch/sitrep/commit/b67a6f6aec9ac98938e76504f2c878dd048429c5)) +- Replace BrowserRouter with Hashrouter - ([6c8a55e](https://github.com/f-eld-ch/sitrep/commit/6c8a55e73d99b7b0793ee264cd0ee7e47f41865e)) +- Improve triage view visually - ([2f89798](https://github.com/f-eld-ch/sitrep/commit/2f897981ad78824e2eeec460099503f140badf86)) +- Fix version navbar - ([0b38ca3](https://github.com/f-eld-ch/sitrep/commit/0b38ca3256b69daeb10b6656154417b206bbae4d)) + +### βš™οΈ Other + +- _(deps)_ Update i18next from 22.0.5 to 22.0.6 - ([b1bf8b4](https://github.com/f-eld-ch/sitrep/commit/b1bf8b4f8f9dc56731e793a20ce31681470383af)) +- _(deps)_ Update i18next-browser-languagedetector from 6.1.8 to 7.0.1 - ([5f1a0ee](https://github.com/f-eld-ch/sitrep/commit/5f1a0ee96948864030702261d7409fe62a495e63)) +- _(deps)_ Update react-i18next from 11.18.6 to 12.0.0 - ([ae1f5c6](https://github.com/f-eld-ch/sitrep/commit/ae1f5c61b4f8cd30f2f13e04c524529617f74430)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.42.1 to 5.43.0 - ([e990ba7](https://github.com/f-eld-ch/sitrep/commit/e990ba721cb066d04004620c1e9735d8e2492e50)) +- _(deps)_ Update usehooks-ts from 2.7.2 to 2.9.1 - ([0a1ac4a](https://github.com/f-eld-ch/sitrep/commit/0a1ac4a88a0a707930ebf4973bbbf3615af52f56)) +- _(deps)_ Update loader-utils from 2.0.2 to 2.0.3 - ([2f9958d](https://github.com/f-eld-ch/sitrep/commit/2f9958daf88a795286544a798fee898041083b17)) +- _(deps)_ Update web-vitals from 3.0.3 to 3.0.4 - ([80576cb](https://github.com/f-eld-ch/sitrep/commit/80576cb2aa682afb27b9e69e37aba0d0f0d7ab75)) +- _(deps)_ Update @types/jest from 29.1.2 to 29.2.2 - ([a90d598](https://github.com/f-eld-ch/sitrep/commit/a90d598f1503bcc108bb6b02b5135dfccd2df000)) +- _(deps)_ Update library/node from 18 to 19 - ([23bd701](https://github.com/f-eld-ch/sitrep/commit/23bd7019443f0fe74b251e156d0f91df7fcfbf40)) +- _(deps)_ Update @watergis/mapbox-gl-export from 1.2.18 to 1.2.21 - ([d9db5b2](https://github.com/f-eld-ch/sitrep/commit/d9db5b267c19c5dc1e038722acb8e26af111fe34)) +- _(deps)_ Update web-vitals from 3.0.2 to 3.0.3 - ([6a4cb95](https://github.com/f-eld-ch/sitrep/commit/6a4cb95d492c5f5f185a857cdea71a96c3ddc2c3)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.39.0 to 5.40.1 - ([09b3cbe](https://github.com/f-eld-ch/sitrep/commit/09b3cbe5b4dc35a63e7942bffd4597ec02077c12)) +- _(deps)_ Update @types/jest from 29.1.1 to 29.1.2 - ([fc5b34d](https://github.com/f-eld-ch/sitrep/commit/fc5b34de8e7e7b9129fea6c531abbc5ba26a283d)) +- _(deps)_ Update react-router-dom from 6.4.1 to 6.4.2 - ([ef53290](https://github.com/f-eld-ch/sitrep/commit/ef53290f9da723b520c8d272ed2f18c2c696e901)) +- _(deps)_ Update i18next from 21.9.2 to 21.10.0 - ([c424338](https://github.com/f-eld-ch/sitrep/commit/c4243380ec2d98a2c4eb7aecd9d1f4a9b8d90d0e)) +- Image version should use versions first - ([a9d9b0a](https://github.com/f-eld-ch/sitrep/commit/a9d9b0a7e4e312e868f64044c96e814588518107)) +- Adds explicit develop version for gh action - ([d653158](https://github.com/f-eld-ch/sitrep/commit/d6531587b51310c5217d7c154cde37de72f657b9)) +- Adjust image tagging for gh action - ([21935cc](https://github.com/f-eld-ch/sitrep/commit/21935cc240c6b50c2806dd21f00746353749b574)) + +### Security + +- Update i18next library - ([4fac4d9](https://github.com/f-eld-ch/sitrep/commit/4fac4d9fa72c95fd8d688b31e78f064243871007)) +- Upgrade oauth2-proxy to 7.4.0, closes #106 - ([6a79342](https://github.com/f-eld-ch/sitrep/commit/6a7934224e17140124251de9e05047bdec630680)) +- Update dependencies to fix minimatch ReDoS - ([45792bc](https://github.com/f-eld-ch/sitrep/commit/45792bcadd5603c0a3577742084414b9e0b6bc86)) + +## [22.10.1](https://github.com/f-eld-ch/sitrep/compare/v22.10.0..v22.10.1) - 2022-10-10 + +### πŸ› Bug Fixes + +- Fix divisions permissions - ([ed3e992](https://github.com/f-eld-ch/sitrep/commit/ed3e992c9dafaa486113c3bf43f1bb2ae51d2a5b)) + +### βš™οΈ Other + +- _(deps)_ Update @types/node from 18.7.23 to 18.8.0 - ([e86df9a](https://github.com/f-eld-ch/sitrep/commit/e86df9acca1d9ceaeb7ccd27278ae411117f550c)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.38.1 to 5.39.0 - ([0bf229b](https://github.com/f-eld-ch/sitrep/commit/0bf229b2cca39f8c086a7d69bb12535e7cd15a69)) +- _(deps)_ Update @types/jest from 29.0.3 to 29.1.1 - ([edc8108](https://github.com/f-eld-ch/sitrep/commit/edc81088f5c5cac77e777456524d795199ea163c)) +- _(deps)_ Update sass from 1.54.9 to 1.55.0 - ([84062d2](https://github.com/f-eld-ch/sitrep/commit/84062d2266e6acb221e76dc870e291e582504b81)) +- _(deps)_ Update usehooks-ts from 2.7.0 to 2.7.2 - ([cf5a02f](https://github.com/f-eld-ch/sitrep/commit/cf5a02fd11d4351eab869ee78f0c1f642bc4b5d2)) + +## [22.10.0](https://github.com/f-eld-ch/sitrep/compare/v22.0.1..v22.10.0) - 2022-10-10 + +### πŸ› Bug Fixes + +- Fix divisions permissions for viewer - ([f3652ca](https://github.com/f-eld-ch/sitrep/commit/f3652ca1c074841af2d9da4d9a1582d72b235031)) +- Fix polygon styling - ([042bc7b](https://github.com/f-eld-ch/sitrep/commit/042bc7b37bd3925d436782e93669d68afe4d8dd5)) +- Fix polygon fill for Einsatzraum and Schadengebiet - ([eeb644b](https://github.com/f-eld-ch/sitrep/commit/eeb644b069219164270627431a03e4157e6b5fc8)) +- Fix map drawing feature detail editor - ([def1e24](https://github.com/f-eld-ch/sitrep/commit/def1e24ccee13dfbfcbc4857f4eab90bf43c0af3)) +- Fix uppercase/lowercase typos - ([46bf567](https://github.com/f-eld-ch/sitrep/commit/46bf567cd39c265a48db2fc6559830fb61f470b6)) +- Fix feature combination and improve pattern styling - ([257e381](https://github.com/f-eld-ch/sitrep/commit/257e381f151cb6975b1a12565e92e673a6f3a324)) +- Fix icon rotation assignment - ([6d7776a](https://github.com/f-eld-ch/sitrep/commit/6d7776af12532cc811b2cb9d5304c170de510161)) +- Fix editor reducer to be pure - ([693d321](https://github.com/f-eld-ch/sitrep/commit/693d321e85ffe87f103e5b80f0b5d2a6d91badae)) +- Fix Editor handling media types - ([e5e2f7b](https://github.com/f-eld-ch/sitrep/commit/e5e2f7bb5434de72379803d9bd5906b0b819f835)) +- Fix hasura naming convention issues - ([f26ca40](https://github.com/f-eld-ch/sitrep/commit/f26ca40dec5d8c93463b18c9bad1005ab7bad752)) +- Fix gap issue with Message List - ([c425357](https://github.com/f-eld-ch/sitrep/commit/c425357c9a43f214823dd0caad17c4541d37395c)) +- Fix NavBar - ([1be0747](https://github.com/f-eld-ch/sitrep/commit/1be074753cc544ba586a1cd804f132669e5cf8d8)) +- Fix some capitalization issues from translation - ([dfcb6db](https://github.com/f-eld-ch/sitrep/commit/dfcb6db12afd40064d7c7796af9f30ed72e91a2c)) +- Fix remaining translation error - ([f9cf55e](https://github.com/f-eld-ch/sitrep/commit/f9cf55ee10694a964efc9d8d64a487b85e6ae7db)) +- Fix some translations - ([3b8f874](https://github.com/f-eld-ch/sitrep/commit/3b8f874d47c93b6847862a75b9221de81e767c39)) +- Fix vulnerabilities - ([6556dbe](https://github.com/f-eld-ch/sitrep/commit/6556dbedcb7b8456db004332c1c57df10c5b477a)) + +### 🚜 Refactor + +- Refactor editor components and introduce other medium - ([aa2d031](https://github.com/f-eld-ch/sitrep/commit/aa2d0310b3ce42dcc9ff1b16e1f9fe235f6d061d)) +- Refactor Journal editor with reducer pattern + +Details: + +- this is preparation work for supporting several distinct editors for + the Medium (Phone, Email, Radio, etc). +- The Editor parent component is creating and managing the state with + the use of a state,dispatch context. +- The child objects, i.e. the radioInput form may reuse the context with + the state and use the dispatch function to dispatch input state change + events. - ([1c66a5d](https://github.com/f-eld-ch/sitrep/commit/1c66a5dfdc19a4c3ab5774ab6fe6b1ef2f325b80)) + +### βš™οΈ Other + +- _(dependabot)_ Update dependabot configuration - ([87a855f](https://github.com/f-eld-ch/sitrep/commit/87a855fc0f7b2a22139f0cd12ba1a1502c66e5b3)) +- _(deps)_ Update @types/node from 18.7.18 to 18.7.23 - ([d7125f0](https://github.com/f-eld-ch/sitrep/commit/d7125f0e2a9683713ded2e8838e1ab5516535db9)) +- _(deps)_ Update source-map-explorer from 2.5.2 to 2.5.3 - ([79c4b28](https://github.com/f-eld-ch/sitrep/commit/79c4b283863e396765c6ed7367cb7f1e9583009f)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.38.0 to 5.38.1 - ([784add3](https://github.com/f-eld-ch/sitrep/commit/784add35b5faad979f83b046e20cfe67ccd6a49f)) +- _(deps)_ Update react-router-dom from 6.4.0 to 6.4.1 - ([6418697](https://github.com/f-eld-ch/sitrep/commit/6418697122be249f327689737520fa236fe15b37)) +- _(deps)_ Update @types/lodash from 4.14.185 to 4.14.186 - ([ebb2a5d](https://github.com/f-eld-ch/sitrep/commit/ebb2a5d4b084dd813116e421cf29b4a06ad100a5)) +- _(deps)_ Update @apollo/client from 3.6.9 to 3.7.0 - ([d20ffe2](https://github.com/f-eld-ch/sitrep/commit/d20ffe2471c1a28b03d8ec0ac1765ef9e6ddb760)) +- _(deps)_ Update typescript from 4.8.3 to 4.8.4 - ([457e2aa](https://github.com/f-eld-ch/sitrep/commit/457e2aa748cfb212bc2ddd1c46b6d74de4e8d17c)) +- _(deps)_ Update @types/lodash from 4.14.184 to 4.14.185 - ([c9aa5ff](https://github.com/f-eld-ch/sitrep/commit/c9aa5ff6bc1cafd52e33543b0ded4b3ae8d55c9f)) +- _(deps)_ Update usehooks-ts from 2.6.0 to 2.7.0 - ([60b3ccb](https://github.com/f-eld-ch/sitrep/commit/60b3ccb14b8d7f62fedab401574ccb11848e62a5)) +- _(deps)_ Update @types/node from 18.7.15 to 18.7.18 - ([7cc1e9a](https://github.com/f-eld-ch/sitrep/commit/7cc1e9a3f2bdf8193f7f11a850b23dad6c53f059)) +- _(deps)_ Update typescript from 4.8.2 to 4.8.3 - ([a18fd3f](https://github.com/f-eld-ch/sitrep/commit/a18fd3f6b1d8cd0098cae1d6b4ca4f68b9ddae77)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.36.2 to 5.38.0 - ([eeedb08](https://github.com/f-eld-ch/sitrep/commit/eeedb083e8c82a307fa4f56af0143d3f7186ed20)) +- _(deps)_ Update @types/jest from 29.0.0 to 29.0.3 - ([47793ba](https://github.com/f-eld-ch/sitrep/commit/47793ba8c8ce8692e54f46cb5728fa1d73d559e6)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.36.1 to 5.36.2 - ([100f9e1](https://github.com/f-eld-ch/sitrep/commit/100f9e19a70733192b0abf49c2e09edf5f974b9e)) +- _(deps)_ Update @types/node from 18.7.14 to 18.7.15 - ([d14b338](https://github.com/f-eld-ch/sitrep/commit/d14b338e3b65cd3e898600526c2136f6b325da91)) +- _(deps)_ Update @fortawesome/free-regular-svg-icons from 6.1.2 to 6.2.0 - ([5a459c1](https://github.com/f-eld-ch/sitrep/commit/5a459c19a3af3c78cd9a817fb95b8adf1bbd56e0)) +- _(deps)_ Update @fortawesome/free-solid-svg-icons from 6.1.2 to 6.2.0 - ([8c17f11](https://github.com/f-eld-ch/sitrep/commit/8c17f117392b247cfdb829e921d710a3abca0c3a)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.36.0 to 5.36.1 - ([4917dbe](https://github.com/f-eld-ch/sitrep/commit/4917dbef60b3bc97a3e9b04bbb4f8923c2a48692)) +- _(deps)_ Update react-i18next from 11.18.4 to 11.18.5 - ([37b08c7](https://github.com/f-eld-ch/sitrep/commit/37b08c7a711bd9843c53d98d3aaffb1467252cca)) +- _(deps)_ Update @fortawesome/fontawesome-svg-core from 6.1.2 to 6.2.0 - ([950e6fb](https://github.com/f-eld-ch/sitrep/commit/950e6fbb0b1de8cb94507e3111375f673c57a0e8)) +- _(deps)_ Update @types/node from 18.7.10 to 18.7.14 - ([6dac129](https://github.com/f-eld-ch/sitrep/commit/6dac12916047b6cddbb9d7f59cb0851e21b8d47d)) +- _(deps)_ Update sass from 1.54.5 to 1.54.8 - ([dca2184](https://github.com/f-eld-ch/sitrep/commit/dca218444c5b25766e23b0e4a3d986e3fe8b2852)) +- _(deps)_ Update web-vitals from 2.1.4 to 3.0.1 - ([cd7fc8e](https://github.com/f-eld-ch/sitrep/commit/cd7fc8e30d6289f523ffdd23d3bb99efc36b9336)) +- _(deps)_ Update web-vitals from 2.1.4 to 3.0.0 - ([d504b24](https://github.com/f-eld-ch/sitrep/commit/d504b24b4449aeaed4038b5e672ccbe32b9193a9)) +- _(deps)_ Update @types/jest from 28.1.7 to 29.0.0 - ([e896790](https://github.com/f-eld-ch/sitrep/commit/e89679008e311ff5bdb9a20eaa29ddc267c8d875)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.34.0 to 5.36.0 - ([43f8572](https://github.com/f-eld-ch/sitrep/commit/43f85727d89276ac2e075e8b271d08b77a3531e3)) +- _(deps)_ Update maplibre-gl from 2.3.0 to 2.4.0 - ([db373eb](https://github.com/f-eld-ch/sitrep/commit/db373eb18d1ef99b853c6e4196c997a89afb23a6)) +- _(deps)_ Update typescript from 4.7.4 to 4.8.2 - ([aeed16c](https://github.com/f-eld-ch/sitrep/commit/aeed16cdf62a5050f06decffe647005f181b9fa4)) +- _(deps)_ Update @types/node from 18.7.9 to 18.7.10 - ([b519488](https://github.com/f-eld-ch/sitrep/commit/b519488257b699275d73d0b53b78299a0e73804d)) +- _(deps)_ Update @types/node from 18.7.6 to 18.7.9 - ([90208a4](https://github.com/f-eld-ch/sitrep/commit/90208a47bfa3810fc95e37d71e0811eab5355934)) +- _(deps)_ Update @typescript-eslint/eslint-plugin from 5.33.1 to 5.34.0 - ([f0c132e](https://github.com/f-eld-ch/sitrep/commit/f0c132ea1d7acb5baf28434a06cbeef4c8d97870)) +- _(deps)_ Update sass from 1.54.4 to 1.54.5 - ([6634ddc](https://github.com/f-eld-ch/sitrep/commit/6634ddcea3e074ecfc4e0b2b1f6df668fe9521db)) +- _(deps)_ Update graphql from 16.5.0 to 16.6.0 - ([2c0680c](https://github.com/f-eld-ch/sitrep/commit/2c0680c19d38cca55c3a692292341cc66b324cc3)) +- _(deps)_ Update @types/lodash from 4.14.182 to 4.14.183 - ([cee39dc](https://github.com/f-eld-ch/sitrep/commit/cee39dc2674f7b95c303ac894b470796ea8eedab)) +- _(deps)_ Update graphql from 16.5.0 to 16.6.0 - ([248e994](https://github.com/f-eld-ch/sitrep/commit/248e994237d7d78e3efd4057de26de09c2274f95)) +- _(deps)_ Update @types/node from 18.7.5 to 18.7.6 - ([cfb609f](https://github.com/f-eld-ch/sitrep/commit/cfb609fc182ed849ca1f15e96b1be578d38d0714)) +- _(deps)_ Update i18next from 21.9.0 to 21.9.1 - ([5398edd](https://github.com/f-eld-ch/sitrep/commit/5398edd7e4b0fb2b5ae82f8d57c2ccea6b0569cb)) +- _(deps)_ Update @testing-library/user-event from 13.5.0 to 14.4.3 - ([19296cf](https://github.com/f-eld-ch/sitrep/commit/19296cf2d7814f96508f2741c064dbb059648782)) +- _(deps)_ Update library/node from 16 to 18 - ([a8be265](https://github.com/f-eld-ch/sitrep/commit/a8be265cd597f4c4c136254c757d6b7956757c1e)) +- _(deps)_ Update @types/jest from 27.5.2 to 28.1.7 - ([12d86d9](https://github.com/f-eld-ch/sitrep/commit/12d86d997944203b84a0975eb1e9b542f96b8b99)) +- _(deps)_ Update @types/node from 17.0.45 to 18.7.5 - ([5cebc60](https://github.com/f-eld-ch/sitrep/commit/5cebc60e46bbef60dd393fe9d6089125326eba9a)) + +## [22.0.1](https://github.com/f-eld-ch/sitrep/compare/v22.0.0..v22.0.1) - 2022-08-15 + +## [22.0.0] - 2022-08-15 + +### πŸ› Bug Fixes + +- Fix version - ([783df5f](https://github.com/f-eld-ch/sitrep/commit/783df5fc4d26f8f1b36bb4f0c3ad2f01c11d6573)) +- Fix revisions - ([3d0930c](https://github.com/f-eld-ch/sitrep/commit/3d0930cc0cbb9ff912b5657b221f54ca8cbc32d6)) +- Fix docker build - ([2bd2048](https://github.com/f-eld-ch/sitrep/commit/2bd2048e1a488d8dba97da4d016aa2e2e6c0e22b)) +- Fix docker build - ([b4d3337](https://github.com/f-eld-ch/sitrep/commit/b4d3337527a9e0756d4a9b9eae30431b7938ebc7)) +- Fix version handling - ([67ddd3d](https://github.com/f-eld-ch/sitrep/commit/67ddd3dd391e112df7dc83af6d1306a0ae3c2311)) +- Fix incident editing - ([1737b82](https://github.com/f-eld-ch/sitrep/commit/1737b821392eb3e18693951118582a09da03cbbd)) +- Fix navbar on top - ([1f10e9a](https://github.com/f-eld-ch/sitrep/commit/1f10e9ab4868b86bc79afccac79396b7603113aa)) +- Fix tests - ([130e769](https://github.com/f-eld-ch/sitrep/commit/130e76985beef300019748b573ad65d0d2e49fb5)) +- Fix wrong trigger on journals - ([31864ba](https://github.com/f-eld-ch/sitrep/commit/31864ba2b8335a55f6b3d2bfe9b8098e4e0b0607)) +- Fix users trigger - ([9151461](https://github.com/f-eld-ch/sitrep/commit/9151461d34df3c487efa0b6f4aa818206f40c5b9)) +- Fix message permissions - ([e862119](https://github.com/f-eld-ch/sitrep/commit/e862119bedadf1d4d1979ac8da6493552c02df19)) +- Fix image name in docker workflow - ([6735a13](https://github.com/f-eld-ch/sitrep/commit/6735a1310088cd67e86be967bee6afabd589fc14)) +- Fix moreinfo triage_status in migrations - ([69de56d](https://github.com/f-eld-ch/sitrep/commit/69de56d56174882d03e9b61b4c65d4761f8e7e9a)) +- Package.json & yarn.lock to reduce vulnerabilities - ([0c21582](https://github.com/f-eld-ch/sitrep/commit/0c215823e2e3c816bedf20a74149e101871077c1)) +- Upgrade lodash from 4.17.20 to 4.17.21 - ([30fd7e7](https://github.com/f-eld-ch/sitrep/commit/30fd7e76d5ead6570376faed933e798dfc1802d1)) +- Upgrade bulma from 0.9.2 to 0.9.3 - ([e012065](https://github.com/f-eld-ch/sitrep/commit/e012065f8f658d1546c947d4988b1d52b3b9dc97)) +- Upgrade multiple dependencies with Snyk - ([8231e26](https://github.com/f-eld-ch/sitrep/commit/8231e26ff13f96a3f76bd199afebbc0efe92a8d1)) +- Upgrade @apollo/client from 3.5.7 to 3.5.8 - ([eb560d0](https://github.com/f-eld-ch/sitrep/commit/eb560d0fc6c922e522bcf1bcdb342582cfc5227a)) +- Upgrade web-vitals from 1.1.0 to 1.1.2 - ([6bf0fe7](https://github.com/f-eld-ch/sitrep/commit/6bf0fe7fe7bfc0e6e12270984d2c9e55ef1726ee)) +- Upgrade @testing-library/react from 11.2.5 to 11.2.7 - ([df04afa](https://github.com/f-eld-ch/sitrep/commit/df04afacaa0ffb8e36ae129d8e18b5b31c68a89e)) +- Upgrade classnames from 2.2.6 to 2.3.1 - ([9844f6e](https://github.com/f-eld-ch/sitrep/commit/9844f6e9e475cf9d0cea5adcdd7808f354b6d388)) +- Upgrade react-router-dom from 5.2.0 to 5.3.0 - ([155e5c8](https://github.com/f-eld-ch/sitrep/commit/155e5c8c029cfa12d978df953bb86ffcb2c151ac)) +- Upgrade multiple dependencies with Snyk - ([3fd3e5e](https://github.com/f-eld-ch/sitrep/commit/3fd3e5e200092c1b6ff3f1e6a46ddf029a8457a7)) +- Upgrade @types/node from 14.18.5 to 14.18.9 - ([f654ad2](https://github.com/f-eld-ch/sitrep/commit/f654ad25f7c8016133627082786ead0eae68f594)) +- Upgrade @testing-library/user-event from 12.7.1 to 12.8.3 - ([a41a41e](https://github.com/f-eld-ch/sitrep/commit/a41a41ee8345eb20c01d8b97e808850f25b517e3)) +- Upgrade @testing-library/jest-dom from 5.11.9 to 5.16.1 - ([8f20b83](https://github.com/f-eld-ch/sitrep/commit/8f20b83dd4dc7a1286433e4d3a1704d82d4c1145)) +- Upgrade graphql from 15.5.0 to 15.8.0 - ([1b8e2ae](https://github.com/f-eld-ch/sitrep/commit/1b8e2ae433b1069638d6746d75c021fe4aa2ee98)) +- Upgrade @types/jest from 26.0.20 to 26.0.24 - ([31df133](https://github.com/f-eld-ch/sitrep/commit/31df133b2553922338ed3c2ef412853396b4bcc5)) +- Upgrade dayjs from 1.10.4 to 1.10.7 - ([79d5cc1](https://github.com/f-eld-ch/sitrep/commit/79d5cc139aac3528f432581bb90970da908b0ba7)) +- Upgrade typescript from 4.1.5 to 4.5.4 - ([1c5e7c7](https://github.com/f-eld-ch/sitrep/commit/1c5e7c79dab5f5ed0325e6fd666581c4644e0dea)) +- Upgrade @types/react from 17.0.2 to 17.0.37 - ([3ff8437](https://github.com/f-eld-ch/sitrep/commit/3ff8437fafffd52df0680b4015a4faf4f8c734b6)) +- Upgrade @types/node from 14.14.28 to 14.18.2 - ([84e7b6b](https://github.com/f-eld-ch/sitrep/commit/84e7b6b4aa24bdabe30c782ed350757ec5afaa45)) +- Upgrade @types/react-dom from 17.0.1 to 17.0.11 - ([faefaa9](https://github.com/f-eld-ch/sitrep/commit/faefaa90c740dd6b55826db9fd03ae849428c94e)) +- Upgrade @apollo/client from 3.3.11 to 3.5.6 - ([3cd66de](https://github.com/f-eld-ch/sitrep/commit/3cd66dea494c81492ee2391892cfbe05d9be34ee)) + +### βš™οΈ Other + +- Various upgrades - ([56eb1e7](https://github.com/f-eld-ch/sitrep/commit/56eb1e7cd1f156cc34b7a56c3ac82cd955ce1825)) + +## New Contributors ❀️ + +- @snyk-bot made their first contribution + +Made with β™₯️ in Switzerland by F-ELD diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 00000000..69688b21 --- /dev/null +++ b/cliff.toml @@ -0,0 +1,121 @@ +# git-cliff ~ configuration file +# https://git-cliff.org/docs/configuration +# +# Lines starting with "#" are comments. +# Configuration options are organized into tables and keys. +# See documentation for more information on available options. + +[remote.github] +owner = "f-eld-ch" +repo = "sitrep" + +[changelog] +# template for the changelog body +# https://keats.github.io/tera/docs/#introduction +body = """ +{%- macro remote_url() -%} + https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }} +{%- endmacro -%} + +{% macro print_commit(commit) -%} + - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\ + {% if commit.breaking %}[**breaking**] {% endif %}\ + {{ commit.message | upper_first }} - \ + ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ +{% endmacro -%} + +{% if version %}\ + {% if previous.version %}\ + ## [{{ version | trim_start_matches(pat="v") }}]\ + ({{ self::remote_url() }}/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }} + {% else %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + {% endif %}\ +{% else %}\ + ## [unreleased] +{% endif %}\ + +{% for group, commits in commits | group_by(attribute="group") %} + ### {{ group | striptags | trim | upper_first }} + {% for commit in commits + | filter(attribute="scope") + | sort(attribute="scope") %} + {{ self::print_commit(commit=commit) }} + {%- endfor %} + {% for commit in commits %} + {%- if not commit.scope -%} + {{ self::print_commit(commit=commit) }} + {% endif -%} + {% endfor -%} +{% endfor -%} +{%- if github -%} +{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %} + ## New Contributors ❀️ +{% endif %}\ +{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %} + * @{{ contributor.username }} made their first contribution + {%- if contributor.pr_number %} in \ + [#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \ + {%- endif %} +{%- endfor -%} +{%- endif %} + + +""" +# template for the changelog footer +footer = """ +Made with β™₯️ in Switzerland by F-ELD +""" +# remove the leading and trailing whitespace from the templates +trim = true + +[git] +# parse the commits based on https://www.conventionalcommits.org +conventional_commits = true +# filter out the commits that are not conventional +filter_unconventional = false +# process each line of a commit as an individual commit +split_commits = false +# regex for preprocessing the commit messages +commit_preprocessors = [ + { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/f-eld-ch/sitrep/issues/${2}))" }, + { pattern = '^Update dependabot\.yml', replace = "chore(dependabot): update dependabot configuration" }, + { pattern = '^Bump', replace = "chore(deps): update" }, + { pattern = '^Update French Translations', replace = "feat(translation): update french translations" }, + # Check spelling of the commit with https://github.com/crate-ci/typos + # If the spelling is incorrect, it will be automatically fixed. + #{ pattern = '.*', replace_command = 'typos --write-changes -' }, +] + +# regex for parsing and grouping commits +commit_parsers = [ + { message = "^feat", group = "⛰️ Features" }, + { body = "^chore\\(security\\):|^security: ", group = "πŸ›‘οΈ Security" }, + { message = "^fix", group = "πŸ› Bug Fixes" }, + { message = "^doc", group = "πŸ“š Documentation" }, + { message = "^perf", group = "⚑ Performance" }, + { message = "^refactor", group = "🚜 Refactor" }, + { message = "^style", group = "🎨 Styling" }, + { message = "^test", group = "πŸ§ͺ Testing" }, + { message = "^chore\\(release\\):|^chore: (r|R)elease|^chore: prepare release", skip = true }, + { message = "^chore\\(deps-dev\\)", skip = true }, + { message = "^chore\\(pull\\)", skip = true }, + { message = "^chore\\(changelog\\):", skip = true }, + { message = "^chore|^ci", group = "βš™οΈ Other" }, + { body = ".*security", group = "πŸ›‘οΈ Security" }, + { message = "^revert", group = "◀️ Revert" }, +] +# protect breaking changes from being skipped due to matching a skipping commit_parser +protect_breaking_commits = false +# filter out the commits that are not matched by commit parsers +filter_commits = false +# regex for matching git tags +tag_pattern = "v[0-9].*" +# regex for skipping tags +skip_tags = "beta|alpha" +# regex for ignoring tags +ignore_tags = "rc|v2.1.0|v2.1.1" +# sort the tags topologically +topo_order = false +# sort the commits inside sections by oldest/newest order +sort_commits = "newest" From f7e4e6be1421f03d7918a6385829b210bc7b7dfa Mon Sep 17 00:00:00 2001 From: Daniel Aschwanden Date: Wed, 2 Oct 2024 22:00:28 +0200 Subject: [PATCH 2/6] ci: add conventional commit validation for PRs --- .github/workflows/prs.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/prs.yaml diff --git a/.github/workflows/prs.yaml b/.github/workflows/prs.yaml new file mode 100644 index 00000000..2fa46943 --- /dev/null +++ b/.github/workflows/prs.yaml @@ -0,0 +1,13 @@ +name: PR Conventional Commit Validation +on: + pull_request: + types: [opened, synchronize, reopened, edited] + +jobs: + validate-pr-title: + runs-on: ubuntu-latest + steps: + - name: PR Conventional Commit Validation + uses: ytanikin/PRConventionalCommits@1.1.0 + with: + task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert", "security"]' From 9a37548189a2e146a22be771927163f7cea0ca93 Mon Sep 17 00:00:00 2001 From: Daniel Aschwanden Date: Wed, 2 Oct 2024 22:03:09 +0200 Subject: [PATCH 3/6] fix: remove unused changelog --- .github/workflows/changelog.yaml | 33 -------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/changelog.yaml diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml deleted file mode 100644 index 2d08ad33..00000000 --- a/.github/workflows/changelog.yaml +++ /dev/null @@ -1,33 +0,0 @@ -on: - push: - branches: - - "main" - - "develop" -jobs: - changelog: - name: Generate changelog - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Generate changelog - uses: orhun/git-cliff-action@v4 - with: - config: cliff.toml - args: --verbose - env: - OUTPUT: CHANGELOG.md - GITHUB_REPO: ${{ github.repository }} - - name: Commit - run: | - git checkout ${GITHUB_REF_NAME} - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' - set +e - git add CHANGELOG.md - git commit -m "chore(changelog): Update changelog [skip ci]" - git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git ${GITHUB_REF_NAME} From 94e11d1ab8edd7145d30de9eeeef250fa42ced9a Mon Sep 17 00:00:00 2001 From: Daniel Aschwanden Date: Wed, 2 Oct 2024 22:08:05 +0200 Subject: [PATCH 4/6] ci: restructure workflows --- .github/workflows/changelog.yaml | 36 ++++++++++++++++++++++++++++++++ .github/workflows/main.yml | 27 ------------------------ 2 files changed, 36 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/changelog.yaml diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml new file mode 100644 index 00000000..786b1326 --- /dev/null +++ b/.github/workflows/changelog.yaml @@ -0,0 +1,36 @@ +name: Build & Test & Push Image +on: + push: + branches: + - "main" + - "develop" + tags: + - "v*" +jobs: + changelog: + name: Generate changelog + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Generate changelog + uses: orhun/git-cliff-action@v4 + with: + config: cliff.toml + args: --verbose + env: + OUTPUT: CHANGELOG.md + GITHUB_REPO: ${{ github.repository }} + - name: Commit + run: | + git checkout ${GITHUB_REF_NAME} + git config user.name 'github-actions[bot]' + git config user.email 'github-actions[bot]@users.noreply.github.com' + set +e + git add CHANGELOG.md + git commit -m "chore(changelog): Update changelog [skip ci]" + git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git ${GITHUB_REF_NAME} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 15771c94..6febee35 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -107,30 +107,3 @@ jobs: labels: ${{ steps.meta-hasura.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max - changelog: - name: Generate changelog - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Generate changelog - uses: orhun/git-cliff-action@v4 - with: - config: cliff.toml - args: --verbose - env: - OUTPUT: CHANGELOG.md - GITHUB_REPO: ${{ github.repository }} - - name: Commit - run: | - git checkout ${GITHUB_REF_NAME} - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' - set +e - git add CHANGELOG.md - git commit -m "chore(changelog): Update changelog [skip ci]" - git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git ${GITHUB_REF_NAME} From 55c285684cc0c7a274f31af53d513fd54150dd90 Mon Sep 17 00:00:00 2001 From: Daniel Aschwanden Date: Wed, 2 Oct 2024 22:16:58 +0200 Subject: [PATCH 5/6] ci: update workflows --- .github/workflows/build.yaml | 1 - .github/workflows/main.yml | 1 - .github/workflows/prs.yaml | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0d8dbe6a..06da524b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,7 +11,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6febee35..d4ebdc64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" diff --git a/.github/workflows/prs.yaml b/.github/workflows/prs.yaml index 2fa46943..e64c3fb0 100644 --- a/.github/workflows/prs.yaml +++ b/.github/workflows/prs.yaml @@ -1,7 +1,7 @@ name: PR Conventional Commit Validation on: pull_request: - types: [opened, synchronize, reopened, edited] + types: [opened, reopened, edited] jobs: validate-pr-title: From 1aaed67cb11dc961f80a637b785f8343337f3623 Mon Sep 17 00:00:00 2001 From: Daniel Aschwanden Date: Wed, 2 Oct 2024 22:19:22 +0200 Subject: [PATCH 6/6] ci: pr workflow to run on synchronize events --- .github/workflows/prs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prs.yaml b/.github/workflows/prs.yaml index e64c3fb0..2fa46943 100644 --- a/.github/workflows/prs.yaml +++ b/.github/workflows/prs.yaml @@ -1,7 +1,7 @@ name: PR Conventional Commit Validation on: pull_request: - types: [opened, reopened, edited] + types: [opened, synchronize, reopened, edited] jobs: validate-pr-title: