Skip to content

Commit

Permalink
Merge branch 'release/0.2.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw committed May 30, 2016
2 parents 842f29d + eadda85 commit f327c50
Show file tree
Hide file tree
Showing 39 changed files with 540 additions and 308 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Programming question?
Something not working as expected?
- Describe the problem
- Provide code that replicates the problem
- We suggest to spawn a jsfiddle from http://jsfiddle.net/vahrxxzm
- We suggest to spawn a jsfiddle from http://jsfiddle.net/mtt9r7rx/

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ test/res*
node_modules/
npm-debug.log
site/
test/test604.json
4 changes: 4 additions & 0 deletions .versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
agershun:[email protected]
local-test:agershun:[email protected]
[email protected]
[email protected]
23 changes: 18 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
# Changelog
* Check https://trello.com/b/qxz65pVi/alasql-roadmap for roadmap

### 0.2.6 "Frikes" (22.04.2016)
_0.2.8 "..." (xx.06.2016)_


_0.2.7 "Corinth" (30.05.2016)_
* Added: Now supports Node 6.0
* Added: Let .promise return all responses (not just last)
* Change: Headers set as default true for INTO and FROM statements
* Fix: Back on track (for good) with supporting Meteor
* Fix: Default tentative string to numbers conversion when reading data from google spreadsheets
* Update: No need for empty params when async
* Update: Better hashing for cashing


### 0.2.6 "Frikes" (22.04.2016)

* Added: Progress callback
* Change: CLI defaults to pretty print (with option for compressed output as original)
* Update: CLI output is guaranteed to be valid JSON
* Update: Better error message for missing table or column
* Update: Typescript defenition for .promise
* Update: Empty params not needed for async calls
* Fix: Declaring all variables
* Fix: Read XLSX files
* Fix: Selecting a view from localstorage
* Fix: CREATE VIEW for localStorage engine
* Fix: Better use for RequireJS
* Update: CLI output is guaranteed to be valid JSON
* Update: Better error message for missing table or column
* Update: Typescript defenition for .promise
* Update: Empty params not needed for async calls


### 0.2.5 "Polychrono" (23.03.2016)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ _Got a question? Ask on [Stack Overflow](http://stackoverflow.com/questions/ask?

# AlaSQL

<a href="http://alasql.org"><img src="https://cloud.githubusercontent.com/assets/1063454/14003945/d6e56888-f156-11e5-95b9-3035a2538ae8.png" align="left" alt="AlaSQL logo" width="82" height="82"/></a>
<a href="http://alasql.org"><img src="https://cloud.githubusercontent.com/assets/1063454/14003945/d6e56888-f156-11e5-95b9-3035a2538ae8.png" align="left" alt="AlaSQL logo" /></a>

