Compare commits

...

2 Commits

Author SHA1 Message Date
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 # 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) ## [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", "name": "metacubexd",
"version": "1.147.0", "version": "1.148.0",
"description": "Mihomo Dashboard, The Official One, XD", "description": "Mihomo Dashboard, The Official One, XD",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",

View File

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