Browse Source

Use Changelog.jl.

pull/17/head
Fredrik Ekre 2 years ago
parent
commit
c2445c24c3
No known key found for this signature in database
GPG Key ID: DE82E6D5E364C0A2
  1. 46
      CHANGELOG.md

46
CHANGELOG.md

@ -5,45 +5,43 @@ 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/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
<!-- ## [Unreleased] --> ## [v1.3.0] - 2023-11-29
## [1.3.0] - 2023-11-29
### Added ### Added
- `Base.getindex` is overloaded for the `Prometheus.Family` collector to have the same - `Base.getindex` is overloaded for the `Prometheus.Family` collector to have the same
meaning as `Prometheus.labels`. `family[labels]` is equivalent to meaning as `Prometheus.labels`. `family[labels]` is equivalent to
`Prometheus.labels(family, labels)`. ([#13][github-13]) `Prometheus.labels(family, labels)`. ([#13])
### Fixed ### Fixed
- The `ProcessCollector` is now initialized on first use in a given process. This fixes a - The `ProcessCollector` is now initialized on first use in a given process. This fixes a
bug where values cached during precompilation (e.g. system boot time) would be used bug where values cached during precompilation (e.g. system boot time) would be used
instead of the current values. ([#14][github-14]) instead of the current values. ([#14])
## [1.2.0] - 2023-11-22 ## [v1.2.0] - 2023-11-22
### Added ### Added
- The fourth basic collector, `Histogram`, have been added. ([#10][github-10]) - The fourth basic collector, `Histogram`, have been added. ([#10])
## [1.1.0] - 2023-11-13 ## [v1.1.0] - 2023-11-13
### Added ### Added
- New macro `Prometheus.@time collector <expr>` for timing `<expr>` and pass the elapsed - New macro `Prometheus.@time collector <expr>` for timing `<expr>` and pass the elapsed
time to the collector. `<expr>` can be a single expression, a block, or a function time to the collector. `<expr>` can be a single expression, a block, or a function
*definition*. In the latter case, all calls to the function will be instrumented (no *definition*. In the latter case, all calls to the function will be instrumented (no
matter the call site). See documentation for more details. ([#6][github-6]) matter the call site). See documentation for more details. ([#6])
- New macro `Prometheus.@inprogress collector <expr>` to track number of in-progress - New macro `Prometheus.@inprogress collector <expr>` to track number of in-progress
concurrent evalutations of `<expr>`. Just like `Prometheus.@time`, valid `<expr>`s are concurrent evalutations of `<expr>`. Just like `Prometheus.@time`, valid `<expr>`s are
single expressions, blocks, and function definitions. See documentation for more details. single expressions, blocks, and function definitions. See documentation for more details.
([#6][github-6]) ([#6])
- New ways to specify label names and label values in `Prometheus.Family{C}`. Label names - New ways to specify label names and label values in `Prometheus.Family{C}`. Label names
can now be passed to the constructor as i) a tuple of strings or symbols, ii) a named can now be passed to the constructor as i) a tuple of strings or symbols, ii) a named
tuple type (names used for label names), or iii) a custom struct type (field names used tuple type (names used for label names), or iii) a custom struct type (field names used
for label names). Similarly, label values (passed to e.g. `Prometheus.labels`) can be for label names). Similarly, label values (passed to e.g. `Prometheus.labels`) can be
passed as i) tuple of strings, ii) named tuple, iii) struct instance. See documentation passed as i) tuple of strings, ii) named tuple, iii) struct instance. See documentation
for examples and more details. ([#7][github-7]) for examples and more details. ([#7])
## [1.0.1] - 2023-11-06 ## [v1.0.1] - 2023-11-06
### Fixed ### Fixed
- Fixed verification of metric names and label names. - Fixed verification of metric names and label names.
- Correctly escape special characters in exposition (specifically help and label values). - Correctly escape special characters in exposition (specifically help and label values).
## [1.0.0] - 2023-11-05 ## [v1.0.0] - 2023-11-05
First stable release of Prometheus.jl: First stable release of Prometheus.jl:
@ -59,15 +57,15 @@ First stable release of Prometheus.jl:
See [README.md](README.md) for details and documentation. See [README.md](README.md) for details and documentation.
[github-6]: https://github.com/fredrikekre/Prometheus.jl/pull/6 <!-- Links generated by Changelog.jl -->
[github-7]: https://github.com/fredrikekre/Prometheus.jl/pull/7
[github-10]: https://github.com/fredrikekre/Prometheus.jl/pull/10
[github-13]: https://github.com/fredrikekre/Prometheus.jl/pull/13
[github-14]: https://github.com/fredrikekre/Prometheus.jl/pull/14
[Unreleased]: https://github.com/fredrikekre/Prometheus.jl/compare/v1.3.0...HEAD [v1.0.0]: https://github.com/fredrikekre/Prometheus.jl/releases/tag/v1.0.0
[1.3.0]: https://github.com/fredrikekre/Prometheus.jl/compare/v1.2.0...v1.3.0 [v1.0.1]: https://github.com/fredrikekre/Prometheus.jl/releases/tag/v1.0.1
[1.2.0]: https://github.com/fredrikekre/Prometheus.jl/compare/v1.1.0...v1.2.0 [v1.1.0]: https://github.com/fredrikekre/Prometheus.jl/releases/tag/v1.1.0
[1.1.0]: https://github.com/fredrikekre/Prometheus.jl/compare/v1.0.1...v1.1.0 [v1.2.0]: https://github.com/fredrikekre/Prometheus.jl/releases/tag/v1.2.0
[1.0.1]: https://github.com/fredrikekre/Prometheus.jl/compare/v1.0.0...v1.0.1 [v1.3.0]: https://github.com/fredrikekre/Prometheus.jl/releases/tag/v1.3.0
[1.0.0]: https://github.com/fredrikekre/Prometheus.jl/tree/v1.0.0 [#6]: https://github.com/fredrikekre/Prometheus.jl/issues/6
[#7]: https://github.com/fredrikekre/Prometheus.jl/issues/7
[#10]: https://github.com/fredrikekre/Prometheus.jl/issues/10
[#13]: https://github.com/fredrikekre/Prometheus.jl/issues/13
[#14]: https://github.com/fredrikekre/Prometheus.jl/issues/14

Loading…
Cancel
Save