Skip to content

Releases: Coinversable/validana-server

Validana Server 2.2.0

02 Nov 14:50
Compare
Choose a tag to compare
  • (Minor) Support notifications between server threats using Database.get().notify(mytype, mydata) and ServerEventEmitter.get("notification").subscribe(message,(mydata) => {},mytype)
  • (Minor) Allow adding method to retrieve multiple keys from cache at once.
  • (Minor) When providing 'wait' for processtx now replies with processed transaction.
  • Now defaults to node 16.
  • Improve shutdown precedure.
  • Now uses @sentry/node instead of raven.

Validana Server 2.1.1

27 Nov 10:16
Compare
Choose a tag to compare

Properly listen for new blocks after losing database connection.

Validana Server 2.1.0

27 Nov 09:06
Compare
Choose a tag to compare
  • (MAJOR) Requires the node/processor version 2.
  • (MAJOR) Uses typescript 3.7
  • (MAJOR) Docker defaults to node.js 12
  • (MAJOR) Postgres BIGINT arrays are returned as number[] instead of string[]
  • (MAJOR) Renamed ActionHandler to RequestHandler, Handler to Protocol, HttpHandler to HttpProtocol and WebsocketHandler to WebsocketProtocol. Old names are deprecated.
  • (MAJOR) Default for VSERVER_TLS is now false instead of true.
  • (MAJOR) Renamed config option VSERVER_RESTPORT to VSERVER_HTTPPORT. Old name is deprecated.
  • (MAJOR) Database.addListener(type) and ActionHandler.addUpdateHandler(listener) are no longer available, use ServerEventEmitter.get(type).subscribe(listener) instead.
  • (MAJOR) ActionHandlers are no longer created for each request, but for every version of the api. Session information should now be saved in message.session instead.
  • (MAJOR) ActionHandler.addTerminationHandler(listener) is no longer available. Use message.response.on("close",listener) instead.
  • (MAJOR) Responses default to 'application/json' content type instead of 'text/html'. Set message.requestHeaders["Content-Type"]='text/html' to change it back.
  • (MINOR) All methods added with addMessageHandler receive a second argument 'message' which can be used to set the response headers, status code and access more information about the request.
  • (MINOR) Added basic metrics gathering such as active connections, request per second and latency.
  • (MINOR) Added a simple cache that can be used. Turn it off by setting VSERVER_CACHING to false.
  • (MINOR) Can use websockets and http requests on the same port.
  • (MINOR) Makes use of a connection pool for the database instead of a single connection for significant performance improvements. Use VSERVER_DBMINCONNECTIONS and VSERVER_DBMAXCONNECTIONS to configure this.
  • (MINOR) Option to change log format.
  • (MINOR) Added an option for requesting (the status of) a list of transactions.
  • (MINOR) Can now wait for a transaction to be processed before receiving a response, rather than receiving a push message.
  • (MINOR) New option to set a maximum message size with VSERVER_MAXPAYLOADSIZE.
  • (MINOR) Added event emitters to many components to easily hook into them.
  • Request types made case insensitive
  • Uses postgres LISTEN to be notified of new blocks which reduces the duration for a processing transaction to receive a response.
  • Various other bugfixes and performance improvements.

Validana Server 1.0.1

26 Nov 12:38
Compare
Choose a tag to compare
v1.0.1

Fix git clone command in dockerfile.

Validana Server 1.0.0

19 Jun 08:47
Compare
Choose a tag to compare

Initial release.