Skip to content

Commit

Permalink
Merge pull request #480 from balancer/feat/changelog
Browse files Browse the repository at this point in the history
intro change log and first release
  • Loading branch information
franzns authored Jun 18, 2024
2 parents c95d335 + 30b1148 commit fd0f501
Show file tree
Hide file tree
Showing 7 changed files with 1,412 additions and 19 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "v3-main",
"updateInternalDependencies": "patch",
"ignore": []
}
40 changes: 40 additions & 0 deletions .changeset/tall-guests-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
'backend': major
---

First release of the Balancer backend / api v3

This marks the first release for the API v3. With the release of ZEN, the following queries are deprecated and shall not be used anymore:

- poolGetSwaps
- poolGetBatchSwaps
- poolGetJoinExits
- poolGetFeaturedPoolGroups
- tokenGetPriceChartData
- tokenGetCandlestickChartData
- tokenGetTokenData
- tokenGetTokensData
- tokenGetProtocolTokenPrice

The following fields and types are deprecated:

- vaultVersion
- investConfig
- GqlPoolInvestConfig
- GqlPoolInvestOption
- withdrawConfig
- GqlPoolWithdrawConfig
- GqlPoolWithdrawOption
- apr
- GqlPoolApr
- GqlPoolAprValue
- GqlPoolAprRange
- GqlPoolAprTotal
- tokens
- GqlPoolNestedUnion
- GqlPoolTokenComposableStableNestedUnion
- GqlPoolTokenBase
- GqlPoolToken
- GqlPoolTokenComposableStable

See the gql files to find the suitable replacements.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Dependencies
run: yarn

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion modules/pool/pool.gql
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ type GqlPoolMinimal {
The vault version on which the pool is deployed, 2 or 3
"""
vaultVersion: Int! @deprecated(reason: "use protocolVersion instead")
"""
The protocol version on which the pool is deployed, 1, 2 or 3
"""
protocolVersion: Int!
"""
The name of the pool as per contract
Expand Down Expand Up @@ -254,7 +257,6 @@ interface GqlPoolBase {
The vault version on which the pool is deployed, 2 or 3
"""
vaultVersion: Int! @deprecated(reason: "use protocolVersion instead")
protocolVersion: Int! @deprecated(reason: "Use protocolVersion instead")
"""
The protocol version on which the pool is deployed, 1, 2 or 3
"""
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "beethovenx-backend-v2",
"name": "backend",
"version": "0.0.1",
"description": "Minimal backend service for Beethoven X",
"repository": "https://github.com/beethovenxfi/beethovenx-backend",
"description": "Backend service for Beethoven X and Balancer",
"repository": "https://github.com/balancer/backend",
"author": "Beethoven X",
"license": "MIT",
"private": true,
Expand Down Expand Up @@ -65,6 +65,7 @@
"yarn": "^1.22.19"
},
"devDependencies": {
"@changesets/cli": "^2.27.5",
"@graphql-codegen/add": "^3.1.0",
"@graphql-codegen/cli": "^2.3.0",
"@graphql-codegen/introspection": "^2.1.0",
Expand Down
Loading

0 comments on commit fd0f501

Please sign in to comment.