Skip to content

Commit

Permalink
v0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed May 1, 2022
1 parent cb06b46 commit 1dc44b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@

For a list of breaking changes, check [here](#breaking-changes)

## Unreleased
## v0.3.5

- [#711](https://github.com/babashka/sci/issues/711): support *print-dup*
- [#711](https://github.com/babashka/sci/issues/711): support `*print-dup*`
- [#712](https://github.com/babashka/sci/issues/712): destructuring in protocol impl not working
- [#715](https://github.com/babashka/sci/issues/715): allow property access on vars in CLJS
- Add `->Eduction`
- Expose `print-err-fn` in SCI core API
- add `:name` metadata via helper functions and use metadata for var names
- Improve error reporting for `let*` and `try`
- [#714](https://github.com/babashka/sci/issues/714): Improve instance member call parity with Clojure/JVM
- Default `*read-eval*` / `sci/read-eval` to false
- Expose `all-ns` and `find-ns` in `sci/core`
- Fix for `copy-ns` when var has no metadata
- Add `add-class` and `add-import` API functions in `sci/core`
- `sci.async`: EXPERIMENTAL namespace for async evaluation in CLJS

## v0.3.4

Expand Down
2 changes: 1 addition & 1 deletion resources/SCI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.4
0.3.5
5 changes: 0 additions & 5 deletions src/sci/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,6 @@
([v f & args]
(apply vars/alter-var-root v f args)))

(defn set-var-root
"Sets root of var v to x"
[v x]
(vars/set-var-root v x))

(defn intern
"Finds or creates a sci var named by the symbol name in the namespace
ns (which can be a symbol or a sci namespace), setting its root
Expand Down
4 changes: 0 additions & 4 deletions src/sci/impl/vars.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,6 @@
(locking v (bindRoot v (apply f (getRawRoot v) args)))
:cljs (bindRoot v (apply f (getRawRoot v) args)))))

(defn set-var-root
([^SciVar v x]
(bindRoot v x)))

(defn new-var
"Returns a new sci var."
([name] (doto (new-var name nil nil)
Expand Down

0 comments on commit 1dc44b3

Please sign in to comment.