Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: cowswap/1.55.0, explorer/2.27.0 #3617

Merged
merged 44 commits into from
Jan 12, 2024
Merged

Release: cowswap/1.55.0, explorer/2.27.0 #3617

merged 44 commits into from
Jan 12, 2024

Conversation

shoom3301
Copy link
Collaborator

@shoom3301 shoom3301 commented Jan 12, 2024

Summary

  1. feat(surplus): update surplus percentage calculation (feat: update surplus percentage calculation #3548)
  2. feat(fee=0): classify order types (feat(fee=0): classify order types #3559)
  3. fix(permit): report wrong permit to sentry for limit and swap flows (fix(permit): report wrong permit to sentry for limit and swap flows #3565)
  4. feat(limit): max limit order deadline (feat(limit): max limit order deadline #3567)
  5. feat(twap): unlimited twap deadline (feat(twap): unlimited twap deadline #3568)
  6. feat(widget): custom token lists in widget (Widget Configurator: Add custom token list #3390)
  7. feat(networks): support Sepolia (feat(networks): support Sepolia #3558)
  8. fix: remove issue with non-argent smart-contract wallet throwing too many unhandled errors (fix: remove issue with non-argent smart-contract wallet throwing too … #3588)
  9. fix: don't crash when there is a new network in lists state (fix: don't crash when there is a new network in lists state #3589)
  10. fix(limit): show price impact warning for Safe App when bundling (fix(limit): show price impact warning for Safe App when bundling #3571)
  11. feat(safe): rely on safeInfo and iframe detection to identify when loaded as SafeApp (feat(safe): rely on safeInfo and iframe detection to identify Safe wallets #3570)
  12. fix(swap): disable eth flow selling on buy orders (fix(swap): disable eth flow selling on buy orders #3574)
  13. feat(explorer): update project and migrate to vite (feat(explorer): update project and migrate to vite #3579)
  14. fix(swap): fix swap out of market (fix(swap): fix swap out of market #3576)
  15. feat(explorer): support Sepolia network (feat(explorer): support Sepolia network #3580)
  16. fix(token-search): fix token search results (fix(token-search): fix token search results #3607)
  17. fix: merge localStorage state with initial state to prevent empty states (fix: merge localStorage state with initial state to prevent empty states #3604)
  18. feat: cleanup and minify assets (feat: cleanup and minify assets #3609)
  19. feat: update docs/learn.cow.fi URLs (feat: update docs/learn.cow.fi URLs #3611)
  20. fix: display cow token logo in header (fix: display cow token logo in header #3608)
  21. feat: sell eth warning for limit/twap (feat: sell eth warning for limit/twap #3573)

shoom3301 and others added 30 commits December 27, 2023 15:06
* feat: add getUiOrderType utils fn

* feat: use getUiOrderType to filter orders on recent activity

* feat: update PendingOrders and SpotPrices updaters to use UiOrderType

* feat: use UiOrderType on appziMiddleware

* feat: use UiOrderType on UnfillableOrdersUpdater

* feat: use UiOrderType on getEstiamtedExecutionPrice

* chore: add todo note about analytics type

* feat: update OrderRow with UiOrderType

* feat: update usePriorityTokenAddresses with uiOrderType

* chore: remove unused property picked from Order

* refactor: rename const to twapOrders to be in line with its content

* chore: memoize array concatenation

* refactor: organize imports and remove redundant variables

* feat: show progress bar for fee=0 swap orders
…3565)

* feat: add utils fn reportPermitWithDefaultSigner

* fix: report to sentry incorrect permit for both swap and limit orders

* fix: remove signer address `0x` prefix which is not included in the calldata
* feat(limit): update max limit order deadline to match backend

* feat(limit): add deadline option for `Max` value

* chore: give 1 more pixel to deadline container to fit a longer label

* feat: update label to `6 Months (max)`
* feat: remove 6months limitation for TWAP orders

* feat: add isPartTimeIntervalTooLong helper fn

* feat: add warning for twap part too long

* refactor: remove redundant variable

* feat: add year and month ranges to twap time display (albeit a bit unprecise)

* fix: adjust too much time banner header text

* fix: move MAX_ORDER_DEADLINE to common consts

* feat: add 1 week and 1 month options to TWAP menu

* chore: remove error state no longer needed
* feat: styling fixes

* feat: style updates

---------

Co-authored-by: Alexandr Kazachenko <[email protected]>
* fix(swap): disable eth flow selling on buy orders

* refactor: rename probableTypedValue
* fix: query all pending orders

* fix: do not quote when there's nothing left in the order

* chore: pass the appData from the order when doing new quotes
shoom3301 and others added 14 commits January 11, 2024 11:33
* feat: env var for custom order-book API urls

* chore: remove commented out IPFS related code
* chore: fix deployment action

* chore: fix vercel build
* fix: add sort clause for equal symbols

* fix: multiple tokens can exact match the search

* chore: rename favourite -> favorite

* refactor: use localeCompare for comparing strings
…tes (#3604)

* feat: add getJotaiMergerStorage

* feat: use new jotai storage for atoms depending on dynamic initial state

* fix: initial values comes first, as localStorage value should take precedence

* chore: simplify atoms as initial value is taken on getItem fn

* chore: remove debug statement and add/update comments
* feat: update docs/learn.cow.fi URLs

* feat: update link
* feat: add SellNativeWarningBanner

* feat: show native sell warning on limit

* feat: enable native selling on limit

* refactor: rename variable to showNativeSellWarning

* feat: show eth sell warning for safe app too

* feat: show sell native warning for TWAP

* refactor: add SellNativeWarningBanner non-pure

* refactor: remove duplication as form validation already knows to show warning

* fix: add underline under links

* chore: rely on button validation only

* chore: do the warning before to take precedence over empty input

* feat: add parameterizeTradeSearch

* feat: optionally pass sell/buy amount when navigating

* feat: use parameterizeTradeSearch on Twap banner

* feat: use sell amount when chosing to use wrapped token
@shoom3301 shoom3301 added the RELEASE Included in the release that is being closed label Jan 12, 2024
@shoom3301 shoom3301 requested a review from a team January 12, 2024 10:10
@shoom3301 shoom3301 self-assigned this Jan 12, 2024
Copy link

vercel bot commented Jan 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cosmos ✅ Ready (Inspect) Visit Preview Jan 12, 2024 10:19am
explorer-dev ✅ Ready (Inspect) Visit Preview Jan 12, 2024 10:19am
swap-dev ✅ Ready (Inspect) Visit Preview Jan 12, 2024 10:19am
widget-configurator ✅ Ready (Inspect) Visit Preview Jan 12, 2024 10:19am

Copy link

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
combine-reducers 1.0.0 None +0 3.34 kB wesleytodd
@types/cytoscape-popper 2.0.4 None +1 238 kB types
@types/react-copy-to-clipboard 4.3.0 None +0 3.75 kB types
cytoscape-no-overlap 1.0.1 None +3 4.7 MB martinheon
@types/flexsearch 0.7.6 None +0 15.2 kB types
@apollo/client 3.8.8 eval, network +13 6.8 MB apollo-bot
@gnosis.pm/dex-js 0.10.0 environment +1 20.9 MB alfetopito
@types/react-cytoscapejs 1.2.5 None +1 240 kB types
@types/cytoscape 3.19.16 None +0 233 kB types
@material-ui/core 4.12.4 eval, environment +18 10.9 MB eps1lon
console-feed 3.5.0 eval +6 1.91 MB samdd
flexsearch 0.7.41 eval, filesystem, shell +0 720 kB nextapps
cytoscape-klay 3.1.4 None +3 5.07 MB maxkfranz
@fortawesome/fontawesome-svg-core 6.5.1 None +1 1.18 MB robmadole
@fortawesome/react-fontawesome 0.2.0 environment +2 1.22 MB robmadole
@fortawesome/free-regular-svg-icons 6.5.1 None +1 1.47 MB robmadole
styled-theming 2.2.0 None +0 8.52 kB thejameskyle
react-copy-to-clipboard 5.1.0 None +0 40.6 kB nkbt
@fortawesome/free-solid-svg-icons 6.5.1 None +1 5.86 MB robmadole
cytoscape-popper 2.0.0 None +2 4.51 MB maxkfranz
react-cytoscapejs 1.2.1 None +2 4.54 MB maxkfranz
cytoscape-fcose 2.2.0 None +4 13.8 MB ivisatbilkent
web3modal 1.9.0 None +1 1.54 MB pedrouid
polished 4.2.2 environment +0 2.8 MB bhough
node-cache 5.1.2 None +1 72.4 kB erdii
vite-plugin-dynamic-import 1.5.0 None +0 48.1 kB caoxie
@rjsf/core 4.2.3 eval, environment +13 6.16 MB rjsf-bot
cytoscape 3.28.1 environment +1 4.47 MB maxkfranz
vite 4.4.11...5.0.11 None +42/-2 262 MB vitebot
react-router-dom 6.14.2...6.11.2 None +2/-2 3.32 MB mjackson
@lingui/vite-plugin 4.3.0...4.7.0 None +52/-11 263 MB andrii.bodnar
@lingui/react 4.3.0...4.7.0 None +4/-3 143 kB andrii.bodnar
@cowprotocol/cow-sdk 3.0.0-rc.0...4.0.7 None +0/-0 1.1 MB cowprotocol_dev
@lingui/core 4.3.0...4.7.0 None +3/-2 117 kB andrii.bodnar
@lingui/macro 4.3.0...4.7.0 None +6/-5 294 kB andrii.bodnar
@nx/vite 16.4.0...17.2.8 eval, environment +107/-17 364 MB nrwl-jason
@lingui/cli 4.3.0...4.7.0 None +8/-7 591 kB andrii.bodnar

@shoom3301 shoom3301 merged commit b916db2 into main Jan 12, 2024
18 of 19 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
RELEASE Included in the release that is being closed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants