XmppSharp 3.0.0
See the version list below for details.
dotnet add package XmppSharp --version 3.0.0
NuGet\Install-Package XmppSharp -Version 3.0.0
<PackageReference Include="XmppSharp" Version="3.0.0" />
paket add XmppSharp --version 3.0.0
#r "nuget: XmppSharp, 3.0.0"
// 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#
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 betweenJid
and otherReadOnlyJid
instances.- Added helper method to convert
XElement
objects into Xmpp SharpElement
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 andXElement
class! - By the way, most of the xmpp elements remained the same, the way to access/define data also remained almost the same.
CDATA
andComment
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 allSystem.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 forCdata
,Text
andComment
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 | Versions 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. |
-
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.