Ferret v0.11.0

More features

May 21, 2020 by Vladimir Fetisov


Hello fellow miners,

Today, we are living in unprecedented times. There are almost 5 million people infected by COVID-19 and thousands die every day in the world.

During this time, the highest priority is to stay safe and healthy, take care of family.


Ferret team has been locked down in their homes with their families as everyone around the globe, but still has managed to make new Ferret v0.11.0 release!

Thanks to all our contributors for their help - we have done a lot of cool features.

So, let’s take a look!


What’s added

USE statement

There is no need to write a full function path anymore! Just add USE PATH::TO::PACKAGE at the top of your query.

USE IO::FS LET favicon = DOWNLOAD('https://www.google.com/favicon.ico') // 'WRITE' the same as 'IO::FS::WRITE'. // RETURN IO::FS::WRITE('google.favicon.ico', favicon) also valid. RETURN WRITE('google.favicon.ico', favicon)

PATH functions

New functions for working with file paths.

LET filename = 'main.go' RETURN PATH::EXT(filename) == '.go'

What’s changed

Scroll options

Scroll document’s window and elements according to MDN

LET doc = DOCUMENT(@url, { driver: 'cdp' }) SCROLL_BOTTOM(doc, { behavior: 'auto', block: 'end', inline: 'end' }) RETURN 1

What’s fixed

RANDOM_TOKEN

RANDOM_TOKEN return random string now! (even on Windows)

IO::FS::WRITE

Now files are created with read access automatically.


Around the Ferret

OSS-Fuzz platform

We have tried to connect Ferret with OSS-Fuzz platform. But Google has rejected Ferret :(