Skip to content

Releases: vegaprotocol/vega

v0.26.0-pre1

09 Oct 11:41
Compare
Choose a tag to compare
Update changelog

Release v0.25.0

24 Sep 18:26
e2138c4
Compare
Choose a tag to compare

2020-09-24

This release adds the event bus API, allowing for much greater introspection in to the operation of a node. We've also re-enabled the order amends API, as well as a long list of fixes.

New:

  • #2281 Enable opening auctions
  • #2205 Add GraphQL event stream API
  • #2219 Add deposits API
  • #2222 Initial asset list is now loaded from genesis configuration, not external configuration
  • #2238 Re-enable order amend API
  • #2249 Re-enable TX rate limit by party ID
  • #2240 Add time to position responses

Improvements:

  • #2211 🔥 GraphQL: Field case change proposalId -> proposalID
  • #2218 🔥 GraphQL: Withdrawals now return a Party, not a party ID
  • #2202 Fix time validation for proposals when all times are the same
  • #2206 Reduce log noise from statistics endpoint
  • #2207 Automatically reload node configuration
  • #2209 GraphQL: fix proposal rejection enum
  • #2210 Refactor order service to not require blockchain client
  • #2213 Improve error clarity for invalid proposals
  • #2216 Ensure all GRPC endpoints use real time, not Vega time
  • #2231 Refactor processor to no longer require collateral
  • #2232 Clean up logs that dumped raw bytes
  • #2233 Remove generate method from execution engine
  • #2234 Remove authEnabled setting
  • #2236 Simply order amendment logging
  • #2237 Clarify fees attribution in transfers
  • #2239 Ensure margin is released immediately, not on next mark to market
  • #2241 Load log level in processor app
  • #2245 Fix a concurrent map access in positions API
  • #2247 Improve logging on a TX with an invalid signature
  • #2252 Fix incorrect order count in Market Depth API
  • #2254 Fix concurrent map access in Market Depth API
  • #2269 GraphQL: Fix party filtering for event bus API
  • #2266 Refactor transaction codec
  • #2275 Prevent opening auctions from closing early
  • #2262 Clear potential position properly when an order is cancelled for self trading
  • #2286 Add sequence ID to event bus events
  • #2288 Fix auction events not appearing in GraphQL event bus
  • #2294 Fixing incorrect order iteration in auctions
  • #2285 Check auction times
  • #2283 Better handling of 0 expiresAt

Release v0.24.0

08 Sep 12:39
4d4cb8b
Compare
Choose a tag to compare

2020-09-04

One new API endpoint allows cancelling multiple orders simultaneously, either all orders by market, a single order in a specific market, or just all open orders.

Other than that it's mainly bugfixes, many of which fix subtly incorrect API output.

New:

  • #2107 Support for cancelling multiple orders at once
  • #2186 Add per-party rate-limit of 50 requests over 3 blocks

Improvements:

  • #2177 GraphQL: Add Governance proposal metadata
  • #2098 Fix crashed in event bus
  • #2041 Fix a rounding error in the output of Positions API
  • #1934 Improve API documentation
  • #2110 Send Infrastructure fees to the correct account
  • #2117 Prevent creation of withdrawal requests for more than the available balance
  • #2136 gRPC: Fetch all accounts for a market did not return all accounts
  • #2151 Prevent wasteful event bus subscriptions
  • #2167 Ensure events in the event bus maintain their order
  • #2178 Fix API returning incorrectly formatted orders when a party has no collateral

v0.24.0-pre1

04 Sep 15:23
Compare
Choose a tag to compare
Release v0.24.0

Release v0.23.1

27 Aug 12:45
e3a261a
Compare
Choose a tag to compare
*2020-08-27*

This release backports a fix from the forthcoming 0.24.0 release that fixes a GraphQL issue with the new `Asset` type. When fetching the Assets from the top level, all the details came through. When fetching them as a nested property, only the ID was filled in. This is now fixed.

Improvements:

- #2140 GraphQL fix for fetching assets as nested properties

v0.23.0: *2020-08-10*

18 Aug 15:10
17cccfd
Compare
Choose a tag to compare

2020-08-10

This release contains a lot of groundwork for Fees and Auction mode.

