Skip to content

Commit 16ea265

Browse files
authored
Bump version to 3.14 (#865)
2 parents ff8df7a + 6b963ec commit 16ea265

File tree

8 files changed

+35
-31
lines changed

8 files changed

+35
-31
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
1212
readme = "README.md"
1313
repository = "https://github.com/jonasbb/serde_with/"
1414
rust-version = "1.74"
15-
version = "3.13.0"
15+
version = "3.14.0"
1616

1717
[workspace.metadata.release]
1818
consolidate-commits = true

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@ Foo::Bytes {
179179
}
180180
```
181181

182-
[`DisplayFromStr`]: https://docs.rs/serde_with/3.13.0/serde_with/struct.DisplayFromStr.html
183-
[`with_prefix!`]: https://docs.rs/serde_with/3.13.0/serde_with/macro.with_prefix.html
184-
[`with_suffix!`]: https://docs.rs/serde_with/3.13.0/serde_with/macro.with_suffix.html
185-
[feature flags]: https://docs.rs/serde_with/3.13.0/serde_with/guide/feature_flags/index.html
186-
[skip_serializing_none]: https://docs.rs/serde_with/3.13.0/serde_with/attr.skip_serializing_none.html
187-
[StringWithSeparator]: https://docs.rs/serde_with/3.13.0/serde_with/struct.StringWithSeparator.html
188-
[user guide]: https://docs.rs/serde_with/3.13.0/serde_with/guide/index.html
182+
[`DisplayFromStr`]: https://docs.rs/serde_with/3.14.0/serde_with/struct.DisplayFromStr.html
183+
[`with_prefix!`]: https://docs.rs/serde_with/3.14.0/serde_with/macro.with_prefix.html
184+
[`with_suffix!`]: https://docs.rs/serde_with/3.14.0/serde_with/macro.with_suffix.html
185+
[feature flags]: https://docs.rs/serde_with/3.14.0/serde_with/guide/feature_flags/index.html
186+
[skip_serializing_none]: https://docs.rs/serde_with/3.14.0/serde_with/attr.skip_serializing_none.html
187+
[StringWithSeparator]: https://docs.rs/serde_with/3.14.0/serde_with/struct.StringWithSeparator.html
188+
[user guide]: https://docs.rs/serde_with/3.14.0/serde_with/guide/index.html
189189
[with-annotation]: https://serde.rs/field-attrs.html#with
190-
[as-annotation]: https://docs.rs/serde_with/3.13.0/serde_with/guide/serde_as/index.html
190+
[as-annotation]: https://docs.rs/serde_with/3.14.0/serde_with/guide/serde_as/index.html
191191

192192
## License
193193

serde_with/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [3.14.0] - 2025-06-30
11+
1012
### Added
1113

1214
* Add support for `Range`, `RangeFrom`, `RangeTo`, `RangeInclusive` (#851)

serde_with/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ schemars_1 = { package = "schemars", version = "1.0.2", optional = true, default
157157
serde = { version = "1.0.152", default-features = false }
158158
serde_derive = "1.0.152"
159159
serde_json = { version = "1.0.45", optional = true, default-features = false }
160-
serde_with_macros = { path = "../serde_with_macros", version = "=3.13.0", optional = true }
160+
serde_with_macros = { path = "../serde_with_macros", version = "=3.14.0", optional = true }
161161
time_0_3 = { package = "time", version = "~0.3.36", optional = true, default-features = false }
162162

163163
[dev-dependencies]

serde_with/src/lib.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
)))]
2222
// Not needed for 2018 edition and conflicts with `rust_2018_idioms`
2323
#![doc(test(no_crate_inject))]
24-
#![doc(html_root_url = "https://docs.rs/serde_with/3.13.0/")]
24+
#![doc(html_root_url = "https://docs.rs/serde_with/3.14.0/")]
2525
#![cfg_attr(docsrs, feature(doc_cfg))]
2626
#![no_std]
2727

@@ -253,15 +253,15 @@
253253
//! # }
254254
//! ```
255255
//!
256-
//! [`DisplayFromStr`]: https://docs.rs/serde_with/3.13.0/serde_with/struct.DisplayFromStr.html
257-
//! [`with_prefix!`]: https://docs.rs/serde_with/3.13.0/serde_with/macro.with_prefix.html
258-
//! [`with_suffix!`]: https://docs.rs/serde_with/3.13.0/serde_with/macro.with_suffix.html
259-
//! [feature flags]: https://docs.rs/serde_with/3.13.0/serde_with/guide/feature_flags/index.html
260-
//! [skip_serializing_none]: https://docs.rs/serde_with/3.13.0/serde_with/attr.skip_serializing_none.html
261-
//! [StringWithSeparator]: https://docs.rs/serde_with/3.13.0/serde_with/struct.StringWithSeparator.html
262-
//! [user guide]: https://docs.rs/serde_with/3.13.0/serde_with/guide/index.html
256+
//! [`DisplayFromStr`]: https://docs.rs/serde_with/3.14.0/serde_with/struct.DisplayFromStr.html
257+
//! [`with_prefix!`]: https://docs.rs/serde_with/3.14.0/serde_with/macro.with_prefix.html
258+
//! [`with_suffix!`]: https://docs.rs/serde_with/3.14.0/serde_with/macro.with_suffix.html
259+
//! [feature flags]: https://docs.rs/serde_with/3.14.0/serde_with/guide/feature_flags/index.html
260+
//! [skip_serializing_none]: https://docs.rs/serde_with/3.14.0/serde_with/attr.skip_serializing_none.html
261+
//! [StringWithSeparator]: https://docs.rs/serde_with/3.14.0/serde_with/struct.StringWithSeparator.html
262+
//! [user guide]: https://docs.rs/serde_with/3.14.0/serde_with/guide/index.html
263263
//! [with-annotation]: https://serde.rs/field-attrs.html#with
264-
//! [as-annotation]: https://docs.rs/serde_with/3.13.0/serde_with/guide/serde_as/index.html
264+
//! [as-annotation]: https://docs.rs/serde_with/3.14.0/serde_with/guide/serde_as/index.html
265265
266266
#[cfg(feature = "alloc")]
267267
extern crate alloc;
@@ -494,7 +494,7 @@ pub use serde_with_macros::*;
494494
/// # }
495495
/// ```
496496
///
497-
/// [serde_as]: https://docs.rs/serde_with/3.13.0/serde_with/attr.serde_as.html
497+
/// [serde_as]: https://docs.rs/serde_with/3.14.0/serde_with/attr.serde_as.html
498498
pub struct As<T: ?Sized>(PhantomData<T>);
499499

500500
/// Adapter to convert from `serde_as` to the serde traits.
@@ -969,7 +969,7 @@ pub struct BytesOrString;
969969
/// ```
970970
///
971971
/// [`chrono::Duration`]: ::chrono_0_4::Duration
972-
/// [feature flag]: https://docs.rs/serde_with/3.13.0/serde_with/guide/feature_flags/index.html
972+
/// [feature flag]: https://docs.rs/serde_with/3.14.0/serde_with/guide/feature_flags/index.html
973973
pub struct DurationSeconds<
974974
FORMAT: formats::Format = u64,
975975
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1101,7 +1101,7 @@ pub struct DurationSeconds<
11011101
/// ```
11021102
///
11031103
/// [`chrono::Duration`]: ::chrono_0_4::Duration
1104-
/// [feature flag]: https://docs.rs/serde_with/3.13.0/serde_with/guide/feature_flags/index.html
1104+
/// [feature flag]: https://docs.rs/serde_with/3.14.0/serde_with/guide/feature_flags/index.html
11051105
pub struct DurationSecondsWithFrac<
11061106
FORMAT: formats::Format = f64,
11071107
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1303,7 +1303,7 @@ pub struct DurationNanoSecondsWithFrac<
13031303
/// [`SystemTime`]: std::time::SystemTime
13041304
/// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
13051305
/// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
1306-
/// [feature flag]: https://docs.rs/serde_with/3.13.0/serde_with/guide/feature_flags/index.html
1306+
/// [feature flag]: https://docs.rs/serde_with/3.14.0/serde_with/guide/feature_flags/index.html
13071307
pub struct TimestampSeconds<
13081308
FORMAT: formats::Format = i64,
13091309
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1445,7 +1445,7 @@ pub struct TimestampSeconds<
14451445
/// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
14461446
/// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
14471447
/// [NaiveDateTime]: ::chrono_0_4::NaiveDateTime
1448-
/// [feature flag]: https://docs.rs/serde_with/3.13.0/serde_with/guide/feature_flags/index.html
1448+
/// [feature flag]: https://docs.rs/serde_with/3.14.0/serde_with/guide/feature_flags/index.html
14491449
pub struct TimestampSecondsWithFrac<
14501450
FORMAT: formats::Format = f64,
14511451
STRICTNESS: formats::Strictness = formats::Strict,

serde_with_macros/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [3.14.0] - 2025-06-30
11+
1012
### Added
1113

1214
* Added support for `schemars` v1 under the `schemars_1` feature flag

serde_with_macros/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
)))]
2121
// Not needed for 2018 edition and conflicts with `rust_2018_idioms`
2222
#![doc(test(no_crate_inject))]
23-
#![doc(html_root_url = "https://docs.rs/serde_with_macros/3.13.0/")]
23+
#![doc(html_root_url = "https://docs.rs/serde_with_macros/3.14.0/")]
2424
// Tarpaulin does not work well with proc macros and marks most of the lines as uncovered.
2525
#![cfg(not(tarpaulin_include))]
2626

