DEV Community

Cover image for rubico v1.2 release notes
Richard Tong
Richard Tong

Posted on • Edited on

3 3

rubico v1.2 release notes

rubico v1.2 is out! Here's a summary of the changes.

v1.2.0

  • flatMap; map + flatten
  • transform(f, init), reduce(f, init); init can be a function
  • rubico/x/defaultsDeep - deeply assign defaults
  • rubico/x/isDeepEqual - left deeply equals right? eager version of eq.deep
  • rubico/x/find - get the first item in a collection that passes the test
  • rubico/x/forEach - execute a function for each item of a collection, returning input
  • rubico/x/is - directly checks the constructor
  • rubico/x/isEqual - left strictly equals right? eager version of eq
  • rubico/x/isObject - is object?
  • rubico/x/isString - is string?
  • rubico/x/pluck - create a new collection by getting a path from every item of an old collection
  • rubico/x/unionWith - create a flattened unique array with uniques given by a binary predicate

Also renamed rubico.js -> esm.js. This is for esm imports like

import rubico from 'https://unpkg.com/rubico/esm.js'
Enter fullscreen mode Exit fullscreen mode

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (1)

Collapse
 
artydev profile image
artydev

Great , thank you very much :-)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay