Skip to content

Bump Serde from 0.8.0-preview5 to 0.10.0#8

Merged
agocke merged 2 commits intomainfrom
dependabot/nuget/Serde-0.10.0
Jan 8, 2026
Merged

Bump Serde from 0.8.0-preview5 to 0.10.0#8
agocke merged 2 commits intomainfrom
dependabot/nuget/Serde-0.10.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 7, 2026

Updated Serde from 0.8.0-preview5 to 0.10.0.

Release notes

Sourced from Serde's releases.

0.10.0

What's Changed

Full Changelog: serdedotnet/serde@v0.9.1...v0.10.0

0.9.1

What's Changed

Full Changelog: serdedotnet/serde@v0.9.0...v0.9.1

0.9.0

What's Changed

Full Changelog: serdedotnet/serde@v0.8.0...v0.9.0

0.8.0

What's Changed

Notable changes:

  • Name change from 'wrapper' to 'proxy'
  • Improved support for unions
  • Removal of all generic-virtual-methods
  • Removal of visitor pattern in deserialization
  • Adding ISerde* convenience interfaces for implementing both serialize and deserialize
  • Updated samples
  • Add new primitives for DateTime, DateTimeOffset, Guid, and byte arrays

Full Changelog: serdedotnet/serde@v0.7.1...v0.8.0

0.8.0-preview9

What's Changed

Full Changelog: serdedotnet/serde@v0.8.0-preview8...v0.8.0-preview9

0.8.0-preview8

What's Changed

Full Changelog: serdedotnet/serde@v0.8.0-preview7...v0.8.0-preview8

0.8.0-preview7

What's Changed

Full Changelog: serdedotnet/serde@v0.8.0-preview6...v0.8.0-preview7

0.8.0-preview6

What's Changed

Full Changelog: serdedotnet/serde@v0.8.0-preview5...v0.8.0-preview6

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Serde
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jan 7, 2026
@agocke
Copy link
Contributor

agocke commented Jan 8, 2026

@copilot please address api changes as part of this update

Copy link
Contributor

Copilot AI commented Jan 8, 2026

@agocke I've opened a new pull request, #9, to work on those changes. Once the pull request is ready, I'll request review from you.

Serde 0.10.0 introduces 5 new serialization methods that must be
implemented by all `ISerializer` and `ITypeSerializer` implementations.

## Changes

- **XmlSerializer (ISerializer)**: Implemented `WriteI128`, `WriteU128`,
`WriteDateTime`, `WriteDateTimeOffset`, and `WriteBytes`
  - Int128/UInt128 serialized as strings via `ToString()`
  - DateTime/DateTimeOffset use XmlWriter native support
  - Bytes serialized as Base64

- **SerializeCollectionImpl (ITypeSerializer)**: Forward calls to
underlying serializer for all 5 methods

- **EnumSerializer (ITypeSerializer)**: 
  - Int128/UInt128 write enum name (consistent with other integer types)
- DateTime/DateTimeOffset/Bytes throw `InvalidOperationException`
(invalid for enums)

- **XmlTypeSerializer (ITypeSerializer)**: Use standard proxy pattern
(I128Proxy, U128Proxy, DateTimeProxy, DateTimeOffsetProxy) for field
serialization; custom implementation for bytes to support XML attributes
and elements

## Generated Files

Source generator output updated from `.cs` to `.g.cs` extension per
Serde 0.10.0 conventions.

<!-- START COPILOT CODING AGENT TIPS -->
---

✨ Let Copilot coding agent [set things up for
you](https://github.com/serdedotnet/serde.xml/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: agocke <[email protected]>
@agocke agocke merged commit f67d0d0 into main Jan 8, 2026
1 check passed
@agocke agocke deleted the dependabot/nuget/Serde-0.10.0 branch January 8, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants