Compare commits

..

3 Commits

Author SHA1 Message Date
dependabot[bot]
4e1e8c463c
Merge ac55ed0e14 into ca4e60e095 2024-09-08 04:13:46 +00:00
github-actions[bot]
ca4e60e095
chore(main): release 1.148.0 (#984) 2024-09-08 12:13:43 +08:00
YetAnotherZephyruso
2078051d7c
feat: make persisted for ipv6 result (#983) 2024-09-08 10:20:26 +08:00
3 changed files with 16 additions and 4 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## [1.148.0](https://github.com/MetaCubeX/metacubexd/compare/v1.147.0...v1.148.0) (2024-09-08)
### Features
* make persisted for ipv6 result ([#983](https://github.com/MetaCubeX/metacubexd/issues/983)) ([2078051](https://github.com/MetaCubeX/metacubexd/commit/2078051d7c8433ceda4240d41952cff32308990c))
## [1.147.0](https://github.com/MetaCubeX/metacubexd/compare/v1.146.2...v1.147.0) (2024-08-29)

View File

@ -1,6 +1,6 @@
{
"name": "metacubexd",
"version": "1.147.0",
"version": "1.148.0",
"description": "Mihomo Dashboard, The Official One, XD",
"license": "MIT",
"type": "module",

View File

@ -1,3 +1,4 @@
import { makePersisted } from '@solid-primitives/storage'
import { proxyGroupLatencyTestAPI, proxyLatencyTestAPI } from '~/apis'
import {
latencyQualityMap,
@ -5,9 +6,13 @@ import {
urlForIPv6SupportTest,
} from './config'
export const [proxyIPv6SupportMap, setProxyIPv6SupportMap] = createSignal<
Record<string, boolean>
>({})
export const [proxyIPv6SupportMap, setProxyIPv6SupportMap] = makePersisted(
createSignal<Record<string, boolean>>({}),
{
name: 'proxyIPv6SupportMap',
storage: localStorage,
},
)
export const proxyIPv6SupportTest = async (
proxyName: string,