호환성 변경21
잘못된 mesheryctl design deploy 입력 거부
영향 대상mesheryctl design deploy 명령
이전에는 디자인 이름과 --file을 함께 지정할 수 있었고, --file은 아무 알림 없이 무시됐습니다. 공백만 포함한 이름이나 파일 값도 검증을 거치지 않고 처리 단계로 넘어갈 수 있었습니다. 이제 이러한 입력은 배포나 파일 처리로 진행되는 대신 오류를 반환합니다.
근거“Reject passing both a design name and the `--file` flag (`len(args) > 0 && hasFile`) with structured `utils.ErrInvalidArgument`, preventing the `--file` flag from being silently ignored.” meshery/meshery/pull/24513 ↗ 원문 보기
- [mesheryctl] Enforce exact argument validation and guard whitespace in design deploy @purnimaraj864-star (#24513)
github.com/meshery/meshery/releases/tag/v1.0.84조직, 환경, 워크스페이스 목록의 타임스탬프 형식 통일
영향 대상mesheryctl organization list, mesheryctl environment list, mesheryctl workspace list 명령
이전에는 조직 타임스탬프에 01-02-2006 형식을 사용했고, 환경과 워크스페이스 타임스탬프에는 원시 .String() 형식을 사용했습니다. 이제 세 명령 모두 타임스탬프를 2006-01-02 15:04:05 형식으로 표시합니다.
근거“This PR standardizes the timestamp formatting in `organization list`, `environment list`, and `workspace list` commands to use the standard `2006-01-02 15:04:05` layout via `utils.FormatTime`” meshery/meshery/pull/24497 ↗ 원문 보기
- [mesheryctl] Standardize timestamp formatting in organization, environment, and workspace list commands @purnimaraj864-star (#24497)
github.com/meshery/meshery/releases/tag/v1.0.84Dashboard와 login에서 선택한 컨텍스트 확인
영향 대상-c 또는 --context로 선택한 컨텍스트
Dashboard 또는 login 명령에서 저장된 현재 컨텍스트와 다른 컨텍스트를 선택하면, 실행 중인지 확인할 때 선택한 컨텍스트가 아니라 저장된 컨텍스트를 검사했습니다. 그 결과 선택한 서버가 실행 중인데도 dashboard 명령이 실패하거나, 서버가 중지된 경우에도 접속할 수 없는 URL이라고 보고할 수 있었습니다. -c를 지정하지 않으면 동작은 바뀌지 않습니다.
원문 보기
- [mesheryctl] Check the selected context in IsMesheryRunning @TunahanBalci (#24409)
github.com/meshery/meshery/releases/tag/v1.0.84Kubernetes 버전 파싱에서 리터럴 마침표만 허용
영향 대상Kubernetes 버전을 파싱하는 구성
이전에는 semVer 표현식이 임의의 구분자와 일치해 v1a2b3 같은 문자열도 semver로 인식될 수 있었습니다. 이제 숫자 구간 사이에 마침표가 실제로 있는 버전만 일치합니다.
근거“Fixed unescaped dot characters in `var semVer = regexp.MustCompile("(v[0-9]+.[0-9]+.[0-9]+)")` by using `(v[0-9]+\.[0-9]+\.[0-9]+)`, ensuring only valid dot-separated semver strings match rather than arbitrary characters (e.g. `v1a2b3`).” meshery/meshery/pull/24280 ↗ 원문 보기
- [mesheryctl] Guard Kubernetes version parsing against slice bounds panic and nil dereference @mystic-fae (#24280)
github.com/meshery/meshery/releases/tag/v1.0.84배포 버전 추출 시 컨테이너 누락 및 이미지 태그 처리
영향 대상배포 매니페스트를 읽어 배포 버전을 확인하는 mesheryctl 사용 환경(캐시된 매니페스트 처리 포함)
파싱 가능한 태그에서는 stable-와 edge-를 제거하고, 이러한 채널 접두사가 없는 프리릴리스 태그는 그대로 유지합니다. 컨테이너 spec이 비어 있거나 태그가 없거나(다이제스트만 있는 이미지 포함), 버전이 없는 채널 태그인 경우 이제 패닉이 발생하거나 빈 버전을 반환하는 대신 오류를 반환합니다.
근거“Guards against empty container specifications (`len(compose.Spec.Template.Spec.Containers) == 0`), returning a descriptive error instead of panicking with `index out of range [0]`.” meshery/meshery/pull/24241 ↗ 원문 보기
- [mesheryctl] Guard deployment version parsing against slice bounds panic @mystic-fae (#24241)
github.com/meshery/meshery/releases/tag/v1.0.84CAN 권한 입력값 검증 및 공백 제거
영향 대상Meshery UI에서 CAN 권한 헬퍼를 사용하는 코드
이전에는 action을 권한 평가에 그대로 전달했고, subject는 소문자로 변환했지만 두 값 모두 유효성 검사를 하지 않았으며 공백도 동일한 방식으로 제거하지 않았습니다. 이제 null, undefined, 빈 값, 공백만 있는 값 또는 문자열이 아닌 값은 false를 반환합니다. 유효한 문자열은 평가 전에 앞뒤 공백을 제거합니다.
원문 보기
- [UI] Guard CAN permission helper against non-string and empty actions or subjects @mrdeyroy (#24348)
github.com/meshery/meshery/releases/tag/v1.0.84잘못된 useTimeout 입력을 안전하게 처리
영향 대상잘못된 지연 시간, 호출할 수 없는 콜백 또는 배열이 아닌 의존성과 함께 useTimeout을 사용하는 Meshery UI 코드
이전에는 잘못된 지연 시간과 콜백을 검사하지 않았고, deps가 배열이 아니면 스프레드 과정에서 오류가 발생할 수 있었습니다. 이제 잘못된 지연 시간에는 타이머를 예약하지 않으며, 지연 시간이나 콜백이 유효하지 않게 되면 대기 중인 타이머를 취소합니다. 0ms는 계속 동작하고, 호출할 수 없는 콜백은 무시하며, 배열이 아닌 deps는 빈 배열로 처리합니다.
근거“Validates `typeof delay === 'number' && Number.isFinite(delay) && delay >= 0`, keeping `0ms` timeouts functional while safely skipping and cancelling pending timers on `null`, `undefined`, negative values, `NaN`, `Infinity`, `-Infinity`, and non-numeric values.” meshery/meshery/pull/24343 ↗ 원문 보기
- fix(ui): guard useTimeout against invalid delays, non-callable callbacks, and non-array deps @madhavzanwar (#24343)
github.com/meshery/meshery/releases/tag/v1.0.84잘못된 지연 시간과 호출할 수 없는 콜백을 건너뛰는 useInterval
영향 대상useInterval을 사용하는 UI 기능
지연 시간이 null, undefined, 음수, NaN 또는 숫자가 아닌 값이면 기존 동작으로 인해 0ms 타이머 루프가 빠르게 반복되고 UI가 멈출 수 있었습니다. 콜백이 함수가 아니면 TypeError가 발생할 수 있었습니다. 지연 시간은 바뀌지 않은 채 콜백이 호출 가능한 상태가 되면 훅이 타이머를 시작합니다.
원문 보기
- [UI] Guard useInterval against undefined, negative, or invalid delays and non-function callbacks @mrdeyroy (#24192)
github.com/meshery/meshery/releases/tag/v1.0.84어댑터 삭제 가드에서 반복 시도가 조용히 누락될 수 있음
어댑터 삭제 mutation 하나가 진행되는 동안, 추가로 확인된 삭제 시도는 알림 없이 누락될 수 있습니다.
근거“The adapter deletion confirmation prompt functions as intended for primary user interactions, but the custom in-flight ref lock can silently drop confirmed deletions during active mutations and should be simplified in follow-up.” meshery/meshery/pull/24175 ↗ 원문 보기
- fix(ui): prompt for confirmation before deleting mesh adapters @rabit001 (#24175)
github.com/meshery/meshery/releases/tag/v1.0.84GetSMPServiceMeshes의 GET 요청만 허용
영향 대상GetSMPServiceMeshes 엔드포인트
이전에는 이 핸들러에 명시적인 메서드 검사가 없었습니다. 이제 POST, PUT, DELETE, PATCH 요청에는 Allow: GET 헤더와 함께 HTTP 405를 반환합니다.
원문 보기
- [Server] Guard unchecked registryManager nil pointer dereferences, nil logger panics, and missing content-type headers in GetSMPServiceMeshes @Amansingh0807 (#23871)
github.com/meshery/meshery/releases/tag/v1.0.84Grafana 폴백 재시도 오류 은폐 수정
영향 대상Grafana QueryRange 및 QueryRangeBatch 요청
초기 데이터소스 UID 조회가 404를 반환한 경우, 데이터소스 이름을 확인한 뒤 재시도하면서 발생한 404가 아닌 오류를 데이터소스를 찾을 수 없음으로 보고했습니다. 이제 재시도에서는 잘못된 PromQL, 인증 실패, 업스트림 오류, 전송 오류, 컨텍스트 오류와 같은 오류가 그대로 전달됩니다.
근거“Previously, the retry only returned on `retryErr == nil || errors.Is(retryErr, ErrResponseTooLarge)`. Any other retry error — including `400 Bad Request` (invalid PromQL), `401 Unauthorized`/`403 Forbidden` (insufficient datasource permission), `500`/`502`/`504` (upstream Prometheus failure), or a transport/context error — was discarded and replaced with `*DatasourceNotFoundError`:” meshery/meshery/pull/24443 ↗ 원문 보기
- [Server] Preserve non-404 retry errors after resolving Grafana datasource names in QueryRange @patelshivani2283-lab (#24443)
github.com/meshery/meshery/releases/tag/v1.0.84위치 인수를 거부하는 mesheryctl design import
영향 대상mesheryctl design import 명령
위치 인수를 사용해 호출하면 이제 잘못된 인수 오류가 반환됩니다.
원문 보기
- fix(mesheryctl): reject positional arguments and trim file flag in design import @SachinyadavAug20 (#24499)
github.com/meshery/meshery/releases/tag/v1.0.84mesheryctl version 명령의 위치 인수 거부
영향 대상mesheryctl version 명령
위치 인수를 하나 이상 지정하면 사용법 안내와 함께 잘못된 인수 오류가 반환됩니다. 위치 인수를 지정하지 않으면 검증을 통과합니다.
근거“Adds `versionUsageMsg` and an `Args` validation function to `versionCmd` returning `utils.ErrInvalidArgument` when unexpected positional arguments are supplied (`len(args) != 0`), clearly stating `this command does not accept positional arguments`.” meshery/meshery/pull/24102 ↗ 원문 보기
- [mesheryctl] Enforce exact argument validation in version @madhavzanwar (#24102)
github.com/meshery/meshery/releases/tag/v1.0.84mesheryctl system status의 예상하지 못한 인수 거부
영향 대상위치 인수를 지정해 mesheryctl system status를 호출하는 경우
--verbose와 함께 지정한 경우를 포함해 예상하지 못한 인수가 있으면 사용법 안내와 함께 utils.ErrInvalidArgument를 반환합니다. 위치 인수가 없으면 명령은 실행 단계로 넘어갑니다.
근거“Added an `Args` validation function to `statusCmd` in `mesheryctl system status` that rejects unexpected positional arguments with `utils.ErrInvalidArgument` and command usage instructions.” meshery/meshery/pull/24442 ↗ 원문 보기
- fix(mesheryctl): reject unexpected positional arguments in system status @SachinyadavAug20 (#24442)
github.com/meshery/meshery/releases/tag/v1.0.84목록 명령에서 0 이하 페이지네이션 값 거부
영향 대상mesheryctl environment list 및 mesheryctl organization list의 --page와 --pagesize 옵션
두 옵션 중 하나라도 0 이하로 설정하면 명령이 이유를 설명하는 오류를 반환합니다. 유효한 값은 허용되며 페이지네이션도 올바르게 처리됩니다.
근거“Exercised unit tests for environment and organization list pagination commands and drove 10 live end-to-end scenarios using the compiled mesheryctl binary against an isolated mock endpoint, verifying that invalid `--page` and `--pagesize` flags (<= 0) are strictly rejected with descriptive errors while valid values are accepted and paginated correctly.” meshery/meshery/pull/24354 ↗ 원문 보기
- fix(mesheryctl): validate pagination flags in environment and organization list commands @SachinyadavAug20 (#24354)
github.com/meshery/meshery/releases/tag/v1.0.84컨텍스트 뷰 명령의 잘못된 인수 조합 거부
영향 대상mesheryctl system context view 명령 사용법
위치 인수로 컨텍스트 이름을 여러 개 지정하거나, 위치 인수 또는 --context로 특정 컨텍스트를 지정하면서 --all을 함께 사용하면(값을 명시적으로 비워 둔 경우 포함) 이제 사용 안내와 함께 utils.ErrInvalidArgument를 반환합니다.
근거“The context view command now reports an error when given multiple positional context names or when `--all` is combined with a specific context, whether provided positionally or through `--context`—including an explicitly supplied empty context value.” meshery/meshery/pull/24057 ↗ 원문 보기
- [mesheryctl] Enforce maximum positional argument bounds in system context view @madhavzanwar (#24057)
github.com/meshery/meshery/releases/tag/v1.0.84mesheryctl system check 위치 인수 거부
영향 대상mesheryctl system check 사용
이전에는 예상치 못한 위치 인수 하나를 무시하고 사전 배포 검사 또는 상태 검사를 계속 실행했습니다.
근거“`mesheryctl system check` performs pre-deployment and post-deployment health checks for Meshery. It takes no positional arguments, but previously declared `Args: cobra.MaximumNArgs(1)`. Because `args` is never referenced in `RunE`, any extraneous positional arguments passed by users (e.g. `mesheryctl system check foo`) were silently accepted and ignored.” meshery/meshery/pull/24169 ↗ 원문 보기
- [mesheryctl] Enforce exact argument validation in system check @Rohith-Saran (#24169)
github.com/meshery/meshery/releases/tag/v1.0.84mesheryctl system start의 구조화된 인수 오류
영향 대상mesheryctl system start 호출
예상하지 못한 위치 인수는 이전에도 거부됐지만, 일반적인 Cobra 파싱 오류가 발생했습니다. 이제는 프리플라이트 검사 전에 구조화된 MeshKit 오류와 사용법 메시지를 표시하며 실패합니다.
근거“Manual verification (fails fast before preflight checks): ```console $ ./mesheryctl system start dummy-arg Error: too many arguments specified Usage: mesheryctl system start [flags] Run 'mesheryctl system start --help' to see detailed help message ```” meshery/meshery/pull/24271 ↗ 원문 보기
- [mesheryctl] Enforce exact argument validation in system start @err0rgod (#24271)
github.com/meshery/meshery/releases/tag/v1.0.84자격 증명 양식 요청에 이제 name, type, secret 사용
영향 대상Meshery UI 자격 증명 양식 및 기존 credentialName 요청 필드를 사용하는 통합(추정)
이전에는 자격 증명 양식에서 credentialName 필드를 전송했습니다. 이제 편집 흐름에서 저장된 자격 증명 페이로드를 확인하며, 자격 증명 유형을 변경하면 자격 증명 이름은 유지하고 오래된 시크릿 필드는 지웁니다.
근거“Forms post `{ name, type, secret }` instead of legacy `credentialName`. Edit open resolves stored payloads via `resolveCredentialPayload`, and switching credential types during edit clears stale secret fields while preserving the credential `name`.” meshery/meshery/pull/24305 ↗ 원문 보기
- [UI] Consume canonical credential form schemas from meshery/schemas via RJSF @Supersaiyan101 (#24305)
github.com/meshery/meshery/releases/tag/v1.0.84PerformanceProfilePersister의 구조화된 MeshKit 오류 반환
영향 대상PerformanceProfilePersister 메서드
데이터베이스 작업이 실패하면 이 메서드들은 이전에 데이터베이스 오류를 그대로 반환했지만, 이제 해당하는 ErrDBRead, ErrDBDelete, ErrDBPut 또는 ErrDBCreate 오류를 반환합니다.
근거“Propagated structured MeshKit errors (`ErrDBRead`, `ErrDBDelete`, `ErrDBPut`, `ErrDBCreate`) instead of raw database errors across all persister methods” meshery/meshery/pull/23657 ↗ 원문 보기
- fix(server): guard nil handlers and propagate structured errors in profile persister @SachinyadavAug20 (#23657)
github.com/meshery/meshery/releases/tag/v1.0.84존재하지 않는 ID에 대해 nil 프로필과 not-found 오류를 반환하는 GetPerformanceProfile
영향 대상GetPerformanceProfile 호출자
원문 보기
- fix(server): guard nil handlers and propagate structured errors in profile persister @SachinyadavAug20 (#23657)
github.com/meshery/meshery/releases/tag/v1.0.84