Skip to content

Commit

Permalink
[mod] [#404] [#398] [BREAKING] Disable default legacy pack value
Browse files Browse the repository at this point in the history
See `*write-legacy-pack-format?*` var docstring for full details.
  • Loading branch information
ptaoussanis committed Mar 7, 2023
1 parent 7dba037 commit d5b3dc5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/taoensso/sente.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -242,19 +242,18 @@
writes v1 format only
Sente v1.17: reads v1 and v2 formats
writes v1 and v2 formats (v1 default) <- Currently here
writes v1 and v2 formats (v1 default)
Sente v1.18: reads v1 and v2 formats
writes v1 and v2 formats (v2 default)
writes v1 and v2 formats (v2 default) <- Currently here
Sente >= v1.19: reads v2 format only
writes v2 format only
This var controls which format to use for writing.
Override default with `alter-var-root` or `binding`."

;; TODO -> false for Sente v1.18, remove for Sente >= v1.19
true)
false)

(defn- pack "[clj ?cb-uuid]->packed"
([packer clj ] (pack packer clj nil))
Expand Down

0 comments on commit d5b3dc5

Please sign in to comment.