From 20fd8a4ffdd8909383726d6a4ee7eb287501a3bc Mon Sep 17 00:00:00 2001 From: Matheus Cristian Date: Thu, 10 Oct 2024 17:57:22 -0300 Subject: [PATCH 1/8] release(1.1.0) --- CHANGELOG.md | 21 ++++++++++++++++++++- package.json | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index faa1ef2..e0519a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog - + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [1.1.0] - 2024-10-10 + +Release of the internally named version 1.0, integrating with the real API. + + +### Added + +- [Sentry](https://sentry.io/) integration. +- Unit tests for: `utils/index.ts`, `TreatUnhandledRejection.ts` and `HomeView.vue` + +### Fixed + +- Error when trying to integrate or edit a solution integration when the globals were empty. ## [1.0.0] - 2024-10-04 @@ -14,3 +32,4 @@ Release of the internally named version 1.0, integrating with the real API. - [APIPhantom](https://github.com/weni-ai/APIPhantom) support. [1.0.0]: https://github.com/weni-ai/commerce-webapp/compare/0.1.3...1.0.0 +[1.1.0]: https://github.com/weni-ai/commerce-webapp/compare/1.0.0...1.1.0 diff --git a/package.json b/package.json index 1b0f40e..7518dc4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "commerce-webapp", - "version": "1.0.0", + "version": "1.1.0", "author": "Weni ", "private": true, "type": "module", From 999cb39744ef183783bd2b9addcaff556ecad5e3 Mon Sep 17 00:00:00 2001 From: acnormun Date: Fri, 11 Oct 2024 14:04:44 -0300 Subject: [PATCH 2/8] feat: solutions versions --- env.d.ts | 6 + src/components/solutions/DrawerSolution.vue | 134 +++++++++++++------- 2 files changed, 94 insertions(+), 46 deletions(-) diff --git a/env.d.ts b/env.d.ts index aecb771..d9bad08 100644 --- a/env.d.ts +++ b/env.d.ts @@ -2,6 +2,7 @@ declare global { type Solution = { + version: string; uuid: string; title: string; description: string; @@ -10,6 +11,11 @@ declare global { flows: { uuid: string; name: string }[]; globals: { [key: string]: { value: string } }; sectors: { [key: string]: { value: string[] } }; + versions: { + version: string; + globals: { [key: string]: { value: string } }; + sectors: { [key: string]: { value: string[] } }; + }[]; }; } diff --git a/src/components/solutions/DrawerSolution.vue b/src/components/solutions/DrawerSolution.vue index b43e2ec..a71e613 100644 --- a/src/components/solutions/DrawerSolution.vue +++ b/src/components/solutions/DrawerSolution.vue @@ -30,9 +30,9 @@
-