Skip to content

Commit 59aa61f

Browse files
committed
docs: prepare docs for release
1 parent 819b771 commit 59aa61f

File tree

1,119 files changed

+271817
-48217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,119 files changed

+271817
-48217
lines changed

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
# Created by https://www.gitignore.io/api/jekyll,visualstudio
33
# Edit at https://www.gitignore.io/?templates=jekyll,visualstudio
44

5-
### Jekyll ###
6-
_site/
7-
.sass-cache/
8-
.jekyll-cache/
9-
.jekyll-metadata
5+
### Docs (docfx) ###
6+
docs/_site/
7+
docs/build/
108

119
### VisualStudio ###
1210
## Ignore Visual Studio temporary files, build results, and

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ![Silverback](https://github.com/BEagle1984/silverback/raw/master/docs/images/logo.png)
1+
# Silverback
22

33
Silverback is a message bus and broker integration library for .NET.
44
It helps you build event-driven architectures and asynchronous workflows with first-class support for **Apache Kafka** and **MQTT**.
@@ -20,8 +20,8 @@ Documentation, guides, and samples are available here: **https://silverback-mess
2020

2121
### Continuous Build
2222

23-
[![Continuous Build Status](https://dev.azure.com/beagle1984/Silverback/_apis/build/status/continuous?branchName=release%2F5.0.0)](https://dev.azure.com/beagle1984/Silverback/_build/latest?definitionId=5&branchName=release%2F5.0.0)
24-
[![Tests Status (release/5.0.0)](https://img.shields.io/azure-devops/tests/beagle1984/Silverback/5/release%2F5.0.0)](https://dev.azure.com/beagle1984/Silverback/_build/latest?definitionId=5&branchName=release%2F5.0.0)
23+
[![Continuous Build Status](https://dev.azure.com/beagle1984/Silverback/_apis/build/status/continuous?branchName=master)](https://dev.azure.com/beagle1984/Silverback/_build/latest?definitionId=5&branchName=master)
24+
[![Tests Status (release/5.0.0)](https://img.shields.io/azure-devops/tests/beagle1984/Silverback/5/master)](https://dev.azure.com/beagle1984/Silverback/_build/latest?definitionId=5&branchName=master)
2525

2626
### Sonar Build
2727

@@ -84,6 +84,10 @@ Testing:
8484
- **[Silverback.Integration.Kafka.Testing](https://www.nuget.org/packages/Silverback.Integration.Kafka.Testing/)**
8585
- **[Silverback.Integration.Mqtt.Testing](https://www.nuget.org/packages/Silverback.Integration.Mqtt.Testing/)**
8686

87+
### Supported .NET Versions
88+
89+
Starting with v5, Silverback targets the latest .NET LTS version only.
90+
8791
### Quick Example (Kafka)
8892

8993
```csharp

docs/build.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dotnet build -c Release ../Silverback.sln --no-incremental -o build
2+
3+
docfx metadata
4+
docfx --serve --port 4242

docs/changelog/500.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ uid: releases-500
88

99
Silverback 5.0.0 is the most significant update in the library’s history, built on years of user feedback and real-world experience. This release is more than just an upgrade, it’s a **complete refactoring** that enhances flexibility, performance, and maintainability while laying a strong foundation for future innovations.
1010

11-
### Highlights
11+
### Highlights
1212

1313
* An **improved configuration API** that makes it easier to set up Silverback exactly the way you want, with a more intuitive and consistent syntax. The new fluent API is designed to be more readable and straightforward and to giving you more control over the Kafka and MQTT clients that are used under the hood.
1414
```csharp
@@ -143,8 +143,13 @@ This release includes many breaking changes, as the library underwent a signific
143143

144144
### Migration Guide
145145

146-
The migration from Silverback 4.x.x to 5.x.x is a significant step and requires some effort. The following list should give you an overview of the most important steps:
147-
* _...coming soon..._
146+
The migration from Silverback 4.x.x to 5.x.x is a significant step and requires some effort. The following list is not exhaustive and might not cover all the [breaking changes](#breaking-changes) but should give you a good idea of the basic steps:
147+
* Ensure your application targets .NET 10 as starting with v5 Silverback only supports the latest LTS release
148+
* Upgrade all Silverback.* NuGet packages to 5.x.x
149+
* Some namespace usings will need to be adjusted (e.g.,Silverback.Messaging.Configuration → Silverback.Configuration)
150+
* Migrate the endpoints configuration to the new broker clients configuration (an example of the new fluent API can be found in the [Highlights](#highlights) section above)
151+
* Replace usage of `IEventPublisher`, `ICommandPublisher`, and `IQueryPublisher` with the related extension methods on the basic <xref:Silverback.Messaging.Publishing.IPublisher>
152+
* If using the outbox, adjust the DbContext / database schema
148153

149154
### Deprecation Notice
150155

docs/docfx.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
"src": [
55
{
66
"files": [
7-
"**.csproj"
7+
"build/Silverback.*.dll"
88
],
9-
"src": "../src"
9+
"exclude": [
10+
"**.Tests.*.dll",
11+
"**.Tests.dll",
12+
"**.Tools.*.dll"
13+
]
1014
}
1115
],
1216
"dest": "api",

docs/guides/broker/default-headers.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Here is the list of the default headers that may be sent.
99

1010
The static classes <xref:Silverback.Messaging.Messages.DefaultMessageHeaders> and <xref:Silverback.Messaging.Messages.KafkaMessageHeaders> contain all default header names constants.
1111

12+
### Default
13+
1214
Header | Name
1315
:-- | :--
1416
[MessageType](xref:Silverback.Messaging.Messages.DefaultMessageHeaders#Silverback_Messaging_Messages_DefaultMessageHeaders_MessageType) | `x-message-type`
@@ -24,7 +26,7 @@ Header | Name
2426
[EncryptionKeyId](xref:Silverback.Messaging.Messages.DefaultMessageHeaders#Silverback_Messaging_Messages_DefaultMessageHeaders_EncryptionKeyId) | `x-encryption-key-id`
2527
[FailureReason](xref:Silverback.Messaging.Messages.DefaultMessageHeaders#Silverback_Messaging_Messages_DefaultMessageHeaders_FailureReason) | `x-failure-reason`
2628

27-
## Kafka Specific Headers
29+
### Kafka
2830

2931
Header | Name
3032
:-- | :--
@@ -36,6 +38,11 @@ Header | Name
3638
[SourceTimestamp](xref:Silverback.Messaging.Messages.KafkaMessageHeaders#Silverback_Messaging_Messages_KafkaMessageHeaders_SourceTimestamp) | `x-source-timestamp`
3739
[FirstChunkOffset](xref:Silverback.Messaging.Messages.KafkaMessageHeaders#Silverback_Messaging_Messages_KafkaMessageHeaders_FirstChunkOffset) | `x-chunk-first-offset`
3840

41+
### MQTT
42+
43+
Header | Name
44+
:-- | :--
45+
3946
## Customizing Default Header Names
4047

4148
The default header names can be overridden using the `WithCustomHeaderName` configuration method.

docs/guides/broker/producing/outbox.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,17 @@ services
3131
.AddSilverback()
3232
.WithConnectionToMessageBroker(options => options
3333
.AddKafka()
34-
.AddPostgreSqlOutbox()
34+
.AddEntityFrameworkOutbox()
3535
.AddOutboxWorker(worker => worker
3636
.ProcessOutbox(outbox => outbox
37-
.UsePostgreSql(connectionString)))))
37+
.UseEntityFramework<AppDbContext>()))))
3838
.AddKafkaClients(clients => clients
3939
.WithBootstrapServers("PLAINTEXT://localhost:9092")
4040
.AddProducer("producer1", producer => producer
4141
.Produce<MyMessage>("endpoint1", endpoint => endpoint
4242
.ProduceTo("my-topic")
43-
.StoreToOutbox(outbox => outbox.UsePostgreSql(connectionString)))));
43+
.StoreToOutbox(outbox => outbox
44+
.UseEntityFramework<AppDbContext>()))));
4445
```
4546
# [PostgreSQL](#tab/postgres)
4647
```csharp
@@ -57,7 +58,8 @@ services
5758
.AddProducer("producer1", producer => producer
5859
.Produce<MyMessage>("endpoint1", endpoint => endpoint
5960
.ProduceTo("my-topic")
60-
.StoreToOutbox(outbox => outbox.UsePostgreSql(connectionString)))));
61+
.StoreToOutbox(outbox => outbox
62+
.UsePostgreSql(connectionString)))));
6163
```
6264
# [Sqlite](#tab/sqlite)
6365
```csharp

docs/index.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ title: "Home"
3131
> The v4 documentation is still browsable here: [silverback-messaging.net/v4](/v4)
3232
3333
> [!Important]
34-
> v5 is in beta and the documentation is still being updated. Some sections may be incomplete or not fully aligned with the latest API.
34+
> The documentation update for v5 is still in progress. Some sections may be missing or incomplete. Please notify us if you find any mistake or inconsistency.
3535
3636
Silverback is a message bus and broker integration library for .NET.
3737
It is designed to simplify event-driven architectures and asynchronous messaging, with first-class support for **Apache Kafka** and **MQTT**.
@@ -58,6 +58,15 @@ Kafka is a first-class citizen: features like partition-based parallelism, keys/
5858
- **Distributed tracing** via `System.Diagnostics`.
5959
- **Testing support** with in-memory brokers and helper APIs.
6060

61+
## Supported .NET Versions
62+
63+
Starting with v5, Silverback targets the **latest .NET LTS** (Long-Term Support) version only.
64+
65+
The library is built and tested against the current LTS release.
66+
It can run on newer compatible .NET versions (including STS releases), but older frameworks are no longer targeted or supported.
67+
68+
This policy reduces maintenance overhead and keeps Silverback aligned with the .NET platform lifecycle.
69+
6170
## Getting Started
6271

6372
- <xref:setup> – core concepts and configuration.

docs/v4/about.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
<!DOCTYPE html>
1+
<!DOCTYPE html>
22
<!--[if IE]><![endif]-->
33
<html>
4-
4+
55
<head>
66
<meta charset="utf-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
88
<title>About | Silverback </title>
99
<meta name="viewport" content="width=device-width">
1010
<meta name="title" content="About | Silverback ">
11-
<meta name="generator" content="docfx 2.59.4.0">
12-
11+
<meta name="generator" content="docfx ">
1312

13+
1414
<link rel="apple-touch-icon" sizes="180x180" href="images/icons/apple-touch-icon.png">
1515
<link rel="icon" type="image/png" sizes="32x32" href="images/icons/favicon-32x32.png">
1616
<link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png">
1717
<link rel="manifest" href="images/icons/site.webmanifest">
1818
<link rel="mask-icon" href="images/icons/safari-pinned-tab.svg" color="#5bbad5">
19-
19+
2020
<link rel="stylesheet" href="styles/docfx.vendor.css">
2121
<link rel="stylesheet" href="styles/docfx.css">
2222
<link rel="stylesheet" href="styles/main.css">
2323
<meta property="docfx:navrel" content="toc.html">
2424
<meta property="docfx:tocrel" content="toc.html">
25-
26-
<meta property="docfx:rel" content="">
27-
25+
26+
<meta property="docfx:rel" content="">
27+
2828
<script src="https://kit.fontawesome.com/e3306be642.js" crossorigin="anonymous"></script>
2929
</head>
3030
<body data-spy="scroll" data-target="#affix" data-offset="120">
3131
<div id="wrapper">
3232
<header>
33-
33+
3434
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
3535
<div class="container">
3636
<div class="navbar-header">
@@ -40,7 +40,7 @@
4040
<span class="icon-bar"></span>
4141
<span class="icon-bar"></span>
4242
</button>
43-
43+
4444
<a class="navbar-brand" href="index.html">
4545
<img id="logo" class="svg" src="images/logo.png" alt="">
4646
</a>
@@ -54,7 +54,7 @@
5454
</div>
5555
</div>
5656
</nav>
57-
57+
5858
<div class="subnav navbar navbar-default">
5959
<div class="container hide-when-search" id="breadcrumb">
6060
<ul class="breadcrumb">
@@ -64,7 +64,7 @@
6464
</div>
6565
</header>
6666
<div class="container body-content">
67-
67+
6868
<div id="search-results">
6969
<div class="search-list"></div>
7070
<div class="sr-items">
@@ -105,7 +105,7 @@ <h2 id="special-thanks">Special Thanks</h2>
105105
</ul>
106106
</article>
107107
</div>
108-
108+
109109
<div class="hidden-sm col-md-2" role="complementary">
110110
<div class="sideaffix">
111111
<div class="contribution">
@@ -122,7 +122,7 @@ <h2 id="special-thanks">Special Thanks</h2>
122122
</div>
123123
</div>
124124
</div>
125-
125+
126126
<footer>
127127
<div class="footer">
128128
<div class="container contacts">
@@ -133,13 +133,13 @@ <h2 id="special-thanks">Special Thanks</h2>
133133
<span class="pull-right">
134134
<a href="#top">&uarr; Back to top</a>
135135
</span>
136-
© 2020 Sergio Aquilini
137-
136+
© 2020 Sergio Aquilini
137+
138138
</div>
139139
</div>
140140
</footer>
141141
</div>
142-
142+
143143
<script type="text/javascript" src="styles/docfx.vendor.js"></script>
144144
<script type="text/javascript" src="styles/docfx.js"></script>
145145
<script type="text/javascript" src="styles/main.js"></script>

0 commit comments

Comments
 (0)