Fees are incurred on every trade on Vega. Those fees are divided between up to three recipient types, but traders will only see one collective fee charged. The fees reward liquidity providers, infrastructure providers and market makers.

  • The liquidity portion of the fee is paid to market makers for providing liquidity, and is transferred to the market-maker fee pool for the market.
  • The infrastructure portion of the fee, which is paid to validators as a reward for running the infrastructure of the network, is transferred to the infrastructure fee pool for that asset. It is then periodically distributed to the validators.
  • The maker portion of the fee is transferred to the non-aggressive, or passive party in the trade (the maker, as opposed to the taker).

Auction mode is not enabled in this release, but the work is nearly complete for Opening Auctions on new markets.

💥 Please note, this release disables order amends. The team uncovered an issue in the Market Depth API output that is caused by order amends, so rather than give incorrect output, we've temporarily disabled the amendment of orders. They will return when the Market Depth API is fixed. For now, amends will return an error.

New

  • #2092 💥 Disable order amends
  • #2027 Add built in asset faucet endpoint
  • #2075, #2086, #2083, #2078 Add time & size limits to faucet requests
  • #2068 Add REST endpoint to fetch governance proposals by Party
  • #2058 Add REST endpoints for fees
  • #2047 Add prepareWithdraw endpoint

Improvements

  • #2061 Fix Network orders being left as active
  • #2034 Send KeepAlive messages on GraphQL subscriptions
  • #2031 Add proto fields required for auctions
  • #2025 Add auction mode (currently never triggered)
  • #2013 Add Opening Auctions support to market framework
  • #2010 Add documentation for Order Errors to proto source files
  • #2003 Add fees support
  • #2004 Remove @deprecated field from GraphQL input types (as it’s invalid)
  • #2000 Fix rejectionReason for trades stopped for self trading
  • #1990 Remove specified tickSize from market
  • #2066 Fix validation of proposal timestamps to ensure that datestamps specify events in the correct order
  • #2043 Track Event Queue events to avoid processing events from other chains twice

v0.23.0-pre3

11 Aug 09:13
Compare
Choose a tag to compare
Correct bash typo

Release v0.22.0

25 Jul 18:32
8e3714c
Compare
Choose a tag to compare
*2020-07-20*

This release primarily focuses on setting up Vega nodes to deal correctly with
events sourced from other chains, working towards bridging assets from Ethereum.
This includes responding to asset events from Ethereum, and support for
validator nodes notarising asset movements and proposals.

It also contains a lot of bug fixes and improvements, primarily around an
internal refactor to using an event bus to communicate between packages. Also
included are some corrections for order statuses that were incorrectly being
reported or left outdated on the APIs.

