From 3b0e10c6975937ced1c1a7056aa8e8cbdecb9b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=A7?= <90313638+actualwitch@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:21:12 +0100 Subject: [PATCH] Prepare release 1.0.0 (#102) --- CHANGELOG.md | 34 ++++++++++++++++++++++++---------- pyproject.toml | 4 +--- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4229df0..d763f50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,18 +12,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added -- Added support for `record_error_if` and `record_success_if` -- Added OTLP exporters for OpenTelemetry tracker (#89) -- Added `repository_url` and `repository_provider` labels to `build_info` (#97) -- Added `autometrics.version` label to `build_info` (#101) +- ### Changed -- [💥 Breaking change] `init` function is now required to be called before using autometrics (#89) -- Prometheus exporters are now configured via `init` function (#89) -- Updated examples to call `init` function (#94) -- Updated `docker compose` / `tilt` config in repo to include grafana with our dashboards (#94) -- `Objective`s will now emit a warning when name contains characters other than alphanumeric and dash (#99) +- ### Deprecated @@ -39,10 +32,31 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Security +- + +## [1.0.0] (https://github.com/autometrics-dev/autometrics-py/releases/tag/1.0.0) - 2023-11-14 + +### Added + +- Added support for `record_error_if` and `record_success_if` +- Added OTLP exporters for OpenTelemetry tracker (#89) +- Added `repository_url` and `repository_provider` labels to `build_info` (#97) +- Added `autometrics.version` label to `build_info` (#101) + +### Changed + +- [💥 Breaking change] `init` function is now required to be called before using autometrics (#89) +- Prometheus exporters are now configured via `init` function (#89) +- Updated examples to call `init` function (#94) +- Updated `docker compose` / `tilt` config in repo to include grafana with our dashboards (#94) +- `Objective`s will now emit a warning when name contains characters other than alphanumeric and dash (#99) + +### Security + - Updated FastAPI and Pydantic dependencies in the examples group (#89) - Updated dependencies in dev and examples groups (#97) -## [0.9](https://github.com/autometrics-dev/autometrics-py/releases/tag/0.8) - 2023-07-24 +## [0.9](https://github.com/autometrics-dev/autometrics-py/releases/tag/0.9) - 2023-09-24 ### Added diff --git a/pyproject.toml b/pyproject.toml index f0d77ae..90de75f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "autometrics" -version = "0.9" +version = "1.0.0" description = "Easily add metrics to your system – and actually understand them using automatically customized Prometheus queries" authors = ["Fiberplane "] license = "MIT OR Apache-2.0" @@ -71,7 +71,6 @@ mypy = "^1.5.1" twine = "4.0.2" - [tool.poetry.group.examples] optional = true @@ -114,7 +113,6 @@ locust = "^2.15.1" django-stubs = "4.2.3" - [tool.poetry.group.development.dependencies] types-requests = "^2.31.0.2" django-stubs = "^4.2.3"