_( [à la](http://en.wiktionary.org/wiki/%C3%A0_la) [SQL](http://en.wikipedia.org/wiki/SQL) ) [ælæ ɛskju:ɛl]_ - AlaSQL is an open source SQL database for Javascript with a strong focus on query speed and datasource flexibility for relational data, schemaless data, and graph data. It works in your browser, Node.js, IO.js and Cordova.

Expand Down Expand Up @@ -645,6 +645,6 @@ and other people for useful tools, which make our work much easier.
----
<a href="http://alasql.org"><img src="https://cloud.githubusercontent.com/assets/1063454/14003946/d6e5c076-f156-11e5-8238-e62d2a8d20dc.png" align="right" alt="AlaSQL logo" width="82" height="82"/></a>
<a href="http://alasql.org"><img src="https://cloud.githubusercontent.com/assets/1063454/14003946/d6e5c076-f156-11e5-8238-e62d2a8d20dc.png" align="right" alt="AlaSQL logo"/></a>
© 2014-2016, Andrey Gershun ([email protected]) & M. Rangel Wulff ([email protected])
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@
"bin",
"lib"
],
"version": "0.2.6"
"version": "0.2.7"
}
4 changes: 2 additions & 2 deletions dist/alasql-worker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! AlaSQL v0.2.6 | © 2014-2016 Andrey Gershun & Mathias Rangel Wulff | License: MIT
//! AlaSQL v0.2.7 | © 2014-2016 Andrey Gershun & Mathias Rangel Wulff | License: MIT
/*
@module alasql
@version 0.2.6
@version 0.2.7
AlaSQL - JavaScript SQL database
© 2014-2016 Andrey Gershun & Mathias Rangel Wulff
Expand Down
2 changes: 1 addition & 1 deletion dist/alasql-worker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 33 additions & 34 deletions dist/alasql.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,43 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped



interface AlaSQLCallback {
(data?:any,err?:Error):void
(data?: any, err?: Error): void;
}

interface AlaSQLOptions {
errorlog: boolean;
valueof :boolean
dropifnotexists :boolean; // DROP database in any case
datetimeformat :string; // How to handle DATE and DATETIME types
casesensitive :boolean; // Table and column names are case sensitive and converted to lower-case
logtarget :string; // target for log. Values: 'console', 'output', 'id' of html tag
logprompt :boolean; // Print SQL at log
modifier :any; // values: RECORDSET, VALUE, ROW, COLUMN, MATRIX, TEXTSTRING, INDEX
columnlookup:number; // How many rows to lookup to define columns
autovertex:boolean;// Create vertex if not found
usedbo:boolean; // Use dbo as current database (for partial T-SQL comaptibility)
autocommit:boolean; // AUTOCOMMIT ON | OFF
cache:boolean; // Use cache
nocount:boolean;// for SET NOCOUNT OFF
nan:boolean;// Check for NaN and convert it to undefined
angularjs :boolean;
tsql:boolean;
mysql:boolean;
postgres:boolean;
oracle:boolean;
sqlite:boolean;
orientdb:boolean;
errorlog: boolean;
valueof: boolean;
dropifnotexists: boolean; // drop database in any case
datetimeformat: string; // how to handle DATE and DATETIME types
casesensitive: boolean; // table and column names are case sensitive and converted to lower-case
logtarget: string; // target for log. Values: 'console', 'output', 'id' of html tag
logprompt: boolean; // print SQL at log
modifier: any; // values: RECORDSET, VALUE, ROW, COLUMN, MATRIX, TEXTSTRING, INDEX
columnlookup: number; // how many rows to lookup to define columns
autovertex: boolean; // create vertex if not found
usedbo: boolean; // use dbo as current database (for partial T-SQL comaptibility)
autocommit: boolean; // the AUTOCOMMIT ON | OFF
cache: boolean; // use cache
nocount: boolean; // for SET NOCOUNT OFF
nan: boolean; // check for NaN and convert it to undefined
angularjs: boolean;
tsql: boolean;
mysql: boolean;
postgres: boolean;
oracle: boolean;
sqlite: boolean;
orientdb: boolean;
}

// Compiled Statement
// compiled Statement
interface AlaSQLStatement {
(params?:any,cb?:AlaSQLCallback,scope?:any):any;
(params?: any, cb?: AlaSQLCallback, scope?: any): any;
}

// Abstract Syntax Tree
// abstract Syntax Tree
interface AlaSQLAST {
compile(databaseid:string):AlaSQLStatement;
compile(databaseid: string): AlaSQLStatement;
}

// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/es6-promise/es6-promise.d.ts
Expand All @@ -52,12 +51,12 @@ interface Thenable<T> {
}

interface AlaSQL {
(sql:any,params?:any,cb?:AlaSQLCallback,scope?:any):any;
parse(sql):AlaSQLAST;
options:AlaSQLOptions;
error: Error;
promise(sql:any,params?:any):Thenable;
options: AlaSQLOptions;
error: Error;
(sql: any, params?: any, cb?: AlaSQLCallback, scope?: any): any;
parse(sql): AlaSQLAST;
promise(sql: any, params?: any): Thenable<any>;
}

declare var alasql : AlaSQL;
declare var alasql: AlaSQL;

Loading

0 comments on commit f327c50

Please sign in to comment.