New:
- [#1825](https://github.com/vegaprotocol/vega/pull/1825)
  Add new Notary package for tracking multisig decisions for governance
- [#1837](https://github.com/vegaprotocol/vega/pull/1837)
  Add support for two-step governance processes such as asset proposals
- [#1856](https://github.com/vegaprotocol/vega/pull/1856)
  Implement handling of external chain events from the Event Queue
- [#1927](https://github.com/vegaprotocol/vega/pull/1927)
  Support ERC20 deposits
- [#1987](https://github.com/vegaprotocol/vega/pull/1987)
  Add `OpenInterest` field to markets
- [#1949](https://github.com/vegaprotocol/vega/pull/1949)
  Add `RejectionReason` field to rejected governance proposals

Improvements:
- 💥 [#1988](https://github.com/vegaprotocol/vega/pull/1988)
  REST: Update orders endpoints to use POST, not PUT or DELETE
- 💥 [#1957](https://github.com/vegaprotocol/vega/pull/1957)
  GraphQL: Some endpoints returned a nullable array of Strings. Now they return
  an array of nullable strings
- 💥 [#1928](https://github.com/vegaprotocol/vega/pull/1928)
  GraphQL & GRPC: Remove broken `open` parameter from Orders endpoints. It
  returned ambiguous results
- 💥 [#1858](https://github.com/vegaprotocol/vega/pull/1858)
  Fix outdated order details for orders amended by cancel-and-replace
- 💥 [#1849](https://github.com/vegaprotocol/vega/pull/1849)
  Fix incorrect status on partially filled trades that would have matched with
  another order by the same user. Was `stopped`, now `rejected`
- 💥 [#1883](https://github.com/vegaprotocol/vega/pull/1883)
  REST & GraphQL: Market name is now based on the instrument name rather than
  being set separately
- [#1699](https://github.com/vegaprotocol/vega/pull/1699)
  Migrate Margin package to event bus
- [#1853](https://github.com/vegaprotocol/vega/pull/1853)
  Migrate Market package to event bus
- [#1844](https://github.com/vegaprotocol/vega/pull/1844)
  Migrate Governance package to event
- [#1877](https://github.com/vegaprotocol/vega/pull/1877)
  Migrate Position package to event
- [#1838](https://github.com/vegaprotocol/vega/pull/1838)
  GraphQL: Orders now include their `version` and `updatedAt`, which are useful
  when dealing with amended orders
- [#1841](https://github.com/vegaprotocol/vega/pull/1841)
  Fix: `expiresAt` on orders was validated at submission time, this has been
  moved to post-chain validation
- [#1849](https://github.com/vegaprotocol/vega/pull/1849)
  Improve Order documentation for `Status` and `TimeInForce`
- [#1861](https://github.com/vegaprotocol/vega/pull/1861)
  Remove single mutex in event bus
- [#1866](https://github.com/vegaprotocol/vega/pull/1866)
  Add mutexes for event bus access
- [#1889](https://github.com/vegaprotocol/vega/pull/1889)
  Improve event broker performance
- [#1891](https://github.com/vegaprotocol/vega/pull/1891)
  Fix context for event subscribers
- [#1889](https://github.com/vegaprotocol/vega/pull/1889)
  Address event bus performance issues
- [#1892](https://github.com/vegaprotocol/vega/pull/1892)
  Improve handling for new chain connection proposal
- [#1903](https://github.com/vegaprotocol/vega/pull/1903)
  Fix regressions in Candles API introduced by event bus
- [#1940](https://github.com/vegaprotocol/vega/pull/1940)
  Add new asset proposals to GraphQL API
- [#1943](https://github.com/vegaprotocol/vega/pull/1943)
  Validate list of allowed assets

Release v0.21.0

18 Jun 18:54
fde19b7
Compare
Choose a tag to compare
*2020-06-18*

A follow-on from 0.20.1, this release includes a fix for the GraphQL API returning inconsistent values for the `side` field on orders, leading to Vega Console failing to submit orders. As a bonus there is another GraphQL improvement, and two fixes that return more correct values for filled network orders and expired orders.

Improvements:
- 💥 [#1820](https://github.com/vegaprotocol/vega/pull/1820)
    GraphQL: Non existent parties no longer return a GraphQL error
- 💥 [#1784](https://github.com/vegaprotocol/vega/pull/1784)
    GraphQL: Update schema and fix enum mappings from Proto
- 💥 [#1761](https://github.com/vegaprotocol/vega/pull/1761)
    Governance: Improve processing of Proposals
- [#1822](https://github.com/vegaprotocol/vega/pull/1822)
    Remove duplicate updates to `createdAt`
- [#1818](https://github.com/vegaprotocol/vega/pull/1818)
    Trades: Replace buffer with events
- [#1812](https://github.com/vegaprotocol/vega/pull/1812)
    Governance: Improve logging
- [#1810](https://github.com/vegaprotocol/vega/pull/1810)
    Execution: Set order status for fully filled network orders to be `FILLED`
- [#1803](https://github.com/vegaprotocol/vega/pull/1803)
    Matching: Set `updatedAt` when orders expire
- [#1780](https://github.com/vegaprotocol/vega/pull/1780)
    APIs: Reject `NETWORK` orders
- [#1792](https://github.com/vegaprotocol/vega/pull/1792)
    Update Golang to 1.14 and tendermint to 0.33.5

Release v0.20.1

18 Jun 09:18
13e70cc
Compare
Choose a tag to compare
*2020-06-18*

This release fixes one small bug that was causing many closed streams, which was a problem for API clients.

Improvements:
- [#1813](https://github.com/vegaprotocol/vega/pull/1813)
    Set `PartyEvent` type to party event