호환성 변경28
DeleteMeshSyncResource 성공 응답 본문 및 실패 응답 변경
영향 대상DeleteMeshSyncResource endpoint를 호출하는 클라이언트
기존에는 삭제에 성공해도 HTTP 200 응답 본문이 비어 있었고, 삭제에 실패한 경우에도 HTTP 200이 반환되어 서버 로그에만 기록됐습니다. 이제 삭제에 성공하면 응답에 {"deleted": true}가 포함되고, 삭제에 실패하면 오류 메시지와 함께 HTTP 500이 반환됩니다.
근거“- On delete failure: - logs the delete error - returns `500 Internal Server Error` with error message in response body - On delete success: - returns `200 OK` - returns JSON response: `{"deleted": true}`” meshery/meshery/pull/18193 ↗ 원문 보기
- [Server] Fix DeleteMeshSyncResource HTTP response handling @Manishnemade12 (#18193)
github.com/meshery/meshery/releases/tag/v1.0.1요청 재시도 시 바디 재전송 가능 여부 확인
영향 대상RemoteProvider.DoRequest를 통해 보낸 바디가 있는 요청(추정)
토큰 갱신에 성공하면 재전송 가능한 바디는 다시 보냅니다. 재전송할 수 없는 바디가 있는 요청은 재시도하는 대신 오류를 반환합니다.
근거“default: + return nil, fmt.Errorf("request body is not replayable")” meshery/meshery/pull/18162 ↗ 원문 보기
RemoteProvider 토큰 갱신 검증 및 공백 제거
영향 대상RemoteProvider 토큰 갱신을 사용하는 설정(추정)
토큰 갱신 응답이 HTTP 200 OK가 아니거나 토큰이 비어 있으면 이제 오류를 반환합니다. 캐시된 토큰과 반환된 토큰의 앞뒤 공백도 제거합니다.
근거“if r.StatusCode != http.StatusOK { + body, readErr := io.ReadAll(r.Body) + if readErr != nil { + return "", fmt.Errorf("failed to refresh token. status code %d", r.StatusCode) + } + return "", fmt.Errorf("failed to refresh token. status code %d: %s", r.StatusCode, strings.TrimSpace(string(body)))” meshery/meshery/pull/18162 ↗ 원문 보기
대시보드 열기 오류로 인한 mesheryctl system start 실패 방지
영향 대상mesheryctl system start를 사용하는 구성
이전에는 대시보드를 여는 데 실패하면 mesheryctl system start가 해당 오류를 반환했지만, 이제는 경고를 로그에 기록하고 nil을 반환합니다. skipBrowserFlag가 설정되면 대시보드 명령을 건너뛰고 성공적으로 반환합니다.
근거“- return dashboardCmd.RunE(nil, nil) + if skipBrowserFlag { + utils.Log.Info("Meshery deployed. Use `mesheryctl system dashboard` to access the UI.") + return nil + } + if err := dashboardCmd.RunE(nil, nil); err != nil { + utils.Log.Warnf("Meshery deployed successfully, but could not open dashboard: %v\nRun `mesheryctl system dashboard` to access the UI.", err) + } + return nil” meshery/meshery/pull/18477 ↗ 원문 보기
- fix: mesheryctl e2e system start @lekaf974 (#18477)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl system reset의 설정 로드 오류 반환
영향 대상mesheryctl system reset 명령(추정)
Meshery 설정을 불러오지 못했을 때 이 명령은 오류를 로그에 남기면서도 성공을 반환했습니다. 이제 호출자에게 오류를 반환합니다. 추가 인수가 있으면 utils.ErrInvalidArgument를 반환하며, reset 로깅에는 logrus 대신 utils.Log를 사용합니다.
원문 보기
- fix: system reset uses meshkit error properly, remove logrus @Omkar-Ugal (#18358)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl 로그인 검증 및 서버 중지 상태 처리 업데이트
영향 대상--provider를 지정한 mesheryctl system login 호출 및 mesheryctl system status 사용
이전에는 validator가 임의로 지정한 provider 값을 거부하지 않았지만, 이제 비어 있지 않은 잘못된 값은 거부합니다. 변경된 로그인 경로에서 발생한 오류는 로그에만 남기지 않고 명령에 반환합니다. Meshery가 실행 중이 아닐 때 system status는 컨텍스트, 플랫폼, 상태 메시지를 출력하고 오류 대신 성공을 반환합니다.
원문 보기
- refactor(mesheryctl): enhance login command UX and error handling, update error codes + fix bug in system status @lekaf974 (#18345)
github.com/meshery/meshery/releases/tag/v1.0.1엄격한 플래그 검증과 명령 오류 반환
영향 대상mesheryctl system status 명령
이전에는 잘못된 --verbose/-v 값이 조용히 받아들여졌고, 헬스 체크, 설정/컨텍스트 또는 서버 상태 처리 경로에서 발생한 실패는 로그에만 기록된 채 명령이 nil을 반환했습니다. 이제 잘못된 플래그 값은 거부되고, 해당 실패는 명령 오류로 반환됩니다.
근거“Error: invalid argument "invalid" for "-v, --verbose" flag: strconv.ParseBool: parsing "invalid": invalid syntax” meshery/meshery/pull/18255 ↗ 원문 보기
- fix: system status uses meshkit error properly, remove logrus, add fl… @Omkar-Ugal (#18255)
github.com/meshery/meshery/releases/tag/v1.0.1시스템 컨텍스트 및 시스템 검사 오류를 CLI에 전달
영향 대상mesheryctl system context 명령 및 관련 시스템 검사 경로
구성 언마샬링, 현재 컨텍스트 조회 또는 헬스 체크에서 발생한 오류는 로그에 기록된 뒤 성공으로 반환되어 CLI가 잘못된 성공 종료 코드를 내보냈습니다. 이제 이러한 오류가 CLI 호출자에게 전달되므로 명령은 실패를 보고합니다.
근거“- Prevented silent failures and incorrect CLI success exit codes” meshery/meshery/pull/18154 ↗ 원문 보기
- fix(mesheryctl): return proper error in system context command @Omkar-Ugal (#18154)
github.com/meshery/meshery/releases/tag/v1.0.1Meshery CLI --all 명령의 일관된 컨텍스트 순서
영향 대상mesheryctl system channel view --all 및 mesheryctl system provider view --all 명령
이전에는 채널 명령이 Go 맵에서 컨텍스트를 순회해 출력 순서가 달라졌습니다.
근거“`mesheryctl system channel view --all` was producing nondeterministic output because it iterated contexts from a Go map directly.” meshery/meshery/pull/18140 ↗ 원문 보기
- Stabilize mesheryctl system view output across reused Cobra command state @[copilot-swe-agent[bot]](https://github.com/apps/copilot-swe-agent) (#18140)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl design list에서 기본으로 표시되는 전체 디자인 ID
영향 대상비상세 mesheryctl design list 출력(추정)
이전에는 비상세 목록에서 디자인 ID가 잘렸고, 전체 ID는 --verbose를 지정해야만 표시됐습니다.
원문 보기
- [mesheryctl] Show full design IDs in design list by default @PragalvaXFREZ (#17971)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl의 컨텍스트 설정 API 오류 보고
영향 대상mesheryctl system config 또는 mesheryctl connection create 사용
이전에는 컨텍스트 설정 API가 4xx 또는 5xx 응답을 반환해도 이 명령어가 성공한 것처럼 보일 수 있었습니다. 이제 2xx가 아닌 응답을 받으면 상태 코드와 응답 본문이 포함된 오류를 반환합니다. 원시 응답 본문은 계속 디버그 로그에 기록됩니다.
근거“If the API responds with a non-2xx status code, the command now returns an error that includes the status code and response body.” meshery/meshery/pull/17912 ↗ 원문 보기
- [mesheryctl] Use MakeRequest for set‑context API calls @dipanshurdev (#17912)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl model 명령에 공통 플래그 검증 추가
영향 대상영향을 받는 mesheryctl model 명령, 특히 경로 값을 받는 플래그가 있는 명령(추정)
영향을 받는 명령이 실행되기 전에 경로 값을 받는 플래그를 검증합니다. 이제 존재하지 않는 모델에 mesheryctl model delete를 실행하면 오류를 반환하는 대신 출력이나 오류 없이 종료됩니다.
원문 보기
- refactor(mesheryctl): model commands flags validation @lekaf974 (#17737)
- refactor(mesheryctl): model commands flags validation @lekaf974 (#17737)
- refactor(mesheryctl): model commands flags validation @lekaf974 (#17737)
github.com/meshery/meshery/releases/tag/v1.0.1메트릭 게시 누수 수정 및 필드 표기 교정
영향 대상메트릭을 DefaultLocalProvider 또는 RemoteProvider를 통해 게시하는 Meshery 서버 배포 환경
PublishMetrics()가 http.StatusOK를 받으면 응답 본문을 닫지 않은 채 반환해 시간이 지나면서 HTTP 연결과 파일 디스크립터가 누수됐습니다. 이제 해당 경로에서도 응답 본문을 닫습니다. YAML 출력 키가 servermatrics에서 servermetrics로 변경됩니다.
근거“The `defer resp.Body.Close()` was placed **after** an early `return nil` on `http.StatusOK`, meaning the response body was never closed on the success path. Over time, this leaks HTTP connections and file descriptors.” meshery/meshery/pull/17716 ↗ 원문 보기
- Fix HTTP response body leak in PublishMetrics and correct typos @Ironankit525 (#17716)
- Fix HTTP response body leak in PublishMetrics and correct typos @Ironankit525 (#17716)
github.com/meshery/meshery/releases/tag/v1.0.1환경 및 워크스페이스 핸들러가 이제 orgId를 읽음
영향 대상환경 또는 워크스페이스 핸들러 쿼리 파라미터로 전달되는 조직 ID(추정)
이 변경 전에는 orgId를 사용하는 프런트엔드 요청에서 조직 ID가 빈 값으로 전달되어 프로바이더 호출이 404 오류로 실패했습니다.
근거“The frontend (@meshery/schemas) sends `orgId` (camelCase) but the Go handlers were reading `orgID` (capital ID). Since Go's url.Values.Get() is case-sensitive, the org ID was always empty, causing provider calls to fail with a 404.” meshery/meshery/pull/18513 ↗ 원문 보기
- Fix orgId query parameter case mismatch in environment and workspace … @fitzergerald (#18513)
github.com/meshery/meshery/releases/tag/v1.0.1원격 프로바이더 장애 시 HTTP 503으로 세션을 유지하는 SessionInjectorMiddleware
영향 대상원격 프로바이더를 사용하는 세션
필요 조치Meshery Cloud의 선행 변경 불필요, 동반 PR의 독립 배포 가능
Cloud와 같은 원격 프로바이더에 일시적으로 연결할 수 없으면, 미들웨어가 사용자를 로그아웃시키고 로그인 페이지로 리디렉션해 장애가 지속되는 동안 리디렉션 루프가 발생했습니다.
근거“- **Distinguish transient errors from auth failures**: `SessionInjectorMiddleware` no longer destroys user sessions when Cloud is temporarily unreachable — returns 503 instead of logging out + redirecting (which looped when Cloud stayed down).” meshery/meshery/pull/18434 ↗ 원문 보기
- fix: resolve auth redirect loops between Meshery Server and Cloud @leecalcote (#18434)
github.com/meshery/meshery/releases/tag/v1.0.1빈 조직 ID 거부
영향 대상GetWorkspaceByIdHandler를 호출하는 통합(추정)
조직 ID 쿼리 값이 비어 있으면 이전에는 핸들러가 확인 없이 해당 값을 GetWorkspaceByID에 전달했습니다. 이제는 워크스페이스 입력 오류와 함께 HTTP 400을 반환합니다.
원문 보기
- fix(server): enforce missing OrgID handling in GetWorkspaceByIdHandler @lekaf974 (#18141)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl filter view의 추가 위치 인수 거부
영향 대상mesheryctl filter view 명령
이전에는 이 명령이 위치 인수를 여러 개 지정해도 오류 없이 받아들였습니다. 이제 인수를 최대 하나만 지정할 수 있다는 오류를 반환합니다. --all과의 충돌 및 이름/ID 누락 검사도 PreRunE에서 더 일찍 실행됩니다.
근거“# Properly rejected mesheryctl filter view arg1 arg2 Error: accepts at most 1 arg(s), received 2” meshery/meshery/pull/18362 ↗ 원문 보기
- [mesheryctl] Replace cobra.ArbitraryArgs with proper argument validat… @Manishnemade12 (#18362)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl system logout의 오류 반환 변경
영향 대상mesheryctl system logout 사용
이전에는 Mesheryctl 설정을 불러오거나 현재 컨텍스트의 토큰을 가져오거나 토큰 파일을 쓰는 데 실패해도 로그만 남기고 nil을 반환했습니다. 이제 이러한 실패를 호출자에게 오류로 반환합니다. 토큰 파일 쓰기 실패 시에는 ErrLogout(mesheryctl-1229)을 반환합니다.
근거“- utils.Log.Error(ErrGetCurrentContext(errors.Wrap(err, "failed to find token path for the current context"))) - return nil + return ErrGetCurrentContext(err)” meshery/meshery/pull/18327 ↗ 원문 보기
- fix: system logout uses meshkit error properly, remove logrus @Omkar-Ugal (#18327)
github.com/meshery/meshery/releases/tag/v1.0.1대시보드 명령의 플래그 검증 및 오류 반환
영향 대상mesheryctl system dashboard 명령
이전에는 잘못된 플래그 값을 검증하지 않았으며, 구성이나 컨텍스트 조회 오류 또는 포트 포워딩 초기화 오류가 로그에 기록되더라도 명령은 성공을 반환할 수 있었습니다. 이제 검증기가 잘못된 값을 거부하고, 해당 오류를 성공으로 처리하는 대신 반환합니다.
원문 보기
- refactor(mesheryctl): update dashboard command flags and improve error handling @lekaf974 (#18341)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl system delete의 구조화된 오류
영향 대상Docker 또는 지원되지 않는 플랫폼에서 mesheryctl system delete를 실행하는 경우
이전에는 Docker Compose 클라이언트 생성 실패나 컨테이너 제거 실패, 지원되지 않는 플랫폼에서 일반 시스템 오류를 반환했습니다. 이제 이러한 실패에는 해당하는 Meshery/meshkit 오류가 반환되며, Docker Compose 오류 코드도 포함됩니다. 이에 따라 자동화가 받는 오류가 달라집니다.
원문 보기
- refactor(mesheryctl): update system delete removing logrus reference and return proper meshkit error @lekaf974 (#18342)
github.com/meshery/meshery/releases/tag/v1.0.1mesheryctl system logs의 --follow 검증 및 오류 반환
영향 대상mesheryctl system logs 사용
이전에는 잘못된 --follow 값이 별다른 알림 없이 받아들여졌고, 실패가 로그에 기록돼도 명령이 nil을 반환할 수 있었습니다. 이제 헬스 체크, config/context, 서버 미실행으로 인한 실패가 명령 오류로 반환됩니다.
근거“Error: invalid argument "invalid" for "-f, --follow" flag: strconv.ParseBool: parsing "invalid": invalid syntax” meshery/meshery/pull/18227 ↗ 원문 보기
- fix: system logs uses meshkit error properly, remove logrus, add flag… @Omkar-Ugal (#18227)
github.com/meshery/meshery/releases/tag/v1.0.1컨텍스트 하위 명령의 플래그 검증 및 구조화된 오류 반환
영향 대상mesheryctl system context create, delete, view 명령
이전에는 이 명령들에 사전 실행 플래그 검증이 추가되어 있지 않았고, 일부 설정 읽기·쓰기, 중복 컨텍스트, 프롬프트 및 인수 오류도 구조화된 방식으로 처리되지 않았습니다. 이제 이러한 실패 경로에서는 구체성이 낮은 처리 경로를 따르는 대신 오류를 반환합니다.
원문 보기
- refactor(mesheryctl): update system context subcommands to use proper error handling and flags validator @lekaf974 (#18244)
github.com/meshery/meshery/releases/tag/v1.0.1존재하지 않는 연결 삭제 시 HTTP 404 반환 및 mesheryctl 성공
존재하지 않는 ID를 대상으로 삭제를 요청하면, 이전에는 서버가 내부 서버 오류를 반환하고 CLI는 연결을 찾을 수 없다는 오류를 반환했습니다. 이제 CLI는 “No connection with ID "…" found”를 경고로 기록합니다.
원문 보기
- fix: update connection deletion logic and error handling on server and cli @lekaf974 (#17910)
github.com/meshery/meshery/releases/tag/v1.0.1채널 명령이 이제 오류 반환
영향 대상view, set, switch를 포함한 mesheryctl system channel 명령
현재 컨텍스트를 가져오지 못하거나 내용을 사용할 수 없는 경우, 이전에는 명령이 오류를 로그에 기록하고 nil을 반환했지만 이제 오류를 반환합니다. set과 switch는 릴리스 채널 인수의 개수가 정확히 하나가 아니면 잘못된 인수 오류를 반환합니다.
원문 보기
- refactor(mesheryctl): update system channel to use meshkit and return errors properly and update description @lekaf974 (#18122)
- refactor(mesheryctl): update system channel to use meshkit and return errors properly and update description @lekaf974 (#18122)
github.com/meshery/meshery/releases/tag/v1.0.1Performance API 메트릭 이름 수정
영향 대상서버 메트릭 게시 메시지 및 PerformanceResult를 사용하는 코드(추정)
이전에는 주석과 오류 메시지에 asyncronously와 Matrics/ServerMatrics가 사용됐지만, 이제 asynchronously와 Metrics를 사용합니다. Go 필드는 이제 ServerMetrics이며, JSON 필드는 계속 server_metrics입니다.
근거“- `asyncronously` -> `asynchronously` in comments - - `Matrics` -> `Metrics` in error message - - `ServerMatrics` -> `ServerMetrics` struct field name (JSON tag unchanged, non-breaking)” meshery/meshery/pull/17716 ↗ 원문 보기
- Fix HTTP response body leak in PublishMetrics and correct typos @Ironankit525 (#17716)
github.com/meshery/meshery/releases/tag/v1.0.1워크스페이스 명령어를 mesheryctl workspace로 이동
영향 대상mesheryctl 워크스페이스 명령어(추정)
워크스페이스 명령어는 이전에 mesheryctl exp workspace 아래에 있었습니다. 워크스페이스 작업은 변경되지 않았습니다.
원문 보기
- [mesheryctl] graduate workspace command from experimental @PragalvaXFREZ (#18125)
github.com/meshery/meshery/releases/tag/v1.0.1workspace-list 페이지 크기 플래그 이름을 --pagesize로 변경
영향 대상--page-size 옵션을 사용하는 workspace-list 명령 호출(추정)
명시적으로 설정하면 해당 값은 pagesize 쿼리 파라미터로 전송됩니다. 기본값은 계속 10이고 최댓값은 계속 100입니다.
원문 보기
- [mesheryctl] graduate workspace command from experimental @PragalvaXFREZ (#18125)
- [mesheryctl] graduate workspace command from experimental @PragalvaXFREZ (#18125)
github.com/meshery/meshery/releases/tag/v1.0.1Docker 이미지 카탈로그 데이터 소스 및 경로 변경
영향 대상Meshery Docker 이미지 배포 환경 및 카탈로그 파일을 읽는 통합 기능(추정)
이전에는 docs-new/data/catalog의 카탈로그 데이터를 /app/docs/catalog/로 복사했습니다. 이제는 docs/data/catalog의 데이터를 /app/docs/data/catalog/로 복사합니다.
근거“COPY ./docs/data/catalog /app/docs/data/catalog/” meshery/meshery/pull/17991 ↗ 원문 보기