@@ -589,8 +589,8 @@ fn field_has_attribute(field: &Field, namespace: &str, name: &str) -> bool {
589589
/// It will also work if the relevant derive is behind a `#[cfg_attr]` attribute
590590
/// and propagate the `#[cfg_attr]` to the various `#[schemars]` field attributes.
591591
///
592-
/// [`serde_as`]: https://docs.rs/serde_with/3.13.0/serde_with/guide/index.html
593-
/// [re-exporting `serde_as`]: https://docs.rs/serde_with/3.13.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
592+
/// [`serde_as`]: https://docs.rs/serde_with/3.14.0/serde_with/guide/index.html
593+
/// [re-exporting `serde_as`]: https://docs.rs/serde_with/3.14.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
594594
#[proc_macro_attribute]
595595
pub fn serde_as(args: TokenStream, input: TokenStream) -> TokenStream {
596596
#[derive(FromMeta)]
@@ -1060,7 +1060,7 @@ fn has_type_embedded(type_: &Type, embedded_type: &syn::Ident) -> bool {
10601060
/// [`Display`]: std::fmt::Display
10611061
/// [`FromStr`]: std::str::FromStr
10621062
/// [cargo-toml-rename]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
1063-
/// [serde-as-crate]: https://docs.rs/serde_with/3.13.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
1063+
/// [serde-as-crate]: https://docs.rs/serde_with/3.14.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
10641064
/// [serde-crate]: https://serde.rs/container-attrs.html#crate
10651065
#[proc_macro_derive(DeserializeFromStr, attributes(serde_with))]
10661066
pub fn derive_deserialize_fromstr(item: TokenStream) -> TokenStream {
@@ -1180,7 +1180,7 @@ fn deserialize_fromstr(mut input: DeriveInput, serde_with_crate_path: Path) -> T
11801180
/// [`Display`]: std::fmt::Display
11811181
/// [`FromStr`]: std::str::FromStr
11821182
/// [cargo-toml-rename]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
1183-
/// [serde-as-crate]: https://docs.rs/serde_with/3.13.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
1183+
/// [serde-as-crate]: https://docs.rs/serde_with/3.14.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
11841184
/// [serde-crate]: https://serde.rs/container-attrs.html#crate
11851185
#[proc_macro_derive(SerializeDisplay, attributes(serde_with))]
11861186
pub fn derive_serialize_display(item: TokenStream) -> TokenStream {

0 commit comments

Comments
 (0)