This guide summarizes what to check when moving from v0.4.x to v1.0.0.
paclo.core, paclo.decode-ext)pcap-filter, pcap-stats, flow-topn, dns-qps, dns-topn)paclo.corepaclo.decode-extpaclo.pcap, paclo.parse, paclo.proto.*)Clojure 1.12.x (official support baseline)1/2/3/4 explicitlyclojure -M:testThe public/stable API surface is fixed to:
paclo.core: bpf, packets, write-pcap!, list-devicespaclo.decode-ext: register!, unregister!, installed, apply!Internal namespaces remain usable for local experiments, but they are out of compatibility guarantees in v1.0+.
1.12.x.17/21, macOS/Linux, x86_64/arm64
(arm64 is monitored in CI and may become a required gate later).If you are still pinned to Clojure 1.11.x, upgrade first.
For official CLI commands, the shared error exit codes are:
1: missing required args / usage2: input file not found3: invalid enum value (group/mode/metric/format)4: invalid flag/valueNormal output is emitted to stdout; diagnostics and warnings go to stderr.
clojure -M:run behaviorclojure -M:run is kept as a convenience entrypoint and prints usage guidance.
It is not an app runtime API.
rg -n "paclo\\.(pcap|parse|proto)" src test dev
;; before (internal)
(require '[paclo.pcap :as p])
;; after (public)
(require '[paclo.core :as core])
clojure -M:dev -m examples.pcap-stats
echo $? # expect 1
clojure -M:test
v1.x: backward-compatible additions are allowed.v2.0.0).Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |