documentation: Bump version

This commit is contained in:
世界 2024-06-18 18:35:32 +08:00
parent 7c48260661
commit 29ba67b745
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,11 @@
icon: material/alert-decagram icon: material/alert-decagram
--- ---
#### 1.0.0-beta.14
* Rename `template.dns_default` to `template.dns`
* Add `template.domain_strategy_local`
#### 1.0.0-beta.13 #### 1.0.0-beta.13
* Add `template.auto_redirect` * Add `template.auto_redirect`

View File

@ -33,6 +33,7 @@ func filter1100(metadata metadata.Metadata, options *option.Options) {
inbound.TunOptions.Inet6Address = append(inbound.TunOptions.Inet6Address, common.Filter(inbound.TunOptions.Address, func(it netip.Prefix) bool { inbound.TunOptions.Inet6Address = append(inbound.TunOptions.Inet6Address, common.Filter(inbound.TunOptions.Address, func(it netip.Prefix) bool {
return it.Addr().Is6() return it.Addr().Is6()
})...) })...)
inbound.TunOptions.Address = nil
} }
//nolint:staticcheck //nolint:staticcheck
//goland:noinspection GoDeprecation //goland:noinspection GoDeprecation
@ -43,6 +44,7 @@ func filter1100(metadata metadata.Metadata, options *option.Options) {
inbound.TunOptions.Inet6RouteAddress = append(inbound.TunOptions.Inet6RouteAddress, common.Filter(inbound.TunOptions.RouteAddress, func(it netip.Prefix) bool { inbound.TunOptions.Inet6RouteAddress = append(inbound.TunOptions.Inet6RouteAddress, common.Filter(inbound.TunOptions.RouteAddress, func(it netip.Prefix) bool {
return it.Addr().Is6() return it.Addr().Is6()
})...) })...)
inbound.TunOptions.RouteAddress = nil
} }
//nolint:staticcheck //nolint:staticcheck
//goland:noinspection GoDeprecation //goland:noinspection GoDeprecation
@ -53,6 +55,7 @@ func filter1100(metadata metadata.Metadata, options *option.Options) {
inbound.TunOptions.Inet6RouteExcludeAddress = append(inbound.TunOptions.Inet6RouteExcludeAddress, common.Filter(inbound.TunOptions.RouteExcludeAddress, func(it netip.Prefix) bool { inbound.TunOptions.Inet6RouteExcludeAddress = append(inbound.TunOptions.Inet6RouteExcludeAddress, common.Filter(inbound.TunOptions.RouteExcludeAddress, func(it netip.Prefix) bool {
return it.Addr().Is6() return it.Addr().Is6()
})...) })...)
inbound.TunOptions.RouteExcludeAddress = nil
} }
} }
newInbounds = append(newInbounds, inbound) newInbounds = append(newInbounds, inbound)