Skip to content

Releases: binaryage/dirac

1.2.0

04 Mar 22:28
v1.2.0
Compare
Choose a tag to compare

Reveal via nREPL

This release adds a new option to reveal files in your favourite editor/IDE when clicking links present in DevTools UI. This feature was requested in issue #56.

You can read more in this FAQ entry.

Rolling DevTools

Merged commits 82a742e...eae34e4 from official DevTools.
Should work best with Chrome ~58.0.3028.3.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

21a3fa3 nrepl: prevent REPL hang when evaluating an empty string in joined mode
f01c260 nrepl: add support for "dirac-devtools-request" and implement :reveal-url
5740f37 devtools: add support for registering dirac link actions
c33930e implant: implement a new link handler "Reveal via nREPL"
0d62173 introduce :link-actions option

All new work: v1.1.6...v1.2.0

1.1.6

26 Feb 22:59
v1.1.6
Compare
Choose a tag to compare

A maintenance release

Rolling DevTools

Merged commits 820d482...82a742e from official DevTools.
Should work best with Chrome ~58.0.3024.2.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

none

All new work: v1.1.5...v1.1.6

1.1.5

19 Feb 12:31
v1.1.5
Compare
Choose a tag to compare

A maintenance release

Rolling DevTools

Merged commits 48238d4...820d482 from official DevTools.
Should work best with Chrome ~58.0.3015.3.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

