From 5acb914aee64a779fd203fb8965143861bb159c9 Mon Sep 17 00:00:00 2001 From: Romain Dorgueil Date: Sat, 15 Jun 2024 11:37:27 +0200 Subject: [PATCH 1/2] release: 0.5.0rc1 --- Makefile | 1 + docs/contribute/changelogs/0.5.0b10.rst | 18 -- docs/contribute/changelogs/0.5.0b11.rst | 53 ----- docs/contribute/changelogs/0.5.0b12.rst | 4 - docs/contribute/changelogs/0.5.0b7.rst | 42 ---- docs/contribute/changelogs/0.5.0b8.rst | 9 - docs/contribute/changelogs/0.5.0b9.rst | 17 -- .../changelogs/{0.5.0b3.rst => 0.5.0rc1.rst} | 187 +++++++++++++++++- docs/contribute/changelogs/index.rst | 8 +- docs/contribute/release/sources.rst | 4 +- harp/__init__.py | 2 +- misc/helm/charts/harp-proxy/Chart.yaml | 2 +- pyproject.toml | 2 +- 13 files changed, 192 insertions(+), 157 deletions(-) delete mode 100644 docs/contribute/changelogs/0.5.0b10.rst delete mode 100644 docs/contribute/changelogs/0.5.0b11.rst delete mode 100644 docs/contribute/changelogs/0.5.0b12.rst delete mode 100644 docs/contribute/changelogs/0.5.0b7.rst delete mode 100644 docs/contribute/changelogs/0.5.0b8.rst delete mode 100644 docs/contribute/changelogs/0.5.0b9.rst rename docs/contribute/changelogs/{0.5.0b3.rst => 0.5.0rc1.rst} (62%) diff --git a/Makefile b/Makefile index 937cd1ab..fef97cb0 100644 --- a/Makefile +++ b/Makefile @@ -107,6 +107,7 @@ build-frontend: ## Builds the harp dashboard frontend (compiles typescript and .PHONY: lint-frontend coverage cloc preqa: types format reference ## Runs pre-qa checks (types generation, formatting, api reference). + $(PRE_COMMIT) qa: preqa test ## Runs all QA checks, with most common databases. diff --git a/docs/contribute/changelogs/0.5.0b10.rst b/docs/contribute/changelogs/0.5.0b10.rst deleted file mode 100644 index 49018e1b..00000000 --- a/docs/contribute/changelogs/0.5.0b10.rst +++ /dev/null @@ -1,18 +0,0 @@ -Version 0.5.0b10 (2024-06-06) -============================ - -* refactor: configurable httpclient (Arthur Degonde) -* feat: configurable timeout and cache (Arthur Degonde) -* doc: add http client index (Arthur Degonde) -* feat: configurable timeout and cache (Arthur Degonde) -* feat: display cache status in dashboard (Romain Dorgueil) -* feat: default makefile task now starts a devserver (Romain Dorgueil) -* feat: move visual tests into linux containers for better reproducibility (Romain Dorgueil) -* feat: upgrade ruff (closes #316). (Romain Dorgueil) -* feat: reset page when search changes (Arthur Degonde) -* test: snapshots update (Arthur Degonde) -* feat: standard urls for transactions list (Arthur Degonde) -* test: fix add app test (Arthur Degonde) -* test: standard urls for transactions list (Arthur Degonde) -* feat: standard urls for transactions list (Arthur Degonde) -* feat: standard urls for transactions list (Arthur Degonde) diff --git a/docs/contribute/changelogs/0.5.0b11.rst b/docs/contribute/changelogs/0.5.0b11.rst deleted file mode 100644 index 31a0eff1..00000000 --- a/docs/contribute/changelogs/0.5.0b11.rst +++ /dev/null @@ -1,53 +0,0 @@ -Version 0.5.0b11 (2024-06-13) -============================ - -* feat: remove removed settings from helm chart (Romain Dorgueil) -* feat: tuning migrations (Romain Dorgueil) -* Delete harp_apps_sqlalchemy_storage directory (Romain Dorgueil) -* feat: tuning docs (Romain Dorgueil) -* feat: update how it work image (Romain Dorgueil) -* feat: fix command names for db related features (Romain Dorgueil) -* Update harp/_logging.py (Romain Dorgueil) -* Update docs/contribute/testing/database.rst (Romain Dorgueil) -* chore: housekeeping (Romain Dorgueil) -* feat: cleanup, better sql logging, tests (Romain Dorgueil) -* refactor: remove unused condition in filter query (Arthur Degonde) -* test: updated filters meta (Arthur Degonde) -* refactor: reset all filters (Arthur Degonde) -* chore: housekeeping and cleanup (Romain Dorgueil) -* feat: fix create migration script syntax (Romain Dorgueil) -* feat: document migrations (Romain Dorgueil) -* fix: update meta for filters (Arthur Degonde) -* test: update snapshots (Arthur Degonde) -* feat: reset button and disable only choice on filters (Arthur Degonde) -* test: increase timeout for tests (Arthur Degonde) -* feat: first working implementation of sqlalchemy migrations using alembic (Romain Dorgueil) -* test: non exhaustive facet (Arthur Degonde) -* chore(deps): bump orjson from 3.10.3 to 3.10.4 (dependabot[bot]) -* docs: ref to telemetry docs in main index (Arthur Degonde) -* feat: non exhaustive facet (Arthur Degonde) -* feat: add admonition at documentation top (Romain Dorgueil) -* docs: telemetry docs (Arthur Degonde) -* chore(deps): bump dataclasses-json from 0.6.6 to 0.6.7 (dependabot[bot]) -* chore(deps): bump rich-click from 1.8.2 to 1.8.3 (dependabot[bot]) -* chore: image optimization (Romain Dorgueil) -* docs: logging documentation (Romain Dorgueil) -* fix: store states in url for transactions list (Arthur Degonde) -* feat: store states in url for transactions list (Arthur Degonde) -* fix: standard urls (Arthur Degonde) -* fix: standard urls (Arthur Degonde) -* feat: less log, more infos (Romain Dorgueil) -* feat: custom asdict implementation (Romain Dorgueil) -* docs: tuning http client config documentation (Romain Dorgueil) -* test: disabled settings (Arthur Degonde) -* feat: fix lazy callable so that pylance is happy (and remove unnecessary complexity) (Romain Dorgueil) -* docs: update httpclient example (Arthur Degonde) -* feat: apply new tools to dashboard settings (Romain Dorgueil) -* feat: a bit of documentation around settings (Romain Dorgueil) -* feat: more flexibility in cache config and simpler final code (yet, allows to pass arbitrary parameters and even override subcomponent types) (Romain Dorgueil) -* chore(deps): bump sentry-sdk from 2.4.0 to 2.5.0 (dependabot[bot]) -* chore(deps): bump hishel from 0.0.26 to 0.0.27 (dependabot[bot]) -* docs: update httpclient settings docs (Arthur Degonde) -* refactor: configurable httpclient (Arthur Degonde) -* feat: add no cache flag when request bypassed the cache storage explicitely (Romain Dorgueil) -* feat: check blob existence before insert (Romain Dorgueil) diff --git a/docs/contribute/changelogs/0.5.0b12.rst b/docs/contribute/changelogs/0.5.0b12.rst deleted file mode 100644 index 9431ea00..00000000 --- a/docs/contribute/changelogs/0.5.0b12.rst +++ /dev/null @@ -1,4 +0,0 @@ -Version 0.5.0b12 (2024-06-13) -============================= - -* feat: remove references to removed "enabled" setting for root applications (Romain Dorgueil) diff --git a/docs/contribute/changelogs/0.5.0b7.rst b/docs/contribute/changelogs/0.5.0b7.rst deleted file mode 100644 index 48a9d5f3..00000000 --- a/docs/contribute/changelogs/0.5.0b7.rst +++ /dev/null @@ -1,42 +0,0 @@ -Version 0.5.0b7 (2024-05-30) -============================ - -* docs: chores and python release process (Romain Dorgueil) -* feat: remove useless instruction in sandbox script (Romain Dorgueil) -* feat: fix sandbox subprocess arguments (Romain Dorgueil) -* feat: more expliciteness on startup errors, stop with system status != 0 on startup error (Romain Dorgueil) -* feat: fix misnamed option for endpoints (Romain Dorgueil) -* feat: add quick ability to pass entrypoints using cli (Romain Dorgueil) -* feat: fix make clean to not depend on sphinx install for a simple directory removal (Romain Dorgueil) -* feat: abiility to test a wheel in container, fix tests (not really, time dependant) (Romain Dorgueil) -* wip (Romain Dorgueil) -* feat: add env var to force environment type (dev, prod) (Romain Dorgueil) -* chore(deps): bump orjson from 3.10.0 to 3.10.3 (dependabot[bot]) -* chore(deps-dev): bump sphinx from 7.2.6 to 7.3.7 (dependabot[bot]) -* chore(deps-dev): bump sphinx-autobuild from 2024.4.13 to 2024.4.16 (dependabot[bot]) -* chore(deps): bump aiohttp from 3.9.4 to 3.9.5 (dependabot[bot]) -* feat: dependencies, add faq entry for docker version problem with testcontainers (Romain Dorgueil) -* feat: create empty dir breaking test suite when missing (Romain Dorgueil) -* feat: run tests in docker using dind (Romain Dorgueil) -* chore(deps): bump hishel from 0.0.25 to 0.0.26 (dependabot[bot]) -* feat: add ability to run ci-like test suite locally using dind, fix container ip (Romain Dorgueil) -* chore(deps-dev): bump ruff from 0.3.5 to 0.3.7 (dependabot[bot]) -* feat: reinstall docker in development images (Romain Dorgueil) -* feat: migrate from alpine to debian to counter musl related problems with various cpu architectures (Romain Dorgueil) -* feat: fix cli, add max width to transaction (Romain Dorgueil) -* chore(deps): bump aiohttp from 3.9.3 to 3.9.4 (dependabot[bot]) -* chore(deps): bump sentry-sdk from 1.44.0 to 1.45.0 (dependabot[bot]) -* feat: increase default timeout to 30 sec (Romain Dorgueil) -* chore(deps-dev): bump testcontainers from 4.3.0 to 4.3.3 (dependabot[bot]) -* wip: uniformize cli (Romain Dorgueil) -* chore(deps-dev): bump pytest-asyncio from 0.21.1 to 0.23.6 (dependabot[bot]) -* chore(deps-dev): bump ruff from 0.1.15 to 0.3.5 (dependabot[bot]) -* chore(deps-dev): bump pytest-cov from 4.1.0 to 5.0.0 (dependabot[bot]) -* feat: include frontend in packaging (Romain Dorgueil) -* feat: dashboard paths (Romain Dorgueil) -* feat: cleanup of frontend modules (makefile) (Romain Dorgueil) -* chore: bump version (Romain Dorgueil) -* feat: move rich click to main dependencies (Romain Dorgueil) -* feat: add short description (Romain Dorgueil) -* feat: remove unsupported rst directives for pypi (Romain Dorgueil) -* feat: rename package to use available name on pypi (Romain Dorgueil) diff --git a/docs/contribute/changelogs/0.5.0b8.rst b/docs/contribute/changelogs/0.5.0b8.rst deleted file mode 100644 index 0277cd0a..00000000 --- a/docs/contribute/changelogs/0.5.0b8.rst +++ /dev/null @@ -1,9 +0,0 @@ -Version 0.5.0b8 (2024-05-30) -============================ - -* feat: fix documentation url (Romain Dorgueil) -* feat: fix concurrency problem with sqlite in memory: looks like transactions return before sqlite really commited data to the underlying storage, and memory storage make it too fast (Romain Dorgueil) -* docs: minor tweaks and cleanup (Romain Dorgueil) -* docs: working on installation guide (Romain Dorgueil) -* feat: add ability to install from PyPI in runc_wheel script (Romain Dorgueil) -* docs: only clean distributed files on building python wheel (Romain Dorgueil) diff --git a/docs/contribute/changelogs/0.5.0b9.rst b/docs/contribute/changelogs/0.5.0b9.rst deleted file mode 100644 index dae5646b..00000000 --- a/docs/contribute/changelogs/0.5.0b9.rst +++ /dev/null @@ -1,17 +0,0 @@ -Version 0.5.0b9 (2024-06-05) -============================ - -* chore: cleanup and update dependencies (Romain Dorgueil) -* feat: instead of deduping list in config, make sure the duplicates are handled beforehand (Romain Dorgueil) -* feat: add help link in top bar (Romain Dorgueil) -* fix: handle duplicated enabled apps (Arthur Degonde) -* fix: reset command line option (Arthur Degonde) -* feat: use timezone aware timestamps (UTC) for metrics (Arthur Degonde) -* feat: use timezone aware timestamps (UTC) (Arthur Degonde) -* fix: user not found using sqlite in memory (Arthur Degonde) -* docs: update install doc (Arthur Degonde) -* docs: images in their room (Romain Dorgueil) -* docs: tuning (Romain Dorgueil) -* feat: minor tweaks to documentation home (Romain Dorgueil) -* feat: add pictures to user documentation, document tpdex (Romain Dorgueil) -* docs: tuning documentation, fixing stuff, better cli reference ... (Romain Dorgueil) diff --git a/docs/contribute/changelogs/0.5.0b3.rst b/docs/contribute/changelogs/0.5.0rc1.rst similarity index 62% rename from docs/contribute/changelogs/0.5.0b3.rst rename to docs/contribute/changelogs/0.5.0rc1.rst index 85a00349..05101a94 100644 --- a/docs/contribute/changelogs/0.5.0b3.rst +++ b/docs/contribute/changelogs/0.5.0rc1.rst @@ -1,6 +1,189 @@ -Version 0.5.0b3 (2024-04-01) -============================ +Version 0.5.0rc1 (2024-06-15) +============================= +* feat: update dependencies (Romain Dorgueil) +* feat: add logo to docs (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: update readme images and doc index (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: update readme and schemas (Romain Dorgueil) +* feat: image optimization (Romain Dorgueil) +* feat: tuning dashboard (legends, rates, ...) (Romain Dorgueil) +* feat: rename apdex to tpdex where references subsist, implement G tpdex on network error (Romain Dorgueil) +* feat: remove 'UI' in meta (Arthur Degonde) +* feat: pages meta via helmets (Arthur Degonde) +* docs: janitor defaults (Romain Dorgueil) +* feat: minimal docs for janitor app (Romain Dorgueil) +* feat: make sure event loop is closed on fixture end (Romain Dorgueil) +* test: remove pytest asyncio mark (Arthur Degonde) +* Update index.rst (Romain Dorgueil) +* test: new event loop for each proxy benchmark test (Arthur Degonde) +* feat: tuning filter (Romain Dorgueil) +* feat: fix facet orders, add links from dashboard to transaction list (Romain Dorgueil) +* feat: fix summary sparkline snapshot (Romain Dorgueil) +* feat: do not show NULL as a choice (Arthur Degonde) +* feat: error rate should stick to the floor if everything is 0 (Romain Dorgueil) +* feat: fix overview summary data (Romain Dorgueil) +* test: update snapshots (Arthur Degonde) +* fix: apdexscale classname (Arthur Degonde) +* feat: change slider range style (Arthur Degonde) +* feat: better legends for summary sparklines, refactoring for less duplicate code (Romain Dorgueil) +* feat: freeze timezone in frontend unit tests so that the date shown in snapshots are always the same even if the running env differs (Romain Dorgueil) +* feat: refactoring dashboard before working on ux details (Romain Dorgueil) +* feat: readme urls should be absolute to work on pypi (Romain Dorgueil) +* chore(deps): bump orjson from 3.10.4 to 3.10.5 (dependabot[bot]) +* test: tests for facets (Arthur Degonde) +* feat: change slider range for tpdex style (Arthur Degonde) +* feat: fixes titles and margins (#355) (Romain Dorgueil) +* feat: display tags in transaction details (Romain Dorgueil) +* feat: slider range for tpdex (Arthur Degonde) +* release: 0.5.0b12 (Romain Dorgueil) +* feat: remove references to removed "enabled" setting for root applications (Romain Dorgueil) +* release: 0.5.0b11 (Romain Dorgueil) +* feat: remove removed settings from helm chart (Romain Dorgueil) +* feat: tuning migrations (Romain Dorgueil) +* Delete harp_apps_sqlalchemy_storage directory (Romain Dorgueil) +* feat: tuning docs (Romain Dorgueil) +* feat: update how it work image (Romain Dorgueil) +* feat: fix command names for db related features (Romain Dorgueil) +* Update harp/_logging.py (Romain Dorgueil) +* Update docs/contribute/testing/database.rst (Romain Dorgueil) +* feat: marks on slider (Arthur Degonde) +* chore: housekeeping (Romain Dorgueil) +* feat: cleanup, better sql logging, tests (Romain Dorgueil) +* feat: tpdex range slider update on pointer up (Arthur Degonde) +* feat: rangeslider onpointerup prop (Arthur Degonde) +* feat: filter based on tpdex facet (Arthur Degonde) +* refactor: remove unused condition in filter query (Arthur Degonde) +* test: tpdex facet filter (Arthur Degonde) +* test: updated filters meta (Arthur Degonde) +* refactor: reset all filters (Arthur Degonde) +* feat: tpdex facet (Arthur Degonde) +* feat: pass tpdex query params (Arthur Degonde) +* fix: rangeslider default values (Arthur Degonde) +* feat: tpdex in url (Arthur Degonde) +* feat: tpdex in url (Arthur Degonde) +* feat: simple range slider for perf index (Arthur Degonde) +* chore: housekeeping and cleanup (Romain Dorgueil) +* refactor: rename slider (Arthur Degonde) +* feat: slider component (Arthur Degonde) +* feat: fix create migration script syntax (Romain Dorgueil) +* feat: document migrations (Romain Dorgueil) +* fix: update meta for filters (Arthur Degonde) +* test: update snapshots (Arthur Degonde) +* feat: reset button and disable only choice on filters (Arthur Degonde) +* test: increase timeout for tests (Arthur Degonde) +* feat: first working implementation of sqlalchemy migrations using alembic (Romain Dorgueil) +* test: non exhaustive facet (Arthur Degonde) +* chore(deps): bump orjson from 3.10.3 to 3.10.4 (dependabot[bot]) +* docs: ref to telemetry docs in main index (Arthur Degonde) +* feat: non exhaustive facet (Arthur Degonde) +* feat: add admonition at documentation top (Romain Dorgueil) +* docs: telemetry docs (Arthur Degonde) +* chore(deps): bump dataclasses-json from 0.6.6 to 0.6.7 (dependabot[bot]) +* chore(deps): bump rich-click from 1.8.2 to 1.8.3 (dependabot[bot]) +* chore: image optimization (Romain Dorgueil) +* docs: logging documentation (Romain Dorgueil) +* fix: store states in url for transactions list (Arthur Degonde) +* feat: store states in url for transactions list (Arthur Degonde) +* fix: standard urls (Arthur Degonde) +* fix: standard urls (Arthur Degonde) +* feat: less log, more infos (Romain Dorgueil) +* feat: custom asdict implementation (Romain Dorgueil) +* docs: tuning http client config documentation (Romain Dorgueil) +* test: disabled settings (Arthur Degonde) +* feat: fix lazy callable so that pylance is happy (and remove unnecessary complexity) (Romain Dorgueil) +* docs: update httpclient example (Arthur Degonde) +* feat: apply new tools to dashboard settings (Romain Dorgueil) +* feat: a bit of documentation around settings (Romain Dorgueil) +* feat: more flexibility in cache config and simpler final code (yet, allows to pass arbitrary parameters and even override subcomponent types) (Romain Dorgueil) +* chore(deps): bump sentry-sdk from 2.4.0 to 2.5.0 (dependabot[bot]) +* chore(deps): bump hishel from 0.0.26 to 0.0.27 (dependabot[bot]) +* docs: update httpclient settings docs (Arthur Degonde) +* refactor: configurable httpclient (Arthur Degonde) +* feat: add no cache flag when request bypassed the cache storage explicitely (Romain Dorgueil) +* feat: check blob existence before insert (Romain Dorgueil) +* release: 0.5.0b10 (Romain Dorgueil) +* refactor: configurable httpclient (Arthur Degonde) +* feat: configurable timeout and cache (Arthur Degonde) +* doc: add http client index (Arthur Degonde) +* feat: configurable timeout and cache (Arthur Degonde) +* feat: display cache status in dashboard (Romain Dorgueil) +* feat: default makefile task now starts a devserver (Romain Dorgueil) +* feat: move visual tests into linux containers for better reproducibility (Romain Dorgueil) +* feat: upgrade ruff (closes #316). (Romain Dorgueil) +* feat: reset page when search changes (Arthur Degonde) +* release: 0.5.0b9 (Romain Dorgueil) +* chore: cleanup and update dependencies (Romain Dorgueil) +* feat: instead of deduping list in config, make sure the duplicates are handled beforehand (Romain Dorgueil) +* feat: add help link in top bar (Romain Dorgueil) +* test: snapshots update (Arthur Degonde) +* feat: standard urls for transactions list (Arthur Degonde) +* test: fix add app test (Arthur Degonde) +* test: standard urls for transactions list (Arthur Degonde) +* feat: standard urls for transactions list (Arthur Degonde) +* feat: standard urls for transactions list (Arthur Degonde) +* fix: handle duplicated enabled apps (Arthur Degonde) +* fix: reset command line option (Arthur Degonde) +* feat: use timezone aware timestamps (UTC) for metrics (Arthur Degonde) +* feat: use timezone aware timestamps (UTC) (Arthur Degonde) +* fix: user not found using sqlite in memory (Arthur Degonde) +* docs: update install doc (Arthur Degonde) +* docs: images in their room (Romain Dorgueil) +* docs: tuning (Romain Dorgueil) +* feat: minor tweaks to documentation home (Romain Dorgueil) +* feat: add pictures to user documentation, document tpdex (Romain Dorgueil) +* docs: tuning documentation, fixing stuff, better cli reference ... (Romain Dorgueil) +* release: 0.5.0b8 (Romain Dorgueil) +* feat: fix documentation url (Romain Dorgueil) +* feat: fix concurrency problem with sqlite in memory: looks like transactions return before sqlite really commited data to the underlying storage, and memory storage make it too fast (Romain Dorgueil) +* docs: minor tweaks and cleanup (Romain Dorgueil) +* docs: working on installation guide (Romain Dorgueil) +* feat: add ability to install from PyPI in runc_wheel script (Romain Dorgueil) +* docs: only clean distributed files on building python wheel (Romain Dorgueil) +* release: 0.5.0b7 (Romain Dorgueil) +* docs: chores and python release process (Romain Dorgueil) +* feat: remove useless instruction in sandbox script (Romain Dorgueil) +* feat: fix sandbox subprocess arguments (Romain Dorgueil) +* feat: more expliciteness on startup errors, stop with system status != 0 on startup error (Romain Dorgueil) +* feat: fix misnamed option for endpoints (Romain Dorgueil) +* feat: add quick ability to pass entrypoints using cli (Romain Dorgueil) +* feat: fix make clean to not depend on sphinx install for a simple directory removal (Romain Dorgueil) +* feat: abiility to test a wheel in container, fix tests (not really, time dependant) (Romain Dorgueil) +* wip (Romain Dorgueil) +* feat: add env var to force environment type (dev, prod) (Romain Dorgueil) +* chore(deps): bump orjson from 3.10.0 to 3.10.3 (dependabot[bot]) +* chore(deps-dev): bump sphinx from 7.2.6 to 7.3.7 (dependabot[bot]) +* chore(deps-dev): bump sphinx-autobuild from 2024.4.13 to 2024.4.16 (dependabot[bot]) +* chore(deps): bump aiohttp from 3.9.4 to 3.9.5 (dependabot[bot]) +* feat: dependencies, add faq entry for docker version problem with testcontainers (Romain Dorgueil) +* feat: create empty dir breaking test suite when missing (Romain Dorgueil) +* feat: run tests in docker using dind (Romain Dorgueil) +* chore(deps): bump hishel from 0.0.25 to 0.0.26 (dependabot[bot]) +* feat: add ability to run ci-like test suite locally using dind, fix container ip (Romain Dorgueil) +* chore(deps-dev): bump ruff from 0.3.5 to 0.3.7 (dependabot[bot]) +* feat: reinstall docker in development images (Romain Dorgueil) +* feat: migrate from alpine to debian to counter musl related problems with various cpu architectures (Romain Dorgueil) +* feat: fix cli, add max width to transaction (Romain Dorgueil) +* chore(deps): bump aiohttp from 3.9.3 to 3.9.4 (dependabot[bot]) +* chore(deps): bump sentry-sdk from 1.44.0 to 1.45.0 (dependabot[bot]) +* feat: increase default timeout to 30 sec (Romain Dorgueil) +* chore(deps-dev): bump testcontainers from 4.3.0 to 4.3.3 (dependabot[bot]) +* wip: uniformize cli (Romain Dorgueil) +* chore(deps-dev): bump pytest-asyncio from 0.21.1 to 0.23.6 (dependabot[bot]) +* chore(deps-dev): bump ruff from 0.1.15 to 0.3.5 (dependabot[bot]) +* chore(deps-dev): bump pytest-cov from 4.1.0 to 5.0.0 (dependabot[bot]) +* feat: include frontend in packaging (Romain Dorgueil) +* feat: dashboard paths (Romain Dorgueil) +* feat: cleanup of frontend modules (makefile) (Romain Dorgueil) +* chore: bump version (Romain Dorgueil) +* feat: move rich click to main dependencies (Romain Dorgueil) +* feat: add short description (Romain Dorgueil) +* feat: remove unsupported rst directives for pypi (Romain Dorgueil) +* feat: rename package to use available name on pypi (Romain Dorgueil) +* release: 0.5.0b3 (Romain Dorgueil) * feat: fix rtd (Romain Dorgueil) * feat: fix rtd (Romain Dorgueil) * feat: fix rtd (Romain Dorgueil) diff --git a/docs/contribute/changelogs/index.rst b/docs/contribute/changelogs/index.rst index db351210..095626c0 100644 --- a/docs/contribute/changelogs/index.rst +++ b/docs/contribute/changelogs/index.rst @@ -4,13 +4,7 @@ Changelogs .. toctree:: :maxdepth: 1 - 0.5.0b12 - 0.5.0b11 - 0.5.0b10 - 0.5.0b9 - 0.5.0b8 - 0.5.0b7 - 0.5.0b3 + 0.5.0rc1 0.4.0 0.3.2 0.3.1 diff --git a/docs/contribute/release/sources.rst b/docs/contribute/release/sources.rst index eb150560..d3ead904 100644 --- a/docs/contribute/release/sources.rst +++ b/docs/contribute/release/sources.rst @@ -60,8 +60,8 @@ Releasing a new source version .. todo:: - - This should be done from a clean virtualenv, but it's not yet the case. - - Interface snapshots should be run in a repeatable environment (docker ?). + - This should be done from a clean virtualenv, but it's not yet the case (mitigated for now by using a clean git + worktree on each release, but this is undocumented for now). Git add is there to check nothing was modified by QA suite. diff --git a/harp/__init__.py b/harp/__init__.py index 29a5a129..4b354abe 100644 --- a/harp/__init__.py +++ b/harp/__init__.py @@ -46,7 +46,7 @@ def _parse_version(version: str, /, *, default=None) -> Version: # last release __title__ = "Core" -__version__ = "0.5.0b12" +__version__ = "0.5.0rc1" __revision__ = __version__ # we can't commit the not yet known revision # override with version.txt if available (after docker build for example) diff --git a/misc/helm/charts/harp-proxy/Chart.yaml b/misc/helm/charts/harp-proxy/Chart.yaml index d5cd25d3..c24a46be 100644 --- a/misc/helm/charts/harp-proxy/Chart.yaml +++ b/misc/helm/charts/harp-proxy/Chart.yaml @@ -3,7 +3,7 @@ name: harp-proxy description: HTTP API Runtime Proxy type: application version: "0.1.0" -appVersion: "0.5.0b12" +appVersion: "0.5.0rc1" dependencies: - name: postgresql diff --git a/pyproject.toml b/pyproject.toml index 0fbeb7f3..1ee200ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "harp-proxy" -version = "0.5.0b12" +version = "0.5.0rc1" description = "Harp is an API Runtime Proxy – A toolkit for Fast, Reliable and Observable external APIs" authors = ["Romain Dorgueil "] readme = "README.rst" From 1677e08156af32dd2571493c3c8c6bc4251fa48c Mon Sep 17 00:00:00 2001 From: Romain Dorgueil Date: Sat, 15 Jun 2024 12:04:52 +0200 Subject: [PATCH 2/2] release: 0.5.0rc2 --- Makefile | 5 +- docs/contribute/changelogs/0.5.0rc2.rst | 478 ++++++++++++++++++ docs/contribute/changelogs/index.rst | 1 + harp/__init__.py | 2 +- harp_apps/dashboard/frontend/package.json | 16 +- .../TransactionsHistory.test.tsx.snap | 2 +- ...actionsHistoryOnQuerySuccess.test.tsx.snap | 2 +- .../__snapshots__/OverviewPage.test.tsx.snap | 6 +- misc/helm/charts/harp-proxy/Chart.yaml | 2 +- pyproject.toml | 2 +- 10 files changed, 496 insertions(+), 20 deletions(-) create mode 100644 docs/contribute/changelogs/0.5.0rc2.rst diff --git a/Makefile b/Makefile index fef97cb0..762e5f78 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,6 @@ NAME ?= harp-proxy VERSION ?= $(shell git describe 2>/dev/null || git rev-parse --short HEAD) -# pre commit -PRE_COMMIT ?= $(shell which pre-commit || echo "pre-commit") - # poetry POETRY ?= $(shell which poetry || echo "poetry") POETRY_INSTALL_OPTIONS ?= @@ -107,7 +104,7 @@ build-frontend: ## Builds the harp dashboard frontend (compiles typescript and .PHONY: lint-frontend coverage cloc preqa: types format reference ## Runs pre-qa checks (types generation, formatting, api reference). - $(PRE_COMMIT) + $(RUN) pre-commit qa: preqa test ## Runs all QA checks, with most common databases. diff --git a/docs/contribute/changelogs/0.5.0rc2.rst b/docs/contribute/changelogs/0.5.0rc2.rst new file mode 100644 index 00000000..0702dead --- /dev/null +++ b/docs/contribute/changelogs/0.5.0rc2.rst @@ -0,0 +1,478 @@ +Version 0.5.0rc2 (2024-06-15) +============================= + +* release: 0.5.0rc1 (Romain Dorgueil) +* feat: update dependencies (Romain Dorgueil) +* feat: add logo to docs (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: update readme images and doc index (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: update readme and schemas (Romain Dorgueil) +* feat: image optimization (Romain Dorgueil) +* feat: tuning dashboard (legends, rates, ...) (Romain Dorgueil) +* feat: rename apdex to tpdex where references subsist, implement G tpdex on network error (Romain Dorgueil) +* feat: remove 'UI' in meta (Arthur Degonde) +* feat: pages meta via helmets (Arthur Degonde) +* docs: janitor defaults (Romain Dorgueil) +* feat: minimal docs for janitor app (Romain Dorgueil) +* feat: make sure event loop is closed on fixture end (Romain Dorgueil) +* test: remove pytest asyncio mark (Arthur Degonde) +* Update index.rst (Romain Dorgueil) +* test: new event loop for each proxy benchmark test (Arthur Degonde) +* feat: tuning filter (Romain Dorgueil) +* feat: fix facet orders, add links from dashboard to transaction list (Romain Dorgueil) +* feat: fix summary sparkline snapshot (Romain Dorgueil) +* feat: do not show NULL as a choice (Arthur Degonde) +* feat: error rate should stick to the floor if everything is 0 (Romain Dorgueil) +* feat: fix overview summary data (Romain Dorgueil) +* test: update snapshots (Arthur Degonde) +* fix: apdexscale classname (Arthur Degonde) +* feat: change slider range style (Arthur Degonde) +* feat: better legends for summary sparklines, refactoring for less duplicate code (Romain Dorgueil) +* feat: freeze timezone in frontend unit tests so that the date shown in snapshots are always the same even if the running env differs (Romain Dorgueil) +* feat: refactoring dashboard before working on ux details (Romain Dorgueil) +* feat: readme urls should be absolute to work on pypi (Romain Dorgueil) +* chore(deps): bump orjson from 3.10.4 to 3.10.5 (dependabot[bot]) +* test: tests for facets (Arthur Degonde) +* feat: change slider range for tpdex style (Arthur Degonde) +* feat: fixes titles and margins (#355) (Romain Dorgueil) +* feat: display tags in transaction details (Romain Dorgueil) +* feat: slider range for tpdex (Arthur Degonde) +* release: 0.5.0b12 (Romain Dorgueil) +* feat: remove references to removed "enabled" setting for root applications (Romain Dorgueil) +* release: 0.5.0b11 (Romain Dorgueil) +* feat: remove removed settings from helm chart (Romain Dorgueil) +* feat: tuning migrations (Romain Dorgueil) +* Delete harp_apps_sqlalchemy_storage directory (Romain Dorgueil) +* feat: tuning docs (Romain Dorgueil) +* feat: update how it work image (Romain Dorgueil) +* feat: fix command names for db related features (Romain Dorgueil) +* Update harp/_logging.py (Romain Dorgueil) +* Update docs/contribute/testing/database.rst (Romain Dorgueil) +* feat: marks on slider (Arthur Degonde) +* chore: housekeeping (Romain Dorgueil) +* feat: cleanup, better sql logging, tests (Romain Dorgueil) +* feat: tpdex range slider update on pointer up (Arthur Degonde) +* feat: rangeslider onpointerup prop (Arthur Degonde) +* feat: filter based on tpdex facet (Arthur Degonde) +* refactor: remove unused condition in filter query (Arthur Degonde) +* test: tpdex facet filter (Arthur Degonde) +* test: updated filters meta (Arthur Degonde) +* refactor: reset all filters (Arthur Degonde) +* feat: tpdex facet (Arthur Degonde) +* feat: pass tpdex query params (Arthur Degonde) +* fix: rangeslider default values (Arthur Degonde) +* feat: tpdex in url (Arthur Degonde) +* feat: tpdex in url (Arthur Degonde) +* feat: simple range slider for perf index (Arthur Degonde) +* chore: housekeeping and cleanup (Romain Dorgueil) +* refactor: rename slider (Arthur Degonde) +* feat: slider component (Arthur Degonde) +* feat: fix create migration script syntax (Romain Dorgueil) +* feat: document migrations (Romain Dorgueil) +* fix: update meta for filters (Arthur Degonde) +* test: update snapshots (Arthur Degonde) +* feat: reset button and disable only choice on filters (Arthur Degonde) +* test: increase timeout for tests (Arthur Degonde) +* feat: first working implementation of sqlalchemy migrations using alembic (Romain Dorgueil) +* test: non exhaustive facet (Arthur Degonde) +* chore(deps): bump orjson from 3.10.3 to 3.10.4 (dependabot[bot]) +* docs: ref to telemetry docs in main index (Arthur Degonde) +* feat: non exhaustive facet (Arthur Degonde) +* feat: add admonition at documentation top (Romain Dorgueil) +* docs: telemetry docs (Arthur Degonde) +* chore(deps): bump dataclasses-json from 0.6.6 to 0.6.7 (dependabot[bot]) +* chore(deps): bump rich-click from 1.8.2 to 1.8.3 (dependabot[bot]) +* chore: image optimization (Romain Dorgueil) +* docs: logging documentation (Romain Dorgueil) +* fix: store states in url for transactions list (Arthur Degonde) +* feat: store states in url for transactions list (Arthur Degonde) +* fix: standard urls (Arthur Degonde) +* fix: standard urls (Arthur Degonde) +* feat: less log, more infos (Romain Dorgueil) +* feat: custom asdict implementation (Romain Dorgueil) +* docs: tuning http client config documentation (Romain Dorgueil) +* test: disabled settings (Arthur Degonde) +* feat: fix lazy callable so that pylance is happy (and remove unnecessary complexity) (Romain Dorgueil) +* docs: update httpclient example (Arthur Degonde) +* feat: apply new tools to dashboard settings (Romain Dorgueil) +* feat: a bit of documentation around settings (Romain Dorgueil) +* feat: more flexibility in cache config and simpler final code (yet, allows to pass arbitrary parameters and even override subcomponent types) (Romain Dorgueil) +* chore(deps): bump sentry-sdk from 2.4.0 to 2.5.0 (dependabot[bot]) +* chore(deps): bump hishel from 0.0.26 to 0.0.27 (dependabot[bot]) +* docs: update httpclient settings docs (Arthur Degonde) +* refactor: configurable httpclient (Arthur Degonde) +* feat: add no cache flag when request bypassed the cache storage explicitely (Romain Dorgueil) +* feat: check blob existence before insert (Romain Dorgueil) +* release: 0.5.0b10 (Romain Dorgueil) +* refactor: configurable httpclient (Arthur Degonde) +* feat: configurable timeout and cache (Arthur Degonde) +* doc: add http client index (Arthur Degonde) +* feat: configurable timeout and cache (Arthur Degonde) +* feat: display cache status in dashboard (Romain Dorgueil) +* feat: default makefile task now starts a devserver (Romain Dorgueil) +* feat: move visual tests into linux containers for better reproducibility (Romain Dorgueil) +* feat: upgrade ruff (closes #316). (Romain Dorgueil) +* feat: reset page when search changes (Arthur Degonde) +* release: 0.5.0b9 (Romain Dorgueil) +* chore: cleanup and update dependencies (Romain Dorgueil) +* feat: instead of deduping list in config, make sure the duplicates are handled beforehand (Romain Dorgueil) +* feat: add help link in top bar (Romain Dorgueil) +* test: snapshots update (Arthur Degonde) +* feat: standard urls for transactions list (Arthur Degonde) +* test: fix add app test (Arthur Degonde) +* test: standard urls for transactions list (Arthur Degonde) +* feat: standard urls for transactions list (Arthur Degonde) +* feat: standard urls for transactions list (Arthur Degonde) +* fix: handle duplicated enabled apps (Arthur Degonde) +* fix: reset command line option (Arthur Degonde) +* feat: use timezone aware timestamps (UTC) for metrics (Arthur Degonde) +* feat: use timezone aware timestamps (UTC) (Arthur Degonde) +* fix: user not found using sqlite in memory (Arthur Degonde) +* docs: update install doc (Arthur Degonde) +* docs: images in their room (Romain Dorgueil) +* docs: tuning (Romain Dorgueil) +* feat: minor tweaks to documentation home (Romain Dorgueil) +* feat: add pictures to user documentation, document tpdex (Romain Dorgueil) +* docs: tuning documentation, fixing stuff, better cli reference ... (Romain Dorgueil) +* release: 0.5.0b8 (Romain Dorgueil) +* feat: fix documentation url (Romain Dorgueil) +* feat: fix concurrency problem with sqlite in memory: looks like transactions return before sqlite really commited data to the underlying storage, and memory storage make it too fast (Romain Dorgueil) +* docs: minor tweaks and cleanup (Romain Dorgueil) +* docs: working on installation guide (Romain Dorgueil) +* feat: add ability to install from PyPI in runc_wheel script (Romain Dorgueil) +* docs: only clean distributed files on building python wheel (Romain Dorgueil) +* release: 0.5.0b7 (Romain Dorgueil) +* docs: chores and python release process (Romain Dorgueil) +* feat: remove useless instruction in sandbox script (Romain Dorgueil) +* feat: fix sandbox subprocess arguments (Romain Dorgueil) +* feat: more expliciteness on startup errors, stop with system status != 0 on startup error (Romain Dorgueil) +* feat: fix misnamed option for endpoints (Romain Dorgueil) +* feat: add quick ability to pass entrypoints using cli (Romain Dorgueil) +* feat: fix make clean to not depend on sphinx install for a simple directory removal (Romain Dorgueil) +* feat: abiility to test a wheel in container, fix tests (not really, time dependant) (Romain Dorgueil) +* wip (Romain Dorgueil) +* feat: add env var to force environment type (dev, prod) (Romain Dorgueil) +* chore(deps): bump orjson from 3.10.0 to 3.10.3 (dependabot[bot]) +* chore(deps-dev): bump sphinx from 7.2.6 to 7.3.7 (dependabot[bot]) +* chore(deps-dev): bump sphinx-autobuild from 2024.4.13 to 2024.4.16 (dependabot[bot]) +* chore(deps): bump aiohttp from 3.9.4 to 3.9.5 (dependabot[bot]) +* feat: dependencies, add faq entry for docker version problem with testcontainers (Romain Dorgueil) +* feat: create empty dir breaking test suite when missing (Romain Dorgueil) +* feat: run tests in docker using dind (Romain Dorgueil) +* chore(deps): bump hishel from 0.0.25 to 0.0.26 (dependabot[bot]) +* feat: add ability to run ci-like test suite locally using dind, fix container ip (Romain Dorgueil) +* chore(deps-dev): bump ruff from 0.3.5 to 0.3.7 (dependabot[bot]) +* feat: reinstall docker in development images (Romain Dorgueil) +* feat: migrate from alpine to debian to counter musl related problems with various cpu architectures (Romain Dorgueil) +* feat: fix cli, add max width to transaction (Romain Dorgueil) +* chore(deps): bump aiohttp from 3.9.3 to 3.9.4 (dependabot[bot]) +* chore(deps): bump sentry-sdk from 1.44.0 to 1.45.0 (dependabot[bot]) +* feat: increase default timeout to 30 sec (Romain Dorgueil) +* chore(deps-dev): bump testcontainers from 4.3.0 to 4.3.3 (dependabot[bot]) +* wip: uniformize cli (Romain Dorgueil) +* chore(deps-dev): bump pytest-asyncio from 0.21.1 to 0.23.6 (dependabot[bot]) +* chore(deps-dev): bump ruff from 0.1.15 to 0.3.5 (dependabot[bot]) +* chore(deps-dev): bump pytest-cov from 4.1.0 to 5.0.0 (dependabot[bot]) +* feat: include frontend in packaging (Romain Dorgueil) +* feat: dashboard paths (Romain Dorgueil) +* feat: cleanup of frontend modules (makefile) (Romain Dorgueil) +* chore: bump version (Romain Dorgueil) +* feat: move rich click to main dependencies (Romain Dorgueil) +* feat: add short description (Romain Dorgueil) +* feat: remove unsupported rst directives for pypi (Romain Dorgueil) +* feat: rename package to use available name on pypi (Romain Dorgueil) +* release: 0.5.0b3 (Romain Dorgueil) +* feat: fix rtd (Romain Dorgueil) +* feat: fix rtd (Romain Dorgueil) +* feat: fix rtd (Romain Dorgueil) +* feat: fix rtd (Romain Dorgueil) +* feat: read the docs (Romain Dorgueil) +* chore(deps): bump aiosqlite from 0.19.0 to 0.20.0 (dependabot[bot]) +* feat: unvendor whistle (Romain Dorgueil) +* feat: add missing dependency pyyaml (Romain Dorgueil) +* release: 0.5.0b2 (Romain Dorgueil) +* chore: cleanup and update dependencies (Romain Dorgueil) +* chore: update dependencies (Romain Dorgueil) +* docs: refactoring (Romain Dorgueil) +* docs: update readme (Romain Dorgueil) +* docs: update playwright install (Romain Dorgueil) +* chore(deps-dev): bump pytest from 7.4.4 to 8.1.1 (dependabot[bot]) +* chore(deps-dev): bump respx from 0.20.2 to 0.21.1 (dependabot[bot]) +* chore(deps): bump orjson from 3.9.15 to 3.10.0 (dependabot[bot]) +* chore(deps-dev): bump pre-commit from 3.6.2 to 3.7.0 (dependabot[bot]) +* update docs (Arthur Degonde) +* feat: mean apdex cannot be none (Romain Dorgueil) +* feat: readme warning (Romain Dorgueil) +* feat: early access label (Romain Dorgueil) +* feat: fix empty statistics (Romain Dorgueil) +* feat: minor fixes and cleanup (Romain Dorgueil) +* remove unused import for topology (Arthur Degonde) +* update snapshots (Arthur Degonde) +* hide topology tab in system (Arthur Degonde) +* test: update snapshots (Arthur Degonde) +* feat: handle images (Arthur Degonde) +* chore(deps-dev): bump sphinx-autobuild from 2021.3.14 to 2024.2.4 (dependabot[bot]) +* chore(deps-dev): bump furo from 2023.9.10 to 2024.1.29 (dependabot[bot]) +* chore(deps-dev): bump black from 23.12.1 to 24.3.0 (dependabot[bot]) +* chore(deps-dev): bump cryptography from 41.0.7 to 42.0.5 (dependabot[bot]) +* feat: cleaning up (Romain Dorgueil) +* feat: implements dashboard overview and apdex computations (Romain Dorgueil) +* feat: safer search feature (Arthur Degonde) +* chore(deps): bump hishel from 0.0.21 to 0.0.25 (dependabot[bot]) +* feat: handle large body with load all button (Arthur Degonde) +* feat: janitor do not clean flagged transactions (Arthur Degonde) +* style: change searchbar (Arthur Degonde) +* fix: handle duplicate indexes (Arthur Degonde) +* force reset to False (Arthur Degonde) +* feat: indexes and query for mysql transactions search (Arthur Degonde) +* feat: fix and document all makefile tasks (make help is your friend) (Romain Dorgueil) +* chore(deps): bump httpx from 0.26.0 to 0.27.0 (dependabot[bot]) +* feat: fixes for mysql (Arthur Degonde) +* feat: update searchbar style (Arthur Degonde) +* feat: add search bar in transactions page (Arthur Degonde) +* feat: get transactions from text (Arthur Degonde) +* chore(deps): bump asgiref from 3.7.2 to 3.8.1 (dependabot[bot]) +* chore(deps): bump sqlalchemy-utils from 0.41.1 to 0.41.2 (dependabot[bot]) +* chore(deps): bump sqlalchemy from 2.0.28 to 2.0.29 (dependabot[bot]) +* chore(deps-dev): bump testcontainers from 3.7.1 to 4.2.0 (dependabot[bot]) +* rename pnpm commands for ui (Arthur Degonde) +* fix types and colors (Arthur Degonde) +* adapt code for frontend into dashboard app (Arthur Degonde) +* feat: add tests to janitor worker, refactor storage a bit (Romain Dorgueil) +* chore(deps-dev): bump msw from 2.2.9 to 2.2.11 in /frontend (dependabot[bot]) +* move frontend into dashboard app (Arthur Degonde) +* delete mkui from vendors (Arthur Degonde) +* move mkui to frontend/src/ui (Arthur Degonde) +* feat: uniform behaviour for orphans (Romain Dorgueil) +* feat: on delete cascade on many things (Romain Dorgueil) +* feat: fix created_at definition problem (Romain Dorgueil) +* feat: adds orphan blob count to janitor (Romain Dorgueil) +* feat: basic implementation of a background task in janitor app that counts entities (Romain Dorgueil) +* chore(deps): bump @sentry/browser from 7.107.0 to 7.108.0 in /frontend (dependabot[bot]) +* feat: fix ci version (Romain Dorgueil) +* feat: cleanup after ui changes, refactoring, corner sweeping (Romain Dorgueil) +* feat: basic handling of timeouts and other http errors (both in storage and frontend) (Romain Dorgueil) +* feat: expose user agent (Romain Dorgueil) +* feat: nowrap headers (Romain Dorgueil) +* feat: details close button (Romain Dorgueil) +* feat: transaction details ui (Romain Dorgueil) +* feat: refactor paginator for smaller components (Romain Dorgueil) +* feat: refactor title to add right floating things, move paginator there (Romain Dorgueil) +* feat: minor tuning in ui (Romain Dorgueil) +* feat: transaction list ui (Romain Dorgueil) +* feat: update deps (Romain Dorgueil) +* chore(deps-dev): bump typescript from 5.3.3 to 5.4.2 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @babel/preset-typescript in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @babel/preset-env in /vendors/mkui (dependabot[bot]) +* feat: better navigation, update tests and doc (Romain Dorgueil) +* feat: better navigation for transactions (ux) (Romain Dorgueil) +* feat: better request handling using multichainmaps (Romain Dorgueil) +* chore(deps-dev): bump postcss from 8.4.36 to 8.4.37 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump msw from 2.2.7 to 2.2.9 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/node from 20.11.28 to 20.11.30 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/react in /vendors/mkui (dependabot[bot]) +* feat: add host header (Romain Dorgueil) +* chore(deps-dev): bump postcss from 8.4.35 to 8.4.36 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @ladle/react from 4.0.2 to 4.0.3 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump vitest and @vitest/coverage-v8 in /vendors/mkui (dependabot[bot]) +* chore(deps): bump react-router-dom from 6.22.1 to 6.22.3 in /frontend (dependabot[bot]) +* chore(deps-dev): bump msw from 2.2.3 to 2.2.7 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/node from 20.11.27 to 20.11.28 in /frontend (dependabot[bot]) +* chore(deps): bump recharts from 2.12.2 to 2.12.3 in /frontend (dependabot[bot]) +* chore(deps): bump date-fns from 3.5.0 to 3.6.0 in /frontend (dependabot[bot]) +* feat: better api doc generation, bits of cleanup (Romain Dorgueil) +* feat: fix prettifycation of json blobs that are not json (Romain Dorgueil) +* feat: simplify and remove unused code (Romain Dorgueil) +* feat: fix ci (Romain Dorgueil) +* feat: tune makefile to help container tests (Romain Dorgueil) +* feat: fix static build (Romain Dorgueil) +* chore(deps-dev): bump vite from 5.1.4 to 5.1.6 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @types/react-dom in /vendors/mkui (dependabot[bot]) +* feat: http submodule refactoring with response (Romain Dorgueil) +* chore(deps-dev): bump eslint-plugin-react-refresh in /frontend (dependabot[bot]) +* chore(deps): bump @sentry/browser from 7.106.1 to 7.107.0 in /frontend (dependabot[bot]) +* chore(deps): bump react-error-boundary in /frontend (dependabot[bot]) +* chore(deps): bump date-fns from 3.3.1 to 3.5.0 in /frontend (dependabot[bot]) +* chore(deps-dev): bump vite-tsconfig-paths in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/react in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump autoprefixer in /vendors/mkui (dependabot[bot]) +* feat: refactor request, add --mock option (Romain Dorgueil) +* chore(deps): bump @emotion/react in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump eslint from 8.56.0 to 8.57.0 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/node from 20.11.20 to 20.11.27 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/react in /vendors/mkui (dependabot[bot]) +* chore(deps): bump @sentry/browser from 7.102.1 to 7.106.1 in /frontend (dependabot[bot]) +* chore(deps-dev): bump msw from 2.2.1 to 2.2.3 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @playwright/test in /vendors/mkui (dependabot[bot]) +* chore(deps): bump recharts from 2.12.0 to 2.12.2 in /frontend (dependabot[bot]) +* wip: http/asgi (Romain Dorgueil) +* chore(deps-dev): bump @babel/preset-env in /vendors/mkui (dependabot[bot]) +* misc: doc cosmetics and disable temporarily failing tests (Romain Dorgueil) +* chore(deps-dev): bump @vitest/coverage-v8 in /vendors/mkui (dependabot[bot]) +* feat: add --reset to cli, better error hierarchy, refactor telemetry to not work before it can (Romain Dorgueil) +* feat: server should not start if an application raised on bind/bound (Romain Dorgueil) +* feat: tuning license (Romain Dorgueil) +* feat: tuning license (Romain Dorgueil) +* feat: move license to rst for github (Romain Dorgueil) +* feat: tuning license before publication (Romain Dorgueil) +* feat: update readme (Romain Dorgueil) +* feat: fix test env, add better logging on startup, nicer fail if startu cannot complete (Romain Dorgueil) +* feat: skip tests that requires local dev extra installed if not available (Romain Dorgueil) +* feat: small cli doc (Romain Dorgueil) +* chore(deps-dev): bump vitest from 1.2.2 to 1.3.1 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @types/react in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump msw from 2.2.0 to 2.2.1 in /frontend (dependabot[bot]) +* chore(deps): bump react-router-dom from 6.22.0 to 6.22.1 in /frontend (dependabot[bot]) +* chore(deps-dev): bump vite from 5.1.1 to 5.1.4 in /vendors/mkui (dependabot[bot]) +* chore(deps): bump @sentry/browser from 7.101.0 to 7.102.1 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/node from 20.11.17 to 20.11.20 in /frontend (dependabot[bot]) +* doc: going back to symlinks (Arthur Degonde) +* test: fix ci (Arthur Degonde) +* docs: maxdepth for apps (Arthur Degonde) +* docs: fix documentation links disappearing (Arthur Degonde) +* docs: fix links to applications (Arthur Degonde) +* chore(deps-dev): bump typescript from 5.2.2 to 5.3.3 in /vendors/mkui (dependabot[bot]) +* docs: document e2e frontend testing (Arthur Degonde) +* build: update testing scripts (Arthur Degonde) +* docs: document testing for frontend (Arthur Degonde) +* test: test pages in browser (Arthur Degonde) +* test: add test for transactions and system dependencies (Arthur Degonde) +* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (dependabot[bot]) +* chore(deps): bump @sentry/browser from 7.100.1 to 7.101.0 in /frontend (dependabot[bot]) +* build: remove playwright github action (Arthur Degonde) +* test: very basic overview page test with playwright (Arthur Degonde) +* test: set up playwright with msw (Arthur Degonde) +* test: install playwright (Arthur Degonde) +* chore(deps-dev): bump vite from 5.0.12 to 5.1.1 in /vendors/mkui (dependabot[bot]) +* test: snapshot transactions list page (Arthur Degonde) +* test: snapshot transactions detail page (Arthur Degonde) +* test: update system page snapshot (Arthur Degonde) +* test: snapshot transaction detail (Arthur Degonde) +* refactor: move transactiondetail smart component to a containers folder (Arthur Degonde) +* test: snapshot for filters sidebar (Arthur Degonde) +* test: unit tests systempage with act (Arthur Degonde) +* test: unit tests systempage (Arthur Degonde) +* test: take snapshot for system settings tab (Arthur Degonde) +* test: take snapshot for topology tab (Arthur Degonde) +* test: take snapshot for layout (Arthur Degonde) +* test: test systemdependenciestabpanel (Arthur Degonde) +* test: fix vite config (Arthur Degonde) +* wip: reproducible error (Arthur Degonde) +* test: create handler for system endpoint (Arthur Degonde) +* test: update snapshot and test config (Arthur Degonde) +* test: test transaction data table (Arthur Degonde) +* test: remove console logs from page test (Arthur Degonde) +* test: test page component (Arthur Degonde) +* test: adjust coverage config (Arthur Degonde) +* test: add unit tests coverage tool (Arthur Degonde) +* test: headers table unit test (Arthur Degonde) +* test: facets snapshots (Arthur Degonde) +* test: facets snapshots (Arthur Degonde) +* test: fix warnings (Arthur Degonde) +* test: response heading test (Arthur Degonde) +* test: request heading test (Arthur Degonde) +* test: transactions message panel test (Arthur Degonde) +* test: settings table unit test (Arthur Degonde) +* test: topology unit test (Arthur Degonde) +* test: rename test folder (Arthur Degonde) +* test: refactor and test overview page (Arthur Degonde) +* test: fix ts error (Arthur Degonde) +* chore(deps-dev): bump @types/node from 20.11.16 to 20.11.17 in /frontend (dependabot[bot]) +* chore(deps): bump recharts from 2.11.0 to 2.12.0 in /frontend (dependabot[bot]) +* test: mocking api server with msw (Arthur Degonde) +* test: update config and delete vitest config (Arthur Degonde) +* test: update config (Arthur Degonde) +* test: update config and other tests (Arthur Degonde) +* test: update other tests using vitest (Arthur Degonde) +* test: use and implement fist vitest tests (Arthur Degonde) +* test: update snapshots (Arthur Degonde) +* test: better jest config (Arthur Degonde) +* chore(deps): bump @sentry/browser from 7.100.0 to 7.100.1 in /frontend (dependabot[bot]) +* chore(deps-dev): bump postcss from 8.4.34 to 8.4.35 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @types/react-dom in /vendors/mkui (dependabot[bot]) +* test: snapshot for transactionchart (Arthur Degonde) +* test: first test using vitest (Arthur Degonde) +* refactor: clear split between dumb and smart components for overview (Arthur Degonde) +* build: ignore coverage folder in mkui (Arthur Degonde) +* test: snapshot for Tabs (Arthur Degonde) +* test: snapshot for Pane (Arthur Degonde) +* test: snapshot for Paginator (Arthur Degonde) +* test: snapshot for NavBar (Arthur Degonde) +* test: snapshot for FormWidgets (Arthur Degonde) +* test: snapshot for DataTable (Arthur Degonde) +* test: snapshot for ButtonGroup (Arthur Degonde) +* test: snapshot for Button (Arthur Degonde) +* test: snapshot for Badge (Arthur Degonde) +* chore(deps-dev): bump @types/react in /vendors/mkui (dependabot[bot]) +* chore(deps): bump @sentry/browser from 7.99.0 to 7.100.0 in /frontend (dependabot[bot]) +* chore(deps): bump match-sorter from 6.3.3 to 6.3.4 in /frontend (dependabot[bot]) +* build: update harp makefile (Arthur Degonde) +* tests: adjust test config (Arthur Degonde) +* tests: add unit tests for tabs (Arthur Degonde) +* tests: add unit tests for paginator (Arthur Degonde) +* tests: add unit tests for navbar (Arthur Degonde) +* tests: add unit tests for checkbox (Arthur Degonde) +* tests: add unit tests for radio component (Arthur Degonde) +* chore(deps-dev): bump @typescript-eslint/parser in /frontend (dependabot[bot]) +* tests: add unit tests for datatable (Arthur Degonde) +* tests: add unit tests for Buttons and Badge (Arthur Degonde) +* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (dependabot[bot]) +* chore(deps-dev): bump postcss from 8.4.33 to 8.4.34 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @types/react in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @types/react in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump prettier from 3.2.4 to 3.2.5 in /vendors/mkui (dependabot[bot]) +* feat: fix broken symlinks (Romain Dorgueil) +* chore(deps): bump react-router-dom from 6.21.3 to 6.22.0 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/node from 20.11.14 to 20.11.16 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @types/react in /vendors/mkui (dependabot[bot]) +* Update README.rst (Romain Dorgueil) +* Update README.rst (Romain Dorgueil) +* feat: expose 4080 in dockerfile (Romain Dorgueil) +* docs: tuning index (Romain Dorgueil) +* feat: better versions in docs built by ci (Romain Dorgueil) +* feat: update docs with analytics and sitemap (Romain Dorgueil) +* Update documentation.yml (Romain Dorgueil) +* Update documentation.yml (Romain Dorgueil) +* chore(deps-dev): bump @typescript-eslint/parser in /frontend (dependabot[bot]) +* Update documentation.yml (Romain Dorgueil) +* Update documentation.yml (Romain Dorgueil) +* Update documentation.yml (Romain Dorgueil) +* Update documentation.yml (Romain Dorgueil) +* Update documentation.yml (Romain Dorgueil) +* Update documentation.yml (Romain Dorgueil) +* Create documentation.yml (Romain Dorgueil) +* chore(deps-dev): bump @types/node from 20.11.5 to 20.11.14 in /frontend (dependabot[bot]) +* chore(deps): bump @sentry/browser from 7.95.0 to 7.99.0 in /frontend (dependabot[bot]) +* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (dependabot[bot]) +* chore(deps): bump recharts from 2.10.4 to 2.11.0 in /frontend (dependabot[bot]) +* feat: more readable interface for routing controllers (Romain Dorgueil) +* feat: flatten directory structure even more (Romain Dorgueil) +* feat: add telemetry ping every 24 hours (Romain Dorgueil) +* feat: add usage in telemetry, fix storage scope to singleton to avoid multiple instances (Romain Dorgueil) +* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (dependabot[bot]) +* feat: telemetry (Romain Dorgueil) +* feat: simple tests for telemetry (Romain Dorgueil) +* chore(deps): bump @sentry/browser from 7.94.1 to 7.95.0 in /frontend (dependabot[bot]) +* fix: disable telemetry in subprocess tests (Romain Dorgueil) +* feat: telemetry endpoint as attr (Romain Dorgueil) +* feat: make sure telemetry does not apply to tests, unless explicitely added (Romain Dorgueil) +* chore(deps): bump date-fns from 3.3.0 to 3.3.1 in /frontend (dependabot[bot]) +* feat: flatten directory structure (Romain Dorgueil) +* fix: remove debug print statement (Romain Dorgueil) +* feat: add docker cli to dev containers while we are root (Romain Dorgueil) +* feat: remove odbc related deps that we do not use yet and that are hard to build on ci env (Romain Dorgueil) +* feat: sync tw versions with ui (Romain Dorgueil) +* feat: attempt to use devcontainers in tests (Romain Dorgueil) +* feat: add a proof of concept of testing with all available database systems (via testcontainers+docker) (Romain Dorgueil) +* chore(deps-dev): bump @typescript-eslint/parser in /frontend (dependabot[bot]) +* feat: first naive implementation of telemetry (Romain Dorgueil) +* chore(deps-dev): bump vite-tsconfig-paths in /frontend (dependabot[bot]) +* chore(deps): bump react-router-dom from 6.21.2 to 6.21.3 in /frontend (dependabot[bot]) +* chore(deps): bump date-fns from 3.2.0 to 3.3.0 in /frontend (dependabot[bot]) +* chore(deps): bump @sentry/browser from 7.93.0 to 7.94.1 in /frontend (dependabot[bot]) +* chore(deps-dev): bump vite from 5.0.11 to 5.0.12 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump twin.macro from 3.4.0 to 3.4.1 in /vendors/mkui (dependabot[bot]) +* chore(deps-dev): bump @playwright/test in /vendors/mkui (dependabot[bot]) diff --git a/docs/contribute/changelogs/index.rst b/docs/contribute/changelogs/index.rst index 095626c0..d3beeded 100644 --- a/docs/contribute/changelogs/index.rst +++ b/docs/contribute/changelogs/index.rst @@ -4,6 +4,7 @@ Changelogs .. toctree:: :maxdepth: 1 + 0.5.0rc2 0.5.0rc1 0.4.0 0.3.2 diff --git a/harp/__init__.py b/harp/__init__.py index 4b354abe..91e3ff98 100644 --- a/harp/__init__.py +++ b/harp/__init__.py @@ -46,7 +46,7 @@ def _parse_version(version: str, /, *, default=None) -> Version: # last release __title__ = "Core" -__version__ = "0.5.0rc1" +__version__ = "0.5.0rc2" __revision__ = __version__ # we can't commit the not yet known revision # override with version.txt if available (after docker build for example) diff --git a/harp_apps/dashboard/frontend/package.json b/harp_apps/dashboard/frontend/package.json index eaa4d4db..c681c7d2 100644 --- a/harp_apps/dashboard/frontend/package.json +++ b/harp_apps/dashboard/frontend/package.json @@ -11,17 +11,17 @@ "ui:serve:prod": "ladle preview -p 61110", "ui:serve:dev": "ladle serve -p 61110", "ui:serve": "pnpm ui:serve:dev", - "test:ui:dev": "cross-env TYPE=dev pnpm exec playwright test -c src/ui/playwright.config.ts", - "test:ui:prod": "cross-env TYPE=prod pnpm exec playwright test -c src/ui/playwright.config.ts", - "test:ui:update": "cross-env TYPE=update pnpm exec playwright test -c src/ui/playwright.config.ts -u", + "test:ui:dev": "cross-env TYPE=dev LANG=en_US.UTF-8 pnpm exec playwright test -c src/ui/playwright.config.ts", + "test:ui:prod": "cross-env TYPE=prod LANG=en_US.UTF-8 pnpm exec playwright test -c src/ui/playwright.config.ts", + "test:ui:update": "cross-env TYPE=update LANG=en_US.UTF-8 pnpm exec playwright test -c src/ui/playwright.config.ts -u", "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix", "preview": "vite preview", - "test:unit": "vitest run", - "test:unit:update": "vitest run --update", - "test:browser": "playwright test", - "test:coverage": "vitest run --coverage", - "test": "pnpm run test:unit && pnpm run test:browser && pnpm test:ui:dev" + "test:unit": "cross-env LANG=en_US.UTF-8 vitest run", + "test:unit:update": "cross-env LANG=en_US.UTF-8 vitest run --update", + "test:browser": "cross-env LANG=en_US.UTF-8 playwright test", + "test:coverage": "cross-env LANG=en_US.UTF-8 vitest run --coverage", + "test": "pnpm run test:unit && pnpm run test:browser" }, "babelMacros": { "twin": { diff --git a/harp_apps/dashboard/frontend/src/Pages/Overview/Sections/Components/__snapshots__/TransactionsHistory.test.tsx.snap b/harp_apps/dashboard/frontend/src/Pages/Overview/Sections/Components/__snapshots__/TransactionsHistory.test.tsx.snap index 98e89313..41e9b254 100644 --- a/harp_apps/dashboard/frontend/src/Pages/Overview/Sections/Components/__snapshots__/TransactionsHistory.test.tsx.snap +++ b/harp_apps/dashboard/frontend/src/Pages/Overview/Sections/Components/__snapshots__/TransactionsHistory.test.tsx.snap @@ -50,7 +50,7 @@ exports[`renders the title and data when the query is successful 1`] = ` Errors: - 50,0 % + 50.0% diff --git a/harp_apps/dashboard/frontend/src/Pages/Overview/Sections/Components/__snapshots__/TransactionsHistoryOnQuerySuccess.test.tsx.snap b/harp_apps/dashboard/frontend/src/Pages/Overview/Sections/Components/__snapshots__/TransactionsHistoryOnQuerySuccess.test.tsx.snap index 911866c8..576e8b9d 100644 --- a/harp_apps/dashboard/frontend/src/Pages/Overview/Sections/Components/__snapshots__/TransactionsHistoryOnQuerySuccess.test.tsx.snap +++ b/harp_apps/dashboard/frontend/src/Pages/Overview/Sections/Components/__snapshots__/TransactionsHistoryOnQuerySuccess.test.tsx.snap @@ -50,7 +50,7 @@ exports[`renders without crashing 1`] = ` Errors: - 5,0 % + 5.0% diff --git a/harp_apps/dashboard/frontend/src/Pages/Overview/__snapshots__/OverviewPage.test.tsx.snap b/harp_apps/dashboard/frontend/src/Pages/Overview/__snapshots__/OverviewPage.test.tsx.snap index 84bed5e9..8f896b2f 100644 --- a/harp_apps/dashboard/frontend/src/Pages/Overview/__snapshots__/OverviewPage.test.tsx.snap +++ b/harp_apps/dashboard/frontend/src/Pages/Overview/__snapshots__/OverviewPage.test.tsx.snap @@ -820,7 +820,7 @@ exports[`renders the title and data when the query is successful 1`] = ` Errors: - 50,0 % + 50.0% @@ -883,7 +883,7 @@ exports[`renders the title and data when the query is successful 1`] = ` Errors: - 50,0 % + 50.0% @@ -943,7 +943,7 @@ exports[`renders the title and data when the query is successful 1`] = ` Errors: - 50,0 % + 50.0% diff --git a/misc/helm/charts/harp-proxy/Chart.yaml b/misc/helm/charts/harp-proxy/Chart.yaml index c24a46be..045fc312 100644 --- a/misc/helm/charts/harp-proxy/Chart.yaml +++ b/misc/helm/charts/harp-proxy/Chart.yaml @@ -3,7 +3,7 @@ name: harp-proxy description: HTTP API Runtime Proxy type: application version: "0.1.0" -appVersion: "0.5.0rc1" +appVersion: "0.5.0rc2" dependencies: - name: postgresql diff --git a/pyproject.toml b/pyproject.toml index 1ee200ca..741b4697 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "harp-proxy" -version = "0.5.0rc1" +version = "0.5.0rc2" description = "Harp is an API Runtime Proxy – A toolkit for Fast, Reliable and Observable external APIs" authors = ["Romain Dorgueil "] readme = "README.rst"