From abc23797b503b09e72ecb25bac95c0023175ec21 Mon Sep 17 00:00:00 2001 From: Bruce Hauman Date: Sat, 11 Jun 2016 22:06:48 -0400 Subject: [PATCH] bumping to 0.5.4 release --- CHANGES.md | 4 +++- README.md | 8 ++++---- example/project.clj | 6 +++--- plugin/project.clj | 2 +- plugin/src/leiningen/figwheel.clj | 2 +- sidecar/project.clj | 4 ++-- .../resources/compiled-utils/figwheel-helper-deploy.js | 2 +- sidecar/src/figwheel_sidecar/config.clj | 2 +- support/project.clj | 2 +- support/src/figwheel/client.cljs | 2 +- 10 files changed, 18 insertions(+), 16 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index db14b94f..f66f18b8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,6 @@ -## 0.5.4-SNAPSHOT Error messages and way more! +## 0.5.4 Error messages and way more! + +This is the most solid release of Figwheel so far ... enjoy!! #### Code context in Errors and Warnings diff --git a/README.md b/README.md index 51a6f21e..58d63b32 100644 --- a/README.md +++ b/README.md @@ -164,15 +164,15 @@ Make sure you have the [latest version of leiningen installed](https://github.co Then include the following `:dependencies` in your `project.clj` file. ```clojure -[org.clojure/clojure "1.7.0"] -[org.clojure/clojurescript "1.7.228"] +[org.clojure/clojure "1.8.0"] +[org.clojure/clojurescript "1.8.51"] ``` Then include `lein-figwheel` in the `:plugins` section of your project.clj. ```clojure -[lein-figwheel "0.5.1"] +[lein-figwheel "0.5.4"] ``` #### Configure your builds @@ -536,7 +536,7 @@ Figwheel has a Clojure that makes it easy to start, stop and control Figwheel from Clojure. In order for the following examples to work, you will need to have -`[figwheel-sidecar "0.5.1"]` in your dependencies. +`[figwheel-sidecar "0.5.4"]` in your dependencies. To start Figwheel from a script, you will need to require the `figwheel-sidecar.repl-api` and provide your build configuration to diff --git a/example/project.clj b/example/project.clj index f5ab0a1c..89b90785 100644 --- a/example/project.clj +++ b/example/project.clj @@ -14,10 +14,10 @@ #_[datascript "0.9.0"] [com.andrewmcveigh/cljs-time "0.3.11"] [cljs-http "0.1.35"]] - + :plugins [[lein-ring "0.8.13" :exclusions [org.clojure/clojure]] #_[lein-cljsbuild "1.1.2"] - [lein-figwheel "0.5.4-SNAPSHOT"] + [lein-figwheel "0.5.4"] #_[lein-npm "0.4.0"]] :node-dependencies [[source-map-support "0.2.8"] @@ -98,7 +98,7 @@ }}]} :profiles { :dev { :dependencies [[com.cemerick/piggieback "0.2.1"] - [figwheel-sidecar "0.5.4-SNAPSHOT"] + [figwheel-sidecar "0.5.4"] [org.clojure/tools.namespace "0.2.11"] [org.clojure/tools.nrepl "0.2.12"] [leiningen-core "2.6.1"]] diff --git a/plugin/project.clj b/plugin/project.clj index 3f570753..8667dceb 100644 --- a/plugin/project.clj +++ b/plugin/project.clj @@ -1,4 +1,4 @@ -(defproject lein-figwheel "0.5.4-SNAPSHOT" +(defproject lein-figwheel "0.5.4" :description "ClojureScript Autobuilder/Server which pushes changed files to the browser. This is the lein plugin." :url "https://github.com/bhauman/lein-figwheel" :license {:name "Eclipse Public License - v 1.0" diff --git a/plugin/src/leiningen/figwheel.clj b/plugin/src/leiningen/figwheel.clj index c5b5e632..bd16579f 100644 --- a/plugin/src/leiningen/figwheel.clj +++ b/plugin/src/leiningen/figwheel.clj @@ -10,7 +10,7 @@ [leiningen.figwheel.fuzzy :as metrics] [simple-lein-profile-merge.core :as lm])) -(def _figwheel-version_ "0.5.4-SNAPSHOT") +(def _figwheel-version_ "0.5.4") (defn make-subproject [project paths-to-add] (with-meta diff --git a/sidecar/project.clj b/sidecar/project.clj index 5af21504..00edcc83 100644 --- a/sidecar/project.clj +++ b/sidecar/project.clj @@ -1,4 +1,4 @@ -(defproject figwheel-sidecar "0.5.4-SNAPSHOT" +(defproject figwheel-sidecar "0.5.4" :description "ClojureScript Autobuilder/Server which pushes changed files to the browser." :url "https://github.com/bhauman/lein-figwheel" :license {:name "Eclipse Public License - v 1.0" @@ -18,7 +18,7 @@ :exclusions [ring/ring-core org.clojure/clojure]] [compojure "1.5.0" :exclusions [org.clojure/clojure]] [clj-stacktrace "0.2.8"] - [figwheel "0.5.4-SNAPSHOT" + [figwheel "0.5.4" :exclusions [org.clojure/tools.reader]] [hawk "0.2.10" :exclusions [org.clojure/clojure]] diff --git a/sidecar/resources/compiled-utils/figwheel-helper-deploy.js b/sidecar/resources/compiled-utils/figwheel-helper-deploy.js index c94d8672..25795919 100644 --- a/sidecar/resources/compiled-utils/figwheel-helper-deploy.js +++ b/sidecar/resources/compiled-utils/figwheel-helper-deploy.js @@ -3664,7 +3664,7 @@ c.call(null);d[cljs.core.async.impl.ioc_helpers.USER_START_IDX]=a;return d}();re figwheel.client.heads_up.close_bad_compile_screen=function(){var a=document.getElementById("figwheelFailScreen");return cljs.core.truth_(a)?goog.dom.removeNode(a):null}; figwheel.client.heads_up.bad_compile_screen=function(){var a=goog.dom.getElementsByTagNameAndClass("body")[0];figwheel.client.heads_up.close_bad_compile_screen.call(null);return goog.dom.append(a,goog.dom.createDom("div",{id:"figwheelFailScreen",style:[cljs.core.str("background-color: rgba(24, 26, 38, 0.95);"),cljs.core.str("position: absolute;"),cljs.core.str("z-index: 9000;"),cljs.core.str("width: 100vw;"),cljs.core.str("height: 100vh;"),cljs.core.str("top: 0px; left: 0px;"),cljs.core.str("font-family: monospace")].join("")}, goog.dom.createDom("div",{"class":"message",style:[cljs.core.str("color: #FFF5DB;"),cljs.core.str("width: 100vw;"),cljs.core.str("margin: auto;"),cljs.core.str("margin-top: 10px;"),cljs.core.str("text-align: center; "),cljs.core.str("padding: 2px 0px;"),cljs.core.str("font-size: 13px;"),cljs.core.str("position: relative")].join("")},goog.dom.createDom("a",{onclick:function(a){return function(a){a.preventDefault();return figwheel.client.heads_up.close_bad_compile_screen.call(null)}}(a),href:"javascript:", -style:"position: absolute; right: 10px; top: 10px; color: #666"},"X"),goog.dom.createDom("h2",{style:"color: #FFF5DB"},"Figwheel Says: Your code didn't compile."),goog.dom.createDom("div",{style:"font-size: 12px"},goog.dom.createDom("p",{style:"color: #D07D7D;"},"Keep trying. This page will auto-refresh when your code compiles successfully.")))))};figwheel.client._figwheel_version_="0.5.4-SNAPSHOT";figwheel.client.figwheel_repl_print=function(a){for(var b=[],c=arguments.length,d=0;;)if(d