9a06b6f implant: use cljs-read-opts when parsing clojurescript ns forms (#55)

All new work: v1.1.4...v1.1.5

1.1.4

11 Feb 19:11
v1.1.4
Compare
Choose a tag to compare

More paranoid checks

The nREPL world has sharp edges. Dirac is now more suspicious about nREPL server it is talking to. It tries to check that tools.nrepl library version matches and that expected nREPL middleware is in place. People with misconfigured nREPL servers should get at least some early warnings before they run into rather cryptic failures.

Also entering multiple forms into Dirac REPL prompt was broken. For example entering 1 (+ 2 3) should now yield two results: 1 and 5 (in this order).

Rolling DevTools

Merged commits 272186b...48238d4 from official DevTools.
Should work best with Chrome ~58.0.3009.2.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

bae9f1f devtools: reimplement prompt selection when browsing command history (#54)
826dc3c nrepl: properly handle REPL prompt input with multiple forms
1c74b7d lib: implement paranoid-middleware-setup-check! in nrepl-tunnel (#52)
db2384f lib: make paranoid and dirac nrepl version check optional

All new work: v1.1.3...v1.1.4

1.1.3

02 Feb 21:43
v1.1.3
Compare
Choose a tag to compare

Continued source-maps work

Still fixing source-maps issues. Also made frontend startup more robust.

Rolling DevTools

No changes.

Notable commits

e03cb3f devtools: rewrite SDK.TextSourceMap.findEntry
adba577 devtools: don't assume monotonic mappings in SDK.TextSourceMap._parseMap
5d3a6fb devtools: add support for handshake prior frontend initialization

All new work: v1.1.2...v1.1.3

1.1.2

01 Feb 21:43
v1.1.2
Compare
Choose a tag to compare

Source-maps quirks

Local names on Sources panel can get pretty much confused under some circumstances as reported in issue #53. Turns out this is caused by source mapping when DevTools tries to present original source names (from ClojureScript) but internally works with generated Javascript identifiers. Mapping between those two worlds can break for example because of duplicit names. This release attempts to fix it.

Rolling DevTools

Merged commits f4c45a0...272186b from official DevTools.
Should work best with Chrome ~58.0.2999.2.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

2f1268b devtools: fix edge case in SDK.TextSourceMap.findEntry (#53)
65c9264 devtools: make Sources.SourceMapNamesResolver aware of duplicit names (#53)
0ed1b3b devtools: handle duplicit names in decoration (JavaScriptSourceFrame) (#53)

All new work: v1.1.1...v1.1.2

1.1.1

25 Jan 20:13
v1.1.1
Compare
Choose a tag to compare

A bug-fix release

In 1.1.0 release I brought unwanted dependency on cljs-oops into dirac.runtime. This caused some issues to folks using Clojure 1.8, because cljs-oops uses clojure.spec which is available since Clojure 1.9.

This release also contains smaller fixes related to source maps associated with REPL evaluations.

Rolling DevTools

Merged commits f633692...f4c45a0 from official DevTools.
Should work best with Chrome ~58.0.2992.2.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

d26a96b nrepl: make dirac-command-re more strict
0db5868 nrepl: generate better urls for repl-generated javascript files
d5dc409 nrepl: there is no need to embed js sources in generated source maps
e3774be implant: make sure we warm-up-namespace-cache! on start
a86617a runtime: remove dependency on cljs-oops

All new work: v1.1.0...v1.1.1

1.1.0

22 Jan 22:50
v1.1.0
Compare
Choose a tag to compare

Experimental Node.js suppport

As requested in #31, I sat down and implemented support for node. Read more in the docs.

Also I implemented some usability improvements. The Dirac Extension badge icon starts as gray and switches to color after Dirac gets fully initialised (stealing protocol API definitions from internal DevTools takes a while and the icon is unresponsive before we enter event processing). Also newly the badge icon signals with a question mark that it is attempting a new connection.

Beautification of function names on Call Stack sidebar pane depends on source maps. And source maps are loaded and parsed asynchronously. This could cause that initial render of Call Stack items could have mangled names due to missing source map data in cold caches. I have implemented a workaround which updates Call Stack pane after cache population.

Also newly you can use dirac :help instead of (dirac! :help), parentheses and exclamation mark are now optional.

Rolling DevTools

Merged commits 11c5e26...f633692 from official DevTools.
Should work best with Chrome ~58.0.2988.2.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

131049a project: add an easier way how to enable debug logging in agent
144aef3 implant: make parse-ns-from-source more resilient
1cba5e9 nrepl: make dirac! special REPL command more flexible
dc69f5f shared: fix options parsing when initially receiving nil options
bfb1b09 background: show connecting status on badge icon
b507b88 background: show gray icon before entering events processing loop
e8a222f implant: update-callstack-pane! when namespaces-cache-changed!
d62955c devtools: associate proper icon to ConsoleDiracCommand log lines
e9670e4 runtime: add support for node.js (#31)

All new work: v1.0.0...v1.1.0

1.0.0

12 Jan 21:59
v1.0.0
Compare
Choose a tag to compare

Happy birthday, Dirac! 🎂

It has been one year since release of the initial proof-of-concept version of Dirac DevTools. My original goal was to add a usable ClojureScript REPL directly into Chrome. As usual, I terribly under-estimated the ultimate complexity of such task. But finally one year later I believe this was accomplished. Dirac offers some additional bells & whistles but that seems to be minor in grand scheme of things.

For me personally Dirac now has all features I required from DevTools for comfortable ClojureScript development work in the browser. And I hope in the long run it will help ClojureScript to be more developer-friendly compared to other compile-to-js languages. btw. Which one can say it has a custom-tailored fork of DevTools or a DevTools extension?

I'm going to move onto other projects, but I'm committed to maintain the Dirac code base and update it with upstream DevTools changes over the next year.

Rolling DevTools

Merged commits 34a062b...11c5e26 from official DevTools.
Should work best with Chrome ~57.0.2979.3.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

NONE

All new work: v0.8.8...v1.0.0

0.8.8

30 Dec 21:18
v0.8.8
Compare
Choose a tag to compare

A hot-fix release

This is a hot-fix for changes in chrome debugger protocol layout.

Rolling DevTools

Merged commits 5bb1331...34a062b from official DevTools.
Should work best with Chrome ~57.0.2966.2.
Links to matching Chromium snapshots: Mac | Linux_x64 | Win | Win_x64.

Notable commits

NONE

All new work: v0.8.7...v0.8.8