XmppSharp 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package XmppSharp --version 3.0.0
NuGet\Install-Package XmppSharp -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XmppSharp" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XmppSharp --version 3.0.0
#r "nuget: XmppSharp, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XmppSharp as a Cake Addin
#addin nuget:?package=XmppSharp&version=3.0.0

// Install XmppSharp as a Cake Tool
#tool nuget:?package=XmppSharp&version=3.0.0

XMPP#

github nuget

A manipulation library and utility for XMPP inspired by the classic agsXMPP library (developed by AG-Software). The main objective of this library is to reduce the level of unnecessary verbosity for constructing XML tags.

Changelog

1.4.0

  • Breaking changes: Some types renamed or will be moved to another files/namespaces!
  • Added target support for .NET 6.
  • Add service discovery elements.
  • Enhance JID construction.
  • Make JID records types again, but keep setters instead init-only.
  • Jid.Empty now provide a empty jid instance.
  • Jid(string jid) contructor will try parse as full jid before set domain component.
  • Added ReadOnlyJid that wraps Jid instance into a read-only struct for immutable/exposing.
  • Added ReadOnlyJid.Empty static helper to fast create its instance.
  • ReadOnlyJid has proper ways to cast between Jid and other ReadOnlyJid instances.
  • Added helper method to convert XElement objects into Xmpp Sharp Element objects.
  • Begin add XML docstrings in types/methods/fields/properties etc.

1.4.1

  • Fix NRE while setting attribute with SetAttributeValue

1.4.2

  • Minor changes & fixes.
  • Added helper methods to fast get functions to parse primitive types.

2.0.0

  • 2.0 is here! I was finally able to migrate to an improved system using XElement.
    • First of all, removed ALL AI-generated docstrings. I think it was one of the most bizarre ideas I've ever had and it didn't work out very well, it generated a lot of redundant things that weren't well explained. Then soon I will calmly document everything.
  • Some things may break! For example, how to create/declare your elements. But I did everything I could to maintain the compatibility layer between old Element class and XElement class!
  • By the way, most of the xmpp elements remained the same, the way to access/define data also remained almost the same.
  • CDATA and Comment nodes are supported now when parsing (Even though it is not recommended to use these types of nodes in the XMPP protocol standards, this depends on each developer and the needs of each project.).
  • Added extra helper methods around XElement class.
  • All XMPP elements are now around XElement class and all System.Xml.Linq related.

2.0.1

  • Minor bug fixes around XmppSharp.Jid equality comparer.

3.0

  • Rollback using builtin .NET xml types in System.Xml.Linq

    I'm so sorry for reverting this change). I've found a critical issue around namespace declarations in XElement, so i've decided to do not keep using. Instead i've reimplemente again Element classes now with support for Cdata, Text and Comment nodes.

  • All other features still the same (extend to Element class and etc...)

Notes

I ask users to report any bugs that may exist. Even though I carry out internal tests on my XMPP server, there may be some bug or other that goes unnoticed during the tests.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on XmppSharp:

Package Downloads
XmppSharp.Expat

XMPP# expat parser implementation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.1 0 5/21/2024
3.2.0 58 5/14/2024
3.1.1 85 4/28/2024
3.1.0 105 4/17/2024
3.0.0 92 4/16/2024
2.0.1 115 4/12/2024
1.4.2 99 4/2/2024