Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Oct 3, 2024
1 parent f61d42b commit 0e24f03
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IPFS hash of the deployment:
- CIDv0: `QmZqX6QCCokYMm8oRdYVi85GDzqDKJZZL1M3djEQXJeXeF`
- CIDv1: `bafybeifk2xe6jgopl2yr55xs3py2ot6rernc2mokn2xxjgybkbomb53tqa`
- CIDv0: `QmZNKQNeHGqEJfGMyWbH1zYCgs8pazXe2FajiS4KVzxfPL`
- CIDv1: `bafybeifd3xryjkpe4lqgqfonwz7pdfzjtdlspryilb44sn7utv26mpxab4`

The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).

Expand All @@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.

IPFS gateways:
- https://bafybeifk2xe6jgopl2yr55xs3py2ot6rernc2mokn2xxjgybkbomb53tqa.ipfs.dweb.link/
- https://bafybeifk2xe6jgopl2yr55xs3py2ot6rernc2mokn2xxjgybkbomb53tqa.ipfs.cf-ipfs.com/
- [ipfs://QmZqX6QCCokYMm8oRdYVi85GDzqDKJZZL1M3djEQXJeXeF/](ipfs://QmZqX6QCCokYMm8oRdYVi85GDzqDKJZZL1M3djEQXJeXeF/)
- https://bafybeifd3xryjkpe4lqgqfonwz7pdfzjtdlspryilb44sn7utv26mpxab4.ipfs.dweb.link/
- https://bafybeifd3xryjkpe4lqgqfonwz7pdfzjtdlspryilb44sn7utv26mpxab4.ipfs.cf-ipfs.com/
- [ipfs://QmZNKQNeHGqEJfGMyWbH1zYCgs8pazXe2FajiS4KVzxfPL/](ipfs://QmZNKQNeHGqEJfGMyWbH1zYCgs8pazXe2FajiS4KVzxfPL/)

### 5.49.1 (2024-10-01)
### 5.49.2 (2024-10-03)


### Bug Fixes

* **web:** priority orders only enabled on base (#12438) c44ffba
* **web:** dont respect url flag overrides on prod - prod (#12548) a2b2517


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.49.1
web/5.49.2
6 changes: 4 additions & 2 deletions apps/web/src/featureFlags/useFeatureFlagUrlOverrides.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import useParsedQueryString from 'hooks/useParsedQueryString'
import { useContext, useEffect } from 'react'
import { Statsig, StatsigContext } from 'uniswap/src/features/gating/sdk/statsig'
import { isProdEnv } from 'utilities/src/environment/env'

export function useFeatureFlagUrlOverrides() {
const parsedQs = useParsedQueryString()
const statsigContext = useContext(StatsigContext)
const isProduction = isProdEnv()

useEffect(() => {
// Override on
Expand All @@ -14,9 +16,9 @@ export function useFeatureFlagUrlOverrides() {
const featureFlagOverridesOff =
typeof parsedQs.featureFlagOverrideOff === 'string' ? parsedQs.featureFlagOverrideOff.split(',') : []

if (statsigContext.initialized) {
if (statsigContext.initialized && !isProduction) {
featureFlagOverrides.forEach((gate) => Statsig.overrideGate(gate, true))
featureFlagOverridesOff.forEach((gate) => Statsig.overrideGate(gate, false))
}
}, [statsigContext.initialized, parsedQs.featureFlagOverride, parsedQs.featureFlagOverrideOff])
}, [statsigContext.initialized, parsedQs.featureFlagOverride, parsedQs.featureFlagOverrideOff, isProduction])
}

0 comments on commit 0e24f03

Please sign in to comment.