From 9fc5316a42378afa09e5c11de014626e08e7e435 Mon Sep 17 00:00:00 2001 From: Parker Selbert Date: Tue, 7 Jan 2025 16:28:00 +0000 Subject: [PATCH] Release v1.0.0 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++-- README.md | 2 +- mix.exs | 2 +- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7664330..ea50cb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,31 @@ -# Changelog for Oban Met v0.1.0 +# Changelog for Oban Met v1.0 -Initial release! +## v1.0.0 — 2025-01-16 + +This is the official v1.0 release _and_ the package is now open source! + +### Enhancements + +- [Reporter] Count queries work with all official Oban engines and databases (Postgres, SQLite, + and MySQL). + +- [Migration] Add ability to explicitly create estimate function through a dedicated migration. + + For databases that don't allow the application connect to create new functions, this adds an + `Oban.Met.Migration` module and an option to disable auto-migrating in the reporter. + +### Bug Fixes + +- [Reporter] Skip queries with empty states or queues to prevent query errors. + + Querying with an empty list may cause the following error: + + ``` + (Postgrex.Error) ERROR 42809 (wrong_object_type) op ANY/ALL (array) + ``` + + This fixes the error by skipping queries for empty lists. This could happen if all of the states + were above the estimate threshold, or no active queues were found. ## v0.1.11 — 2024-10-16 diff --git a/README.md b/README.md index ddcc0c1..183642d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Met is a distributed, compacting, multidimensional, telemetry-powered time series datastore for -Oban that requires no configurion. It gathers data for queues, job counts, execution metrics, +Oban that requires no configuration. It gathers data for queues, job counts, execution metrics, active crontabs, historic metrics, and more. Met powers the charts and runtime details shown in the [Oban Web][web] dashboard. diff --git a/mix.exs b/mix.exs index c449152..dddd356 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule Oban.Met.MixProject do use Mix.Project @source_url "https://github.com/oban-bg/oban_met" - @version "1.0.0-dev" + @version "1.0.0" def project do [