diff --git a/backend/docs/openapi.yaml b/backend/docs/openapi.yaml index fce44ad..70e5a2b 100644 --- a/backend/docs/openapi.yaml +++ b/backend/docs/openapi.yaml @@ -579,17 +579,14 @@ components: title: type: string minLength: 2 - maxLength: 255 example: "Database Connection Failure" errorDescription: type: string minLength: 2 - maxLength: 255 example: "Connection refused at localhost:5432" solution: type: string minLength: 2 - maxLength: 255 nullable: true example: "Restart PostgreSQL database container" status: @@ -603,17 +600,14 @@ components: title: type: string minLength: 2 - maxLength: 255 example: "Updated Problem Title" errorDescription: type: string minLength: 2 - maxLength: 255 example: "Updated error details" solution: type: string minLength: 2 - maxLength: 255 example: "Updated solution steps" severity: $ref: '#/components/schemas/ProblemSeverity' @@ -5121,4 +5115,3 @@ paths: schema: $ref: '#/components/schemas/ErrorResponse' - diff --git a/backend/internal/domain/model/version.go b/backend/internal/domain/model/version.go index 071d129..5401ab6 100644 --- a/backend/internal/domain/model/version.go +++ b/backend/internal/domain/model/version.go @@ -2,4 +2,4 @@ package model // AppVersion stores the compiled version of the application. // Automatically maintained by scripts/sync-version.js and injected into the go build via -ldflags. -var AppVersion = "v0.2.1-beta" +var AppVersion = "v0.2.2-beta" diff --git a/backend/internal/dto/problem_dto.go b/backend/internal/dto/problem_dto.go index eeb291b..0a4027c 100644 --- a/backend/internal/dto/problem_dto.go +++ b/backend/internal/dto/problem_dto.go @@ -11,8 +11,8 @@ import ( type CreateProblemCommand struct { ProjectID uuid.UUID `json:"projectID"` Title string `json:"title" binding:"required,min=2,max=255"` - ErrorDescription string `json:"errorDescription" binding:"required,min=2,max=255"` - Solution *string `json:"solution,omitempty" binding:"omitempty,min=2,max=255"` + ErrorDescription string `json:"errorDescription" binding:"required,min=2"` + Solution *string `json:"solution,omitempty" binding:"omitempty,min=2"` Status model.ProblemStatus `json:"status" binding:"required"` Severity model.ProblemSeverity `json:"severity" binding:"required"` } @@ -21,8 +21,8 @@ type UpdateProblemCommand struct { ProjectID uuid.UUID `json:"projectID"` ID uuid.UUID `json:"id"` Title *string `json:"title,omitempty" binding:"omitempty,min=2,max=255"` - ErrorDescription *string `json:"errorDescription,omitempty" binding:"omitempty,min=2,max=255"` - Solution *string `json:"solution,omitempty" binding:"omitempty,min=2,max=255"` + ErrorDescription *string `json:"errorDescription,omitempty" binding:"omitempty,min=2"` + Solution *string `json:"solution,omitempty" binding:"omitempty,min=2"` Severity *model.ProblemSeverity `json:"severity,omitempty" binding:"omitempty"` } diff --git a/frontend/package.json b/frontend/package.json index 0684c60..754f0d3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "0.2.1-beta", + "version": "0.2.2-beta", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src-tauri/Cargo.toml b/frontend/src-tauri/Cargo.toml index 95116fc..10d3261 100644 --- a/frontend/src-tauri/Cargo.toml +++ b/frontend/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "devaulty" -version = "0.2.1-beta" +version = "0.2.2-beta" description = "Devaulty Desktop Client" authors = ["Matheus Cunha"] license = "" diff --git a/frontend/src-tauri/tauri.conf.json b/frontend/src-tauri/tauri.conf.json index 4c7ffc6..2e77404 100644 --- a/frontend/src-tauri/tauri.conf.json +++ b/frontend/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "Devaulty", - "version": "0.2.1-beta", + "version": "0.2.2-beta", "identifier": "com.devaulty.app", "build": { "frontendDist": "../dist",