diff --git a/README.md b/README.md index aa5d8b1..c438c34 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # vkBeautify javascript plugin to **pretty-print** or **minify** -text in **XML**, **JSON** and **CSS** formats. +text in **XML**, **JSON**, **CSS** and **SQL** formats. -**Version** - 0.95.01.beta +**Version** - 0.96.00.beta **Copyright** (c) 2012 Vadim Kiryukhin ( vkiryukhin @ gmail.com ) @@ -24,13 +24,17 @@ the MIT and GPL licenses: * `vkbeautify.css(text )` - pretty print CSS text; +* `vkbeautify.sql(text )` - pretty print SQL text; + * `vkbeautify.xmlmin(text [, preserveComments] ` - minify XML text; -* `vkbeautify.jsonmin(text preserveComments)` - minify JSON text; +* `vkbeautify.jsonmin(text)` - minify JSON text; * `vkbeautify.cssmin(text [, preserveComments] )` - minify CSS text; +* `vkbeautify.sqlmin(text)` - minify SQL text; + **PARAMETERS:** `@text` - String; XML, JSON or CSS text to beautify; @@ -56,3 +60,7 @@ to true to prevent removing comments from @text; `var css_min = vkbeautify.cssmin(css\text [, true]);` +`var sql_pp = vkbeautify.sql(sql_text);` + +`var sql_min = vkbeautify.sqlmin(sql_text);` + diff --git a/change.log b/change.log index d619558..394c3da 100644 --- a/change.log +++ b/change.log @@ -10,6 +10,9 @@ This software has been released under the MIT license: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + Version 0.96.beta + New functionality: pretty-print and minify SQL. + Version: 0.95.beta New functionality: minifying XML, JSON and CSS. New API stile: object style access "vkbeautify.xml(text)" instead of function style "vkbeautify(text,'xml');"