Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .cljfmt.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{:legacy/merge-indents? true
:indents {cond [[:inner 0]]
fn* [[:inner 0]]
futurama.core/async [[:inner 0]]
futurama.core/thread [[:inner 0]]
futurama.core/async! [[:inner 0]]
futurama.core/thread! [[:inner 0]]
futurama.impl/async-dispatch-task-handler [[:inner 0]]}}
7 changes: 4 additions & 3 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ jobs:
test:
strategy:
matrix:
java_version: [corretto-11,corretto-21]
test_clojure_alias: [clojure-1.10, clojure-1.11, clojure-1.12]
test_core_async_alias: [core.async-1.6, core.async-1.7, core.async-1.8]
java_version: [corretto-24]
test_clojure_alias: [clojure-1.12]
test_core_async_alias: [core.async-1.8, core.async-1.9]
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
1 change: 1 addition & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ clojure = "https://github.com/asdf-community/asdf-clojure.git"

[tools]
clojure = "1.12"
java = "graalvm-22.3.1+java11"
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
This is a history of changes to k13labs/futurama

# 1.4.0
* **Enhanced Cancellation**: Improved cancellation support now works across all async types including core.async channels
* **State Management**: Replaced WeakHashMap with Caffeine cache for lock-free, thread-safe cancellation state tracking
* **Dependencies**: Added Caffeine 3.2.2, updated Clojure to 1.12.3, core.async to 1.8.741 (with 1.9.829-alpha2 support)
* **CI Updates**: Test matrix now covers Clojure 1.12 with core.async 1.8/1.9 on Java 11 & 24 (library remains backwards compatible)
* **Improvements**: Channel factories use identity exception handler for robust error handling, consistent protocol return values

# 1.3.1
* update core async version to latest `1.8.735`

Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ env:
repl:
clojure -M:$(REPL_CLOJURE_ALIAS):$(REPL_CORE_ASYNC_ALIAS):dev:test:app:repl

repl-next: REPL_CORE_ASYNC_ALIAS := core.async-1.9
repl-next: repl

test:
clojure -M:$(TEST_CLOJURE_ALIAS):$(TEST_CORE_ASYNC_ALIAS):dev:test:app:runner \
--focus :unit --reporter kaocha.report/documentation --no-capture-output

test-next: TEST_CORE_ASYNC_ALIAS := core.async-1.9
test-next: test

clean:
rm -rf target build

Expand Down
Loading