Liking cljdoc? Tell your friends :D

Changelog

1.19.0 / 2024-08-15

  • Remove applicative engine dependency from funcool/cats

1.18.1 / 2024-07-16

  • Fix virtual-future applicative engine error handling so that ExecutionExceptions are always unwrapped
  • Improve ergonomics when an unknown engine is specified
  • Mark virtual future applicative engine as eval-key-channel true.

1.18.0 / 2024-06-20

  • Add virtual-future based applicative engine (for java21+)

1.17.0 / 2024-05-23

  • Better and more consistent error messages when there is a missing key in an environment.
  • Add new engine :async.virtual-futures that uses Java 21 support for virtual threads

1.16.0 / 2024-02-16

  • Allow sequences to refer to any node in the environment for the mapped fn

1.15.0 / 2023-12-07

  • Allow running the lazy synchronous engine with a channel return.

1.14.1 / 2023-12-05

  • Fix bug that allowed a leaf body to be run multiple times in engines which used the lazy environment.

1.14.0 / 2023-11-30

  • Fix bug preventing nil values to the passed through channels on core-async applicative engine
  • Create a blocking tag that allows leafs and sequences to be tagged with blocking to signal that they contain a blocking IO or other expensive blocking op. Engines can choose to optimize runs with this info
  • Core Async Lazy Scheduler and Core-Async Applicative support for blocking tags. Leafs with blocking tags will be dispatched through the dynamic thread pool instead of the fixed core-async worker pool
  • Add eval-key-contextual function to applicative engine for eval-node-channel evaluation. Enable returning a core.async channel to e.g. Pedestal from the applicative engine.
  • Add applicative.core-async as engine to api v0
  • Rename async.applicative to applicative.promesa

1.13.0 / 2023-09-12

  • Add checked-env function for cycle detection in env
  • Added applicative synchronous engine (:async.applicative)
  • Applicative engine support for core-async
  • Applicative engine support for sync execution
  • Add schema validation syntax
  • Add support for schema validation on applicative engine

1.12.0 / 2023-02-08

  • Add an applicative/monad engine using funcool/promesa in the backend, but theoretically extendable to anything implementing applicative and monad protocols. This is experimental and comes with no guarantees. Some minor tweaks might be needed to support cljs.

1.11.0 / 2022-11-24

  • Add data constructors to api
  • solve #89

The raw constructors are useful to build nodes dynamically

1.10.0 / 2022-10-17

  • Add nodely tutorial
  • add eval to api.v0
  • fix >or and >and

1.9.0

  • Add >if helper with similar behavior to clojure if

1.8.2

  • Lazy Scheduler Core.Async Engine throws exception when looking for a key that is missing
  • Fixes #67

1.8.1

  • Lazy Scheduling Core.Async Engine Optimization
  • Remove some unnecessary go blocks by passing out-ch explicitely to eval-async

1.8.0

  • Async Leaf Interface: AsyncThunk is a record that receives a function that returns a channel. With this, AsyncThunk implements evaluation-channel and invoke. The former is needed for non-blocking async behaviour. Invoke is needed to keep compatibility with sync.lazy engine and other engines relying on sync call behaviour. Helpers for creating leaf returning a channel is provided.
  • Core Async Exception Handling: We're using an exception channel for fast tracking exceptions and end execution early without bubbling up exception through channels. This required some machinery to make the job easier.

1.7.1

  • Fix flaky test (collision on keywords on sequence-gen having same value)

1.7.0

  • Add api for evaluation returning a channel

1.6.0

  • Use the evaluation-channel protocol function to get values out of the fn position on nodes.
  • Should allow e.g. async http request thunks to work right without any more protocol fns.
  • You have to close channels in async-pipeline!!! Otherwise it blocks indefinitely.

1.5.4

  • On lazy scheduling core async engine, extended IFn protocol so that it implements sync/async protocol
  • Make lazy scheduling core async engine use async protocol by default

1.5.3

  • Fix error where engine swallows nil values when executing a sequence

1.5.2

  • [Fix] Add back iterative scheduling

1.5.1

  • Change the api so that there is only one eval-key with options to customize the engine.
  • Add api.v0 namespace
  • Add core-async engine with lazy scheduling support

1.5.0

  • Describe your change here.

1.4.0

  • Add >value helper
  • remove prismatic/schema-generators from core deps

1.3.0

  • All evals return a channel
  • Pipe channel results to the promise channel in the graph
  • Eval leaf and eval node run trivial go blocks to get their returns in channels.
  • Eval seq sets up parallel pipeline to process the sequence in parallel.
  • nodely.engine.core-async/*eval-sequence-parallelism* affords client control of sequence parallelism, defaults to 4 pipelines.

1.2.0

  • Added commited-dependencies function, a helper for efficiently processing nodely graphs async
  • Leaf inputs are now called ::inputs and accept a set
  • Sequence inputs are now called ::input and accept a keyword

Handles https://github.com/nubank/nodely/issues/54

1.1.0

  • Add core async engine implementation. This engine unravels the branches sync first before solving the dag with core async. Sequences are still using manifold futures.

1.0.0

  • Change branch data structure to allow node on condition
  • Simplify syntax macros
  • Change branch data structure attribute from left -> truthy and right -> falsey

This change allows the user to express conditions as nodes, and also include branches and branch-like structures on this condition. Example:

(>cond
  (>and (>leaf (check-1 ?a))
            (>leaf (check-2 ?b)))

  (>leaf (do-something ?a ?b))

  (>leaf (check-3 ?c)
  (>leaf (do-something-else ?d))

The trade off is some added verbosity for extra simplicity and consistency.

Addresses https://github.com/nubank/nodely/issues/4

0.9.0

  • Fixes sequence schema

0.8.0

  • Enable support for sequences

0.7.2

  • Use recursive schema declaration

0.7.1

  • Fix env macro to enable declaration of partial envs

0.7.0

  • Support direct node definition on cond and env by escaping inner node with >node symbol.

0.6.0

  • Refactor api and add helpers for values

0.5.0

  • Support nested conds.

0.4.2

  • Remove unnecessary var quote.

0.4.1

  • Switch async implementation to use deferred/future from manifold instead of future. Deferred/future uses a default executor that may or may not start a new thread depending on thread pool utilization. It is possible to customize executor in the future if necessary to provide additional thread pool control.

0.4.0

  • Add async execution engine
  • Reorg engine ns into core, sync and lazy ns
  • Change api to reflect async vs lazy eval

0.3.1

  • Fix cond expansion bug

0.3.0

  • Add public api namespace

0.2.9

  • fix wrong data schema

0.2.8

  • Fix bug that was generating leaf with a 0-arg function for leaf with no input

0.2.7

  • Fixing release

0.2.6

  • fix eval-with-map test

0.2.5

  • fix broken eval and add tests

0.2.4

  • cond and env was incorrectly expanding expr with no dependencies as values, but they should be leaves to defer evaluation

0.2.3

  • add engine and syntax namespace

0.2.2

  • Add data namespace and schemas

0.2.1

  • Fix cond-qm

0.2.0

  • Add cond with question mark syntax

0.1.1

  • Empty change to fix pipeline

0.1.0

  • First version

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

Added

  • CHANGELOG.md created.

Changed

  • Something has been changed.

Fixed

  • Something has been fixed.

Removed

  • Something has been removed.

Can you improve this documentation? These fine people already did:
Alex Redington, sovelten, joaopluigi & Sophia Velten
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close