From 0a4429ee7f9ad284f88880ecded05f77c64c17e1 Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Wed, 18 Dec 2024 17:54:23 +0500 Subject: [PATCH 1/4] chore: release main (#5222) --- .release-please-manifest.json | 4 ++-- apps/cowswap-frontend/CHANGELOG.md | 12 ++++++++++++ apps/cowswap-frontend/package.json | 2 +- apps/explorer/CHANGELOG.md | 7 +++++++ apps/explorer/package.json | 2 +- 5 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 79fde1b695..676f805956 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,6 +1,6 @@ { - "apps/cowswap-frontend": "1.93.2", - "apps/explorer": "2.39.0", + "apps/cowswap-frontend": "1.94.0", + "apps/explorer": "2.40.0", "libs/permit-utils": "0.5.0", "libs/widget-lib": "0.18.0", "libs/widget-react": "0.11.0", diff --git a/apps/cowswap-frontend/CHANGELOG.md b/apps/cowswap-frontend/CHANGELOG.md index c754fa057c..fb005028b4 100644 --- a/apps/cowswap-frontend/CHANGELOG.md +++ b/apps/cowswap-frontend/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.94.0](https://github.com/cowprotocol/cowswap/compare/cowswap-v1.93.2...cowswap-v1.94.0) (2024-12-18) + + +### Features + +* allow 1 year max deadline ([#5227](https://github.com/cowprotocol/cowswap/issues/5227)) ([64e3f40](https://github.com/cowprotocol/cowswap/commit/64e3f40a19da19ba7d44f4ebcb1b494fd4426882)) + + +### Bug Fixes + +* account for a bad CMS request ([#5221](https://github.com/cowprotocol/cowswap/issues/5221)) ([8d2edd7](https://github.com/cowprotocol/cowswap/commit/8d2edd7d87f0622fdc5885b45175b89b49eae1ec)) + ## [1.93.2](https://github.com/cowprotocol/cowswap/compare/cowswap-v1.93.1...cowswap-v1.93.2) (2024-12-13) diff --git a/apps/cowswap-frontend/package.json b/apps/cowswap-frontend/package.json index 90ff2afa12..e35ef33cae 100644 --- a/apps/cowswap-frontend/package.json +++ b/apps/cowswap-frontend/package.json @@ -1,6 +1,6 @@ { "name": "@cowprotocol/cowswap", - "version": "1.93.2", + "version": "1.94.0", "description": "CoW Swap", "main": "index.js", "author": "", diff --git a/apps/explorer/CHANGELOG.md b/apps/explorer/CHANGELOG.md index 8037cebe09..8579aa8b2a 100644 --- a/apps/explorer/CHANGELOG.md +++ b/apps/explorer/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.40.0](https://github.com/cowprotocol/cowswap/compare/explorer-v2.39.0...explorer-v2.40.0) (2024-12-18) + + +### Features + +* improve orders table when hidden orders ([#5226](https://github.com/cowprotocol/cowswap/issues/5226)) ([a4aaff9](https://github.com/cowprotocol/cowswap/commit/a4aaff94980fad15030bb057bbc45baa20f8336c)) + ## [2.39.0](https://github.com/cowprotocol/cowswap/compare/explorer-v2.38.0...explorer-v2.39.0) (2024-12-17) diff --git a/apps/explorer/package.json b/apps/explorer/package.json index 7bdd5755a0..e19af53369 100644 --- a/apps/explorer/package.json +++ b/apps/explorer/package.json @@ -1,6 +1,6 @@ { "name": "@cowprotocol/explorer", - "version": "2.39.0", + "version": "2.40.0", "description": "CoW Swap Explorer", "main": "src/main.tsx", "author": "", From 25d30bb6496a1fa51719b639948cc4d7b8ec5f20 Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Wed, 18 Dec 2024 13:00:03 +0000 Subject: [PATCH 2/4] fix: fix lint issues (#5229) --- .../src/components/orders/OrdersUserDetailsTable/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/explorer/src/components/orders/OrdersUserDetailsTable/index.tsx b/apps/explorer/src/components/orders/OrdersUserDetailsTable/index.tsx index 0efd2ec7e8..4710ce14af 100644 --- a/apps/explorer/src/components/orders/OrdersUserDetailsTable/index.tsx +++ b/apps/explorer/src/components/orders/OrdersUserDetailsTable/index.tsx @@ -1,5 +1,6 @@ import React, { useEffect, useState } from 'react' +import { Command } from '@cowprotocol/types' import { TruncatedText } from '@cowprotocol/ui/pure/TruncatedText' import { faExchangeAlt } from '@fortawesome/free-solid-svg-icons' @@ -23,11 +24,10 @@ import { getLimitPrice } from 'utils/getLimitPrice' import { OrderSurplusDisplayStyledByRow } from './OrderSurplusTooltipStyledByRow' import { ToggleFilter } from './ToggleFilter' +import { TableState } from '../../../explorer/components/TokensTableWidget/useTable' import { SimpleTable, SimpleTableProps } from '../../common/SimpleTable' import { StatusLabel } from '../StatusLabel' import { UnsignedOrderWarning } from '../UnsignedOrderWarning' -import { TableState } from '../../../explorer/components/TokensTableWidget/useTable' -import { Command } from '@cowprotocol/types' const EXPIRED_CANCELED_STATES: OrderStatus[] = ['cancelled', 'cancelling', 'expired'] @@ -37,7 +37,7 @@ function isExpiredOrCanceled(order: Order): boolean { if (!executedSellAmount.isZero() || !executedBuyAmount.isZero()) return false // Otherwise, return if the order is expired or canceled - return EXPIRED_CANCELED_STATES.includes(order.status) + return EXPIRED_CANCELED_STATES.includes(status) } const tooltip = { From a59eb275a96fb13c9521784a051f734d947a1b1f Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Wed, 18 Dec 2024 15:26:28 +0000 Subject: [PATCH 3/4] feat: force release to release, pleaseeee --- apps/cowswap-frontend/index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/cowswap-frontend/index.html b/apps/cowswap-frontend/index.html index c746e1ba09..67135301fe 100644 --- a/apps/cowswap-frontend/index.html +++ b/apps/cowswap-frontend/index.html @@ -37,7 +37,6 @@ -