Skip to content

Commit 023409d

Browse files
authored
Merge pull request #3 from rameel/cleanup
- Add [DisallowNull] attribute to Reswap property to disallow null input - Simplify header retrieval in DebugHelpers - Update packages
2 parents 5e4f4b3 + 935b927 commit 023409d

12 files changed

+169
-131
lines changed

.gitignore

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,5 @@ obj/
3939
#Ignore npm modules
4040
node_modules/
4141

42-
#Ignore Modules & Themes files
43-
_build/
44-
src/web/Macrostore.App/Themes/
45-
src/web/Macrostore.App/Modules/
46-
src/web/Macrostore.App/wwwroot/module/
47-
48-
#Ignore publish profiles
49-
src/web/Macrostore.App/.config/
50-
src/web/Macrostore.App/Properties/PublishProfiles/
51-
src/web/Macrostore.App/Properties/ServiceDependencies/
52-
5342
/Directory.Build.targets
5443

README.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
# HtmxToolkit
22
Provides HTMX integration for ASP.NET Core applications.
33

4-
<!--TOC-->
5-
- [Getting Started](#getting-started)
6-
- [HttpRequest](#httprequest)
7-
- [HtmxRequestAttribute](#htmxrequestattribute)
8-
- [HttpResponse](#httpresponse)
9-
- [The declarative way of setting response headers](#the-declarative-way-of-setting-response-headers)
10-
- [TagHelpers](#taghelpers)
11-
- [HtmxUrlTagHelper](#htmxurltaghelper)
12-
- [HtmxHeaderTagHelper](#htmxheadertaghelper)
13-
- [HtmxConfigTagHelper](#htmxconfigtaghelper)
14-
- [Antiforgery Token](#antiforgery-token)
15-
- [Changelog](#changelog)
16-
- [1.2.0](#1.2.0)
17-
- [1.1.0](#1.1.0)
18-
- [License](#license)
19-
<!--/TOC-->
4+
<!-- TOC -->
5+
* [Getting Started](#getting-started)
6+
* [HttpRequest](#httprequest)
7+
* [HtmxRequestAttribute](#htmxrequestattribute)
8+
* [HttpResponse](#httpresponse)
9+
* [The declarative way of setting response headers](#the-declarative-way-of-setting-response-headers)
10+
* [TagHelpers](#taghelpers)
11+
* [HtmxUrlTagHelper](#htmxurltaghelper)
12+
* [HtmxHeaderTagHelper](#htmxheadertaghelper)
13+
* [HtmxConfigTagHelper](#htmxconfigtaghelper)
14+
* [Antiforgery Token](#antiforgery-token)
15+
* [Changelog](#changelog)
16+
* [1.2.1](#121)
17+
* [1.2.0](#120)
18+
* [1.1.0](#110)
19+
* [License](#license)
20+
<!-- TOC -->
2021

2122
## Getting Started
2223

@@ -681,6 +682,9 @@ or the debug version of the script.
681682

682683
## Changelog
683684

685+
### 1.2.1
686+
Add `[DisallowNull]` attribute to `Reswap` property to disallow null input
687+
684688
### 1.2.0
685689
* Add `AjaxContext` to align with the capabilities provided by htmx
686690
* Add method overloads for `PushUrl` and `ReplaceUrl` that prevents URL changes (`PreventPushUrl` / `PreventReplaceUrl`)

0 commit comments

Comments
 (0)