Skip to content

0.7.0

Compare
Choose a tag to compare
@mgordel mgordel released this 11 Aug 17:43

Release notes

Proudly presents a first real Golem’s JavaScript API release that simplifies the development of applications on the Golem Network without any limits would make Golem a dream-come-true platform also for JavaScript developers.

This new release includes a complete API refactoring breaking with the previous convention of a ported API from Python version - yapapi.
Version 0.7.0 is mainly focused on:

  • new API interface to develop application on Golem easier
  • WebRequestor - provision of browser support
  • refactor SDK to use native JS convention instead porting from Py

This version does not support backwards compatibility

New features

The first real Golem's JS API - native mechanisms from the JS world for JS developers

One of our main objectives was to create a new API interface to provide JavaScript developers an easier way to create applications on the Golem Network. Compared to the previous version, where the way of working with the SDK was taken from the Python environment, in the current version we have rebuilt the way of develop application using SDK to make it enjoyable and natural for JavaScript developers.

WebRequestor - support for browser

We removed node engine-specific dependencies and implemented native support for multiple communication processes with the yagna service, that allows us to provide support functionality of execute requests on the Golem Network directly from the browser. This functionality is called WebRequestor. Now the built library yajsapi you can import to your frontend project.

New API

  • Redesigned Task API
  • Redesigned Work Context API
  • Added following methods in Task API: run(), map(), forEach(), beforeEach()
  • Added following methods in Work Context API: run(), uploadFile(), uploadJson(), downloadFile(), beginBatch()

What's Changed

Full Changelog: 0.6.1...0.7.0