Skip to content

Commit

Permalink
[WIP] Release v0.10.0 (#383)
Browse files Browse the repository at this point in the history
* chore(build): Prepare release v0.10.0

* chore(build): Fix test

* chore(build): Update changes
  • Loading branch information
lquerel authored Sep 20, 2024
1 parent 3192be4 commit aeb230e
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 39 deletions.
19 changes: 13 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@

All notable changes to this project will be documented in this file.

## [Next] - YYYY-MM-DD
## [0.10.0] - 2024-09-23

What's changed

* Add `escape_square_brackets` into `comment_formats` markdown configuration. ([#XXX](...) by lquerel).
* Add `enforce_trailing_dots` into the `comment_formats` configuration. ([#XXX](...) by lquerel).
* Add support for `indent_type` in both the comment filter and the `comment_formats` configuration. ([#XXX](...) by lquerel).
* Add `regex_replace` filter to support replacing text using regex. ([#XXX](...) by lquerel).
* Add support log based `event` definitions with a `body` of new `AnyValue` type. ([#XXX](...) by MSNev).
* Add support log based `event` definitions with a `body` of new `AnyValue` type. ([#297](https://github.com/open-telemetry/weaver/pull/297) by @MSNev).
* Add `escape_square_brackets` into `comment_formats` markdown configuration. ([#379](https://github.com/open-telemetry/weaver/pull/379) by @lquerel).
* Add `enforce_trailing_dots` into the `comment_formats` configuration. ([#378](https://github.com/open-telemetry/weaver/pull/378) by @lquerel).
* Add support for `indent_type` in both the comment filter and the `comment_formats` configuration. ([#377](https://github.com/open-telemetry/weaver/pull/377) by @lquerel).
* Add `regex_replace` filter to support replacing text using regex. ([#380](https://github.com/open-telemetry/weaver/pull/380) by @lquerel).
* Bump opentelemetry_sdk from 0.24.1 to 0.25.0 (#369)
* Bump opentelemetry-stdout from 0.5.0 to 0.25.0 (#368)
* Bump anyhow from 1.0.88 to 1.0.89 (#370)
* Bump regorus from 0.2.4 to 0.2.5 (#375)
* Bump minijinja-contrib from 2.2.0 to 2.3.1 (#376)
* Bump minijinja from 2.2.0 to 2.3.1 (#371)
* Bump globset from 0.4.14 to 0.4.15 (#366)

## [0.9.2] - 2024-09-09

Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver"
version = "0.9.2"
version = "0.10.0"
authors = ["OpenTelemetry"]
edition = "2021"
repository = "https://github.com/open-telemetry/weaver"
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_cache/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_cache"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_checker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_checker"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_codegen_test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_codegen_test"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_common"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_diff/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_diff"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_forge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_forge"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
/// > Lorem ipsum dolor sit amet, consectetur adipiscing
/// > elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
///
/// > \[!NOTE\] Something very important here
/// > [!NOTE] Something very important here
const ATTR: &str = "";


10 changes: 2 additions & 8 deletions crates/weaver_forge/src/formats/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ pub struct MarkdownRenderOptions {
#[serde(default)]
pub(crate) escape_backslashes: bool,
/// Whether to escape square brackets in the Markdown text. Valid links are not affected.
/// Default is true.
#[serde(default = "default_bool::<true>")]
/// Default is false.
#[serde(default)]
pub(crate) escape_square_brackets: bool,
/// Whether to indent the first level of list items in the markdown.
/// Default is false.
Expand All @@ -34,12 +34,6 @@ pub struct MarkdownRenderOptions {
pub(crate) default_block_code_language: Option<String>,
}

/// Used to set a default value for a boolean field in a struct.
#[must_use]
pub const fn default_bool<const V: bool>() -> bool {
V
}

pub(crate) struct ShortcutReferenceLink {
pub(crate) label: String,
pub(crate) url: String,
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_resolved_schema/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_resolved_schema"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_resolver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_resolver"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_semconv/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_semconv"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_semconv_gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_semconv_gen"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_version/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_version"
version = "0.9.2"
version = "0.10.0"
authors.workspace = true
repository.workspace = true
license.workspace = true
Expand Down

0 comments on commit aeb230e

Please sign in to comment.