Skip to content

Commit

Permalink
Merge branch 'release/0.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw committed May 20, 2020
2 parents 14ed71d + fda919f commit 51a1c42
Show file tree
Hide file tree
Showing 38 changed files with 37,783 additions and 36,320 deletions.
76 changes: 51 additions & 25 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,46 @@
# Changelog


## 0.5.6 "Bafq" (22.03.2020)

Add: GroupBy within nested array data set/params (#1167)
Fix: Use unknown DB name

### 0.6.1 (20.05.2020)

- Add: Use BETWEEN without parenthesis.
- Fix: Let ADD COLUMN use the given dbtypeid



## 0.6.0 (02.05.2020)

- Add: NULLS FIRST/LAST clause in ORDER BY (#1187)
- Add: Support table/row names starting with numbers



### 0.5.9 (26.04.2020)

- Add: Composite foreign keys implementation (#1179)
- Fix: Insert's toString() (#1177)
- Fix: DROP Filestorage Database with database name (#1184)

### 0.5.8 (27.03.2020)

- Fix: usage of CURRENT_TIMESTAMP (Fix #1174)

### 0.5.6 "Bafq" (22.03.2020)

- Add: GroupBy within nested array data set/params (#1167)
- Fix: Use unknown DB name

## 0.5.5 "Bam" (29.01.2020)
### 0.5.5 "Bam" (29.01.2020)

- Fix: Typescript typing

## 0.5.4 "Qom" (19.01.2020)
### 0.5.4 "Qom" (19.01.2020)

- Fix: QUART/MEDIAN/MIN/MAX on number/date/string


## 0.5.3 "Chabahar" (02.01.2020)
### 0.5.3 "Chabahar" (02.01.2020)

- Better: Support csv data from buffer
- Better: Error message for foreign key constraint fail #1009
Expand All @@ -24,7 +49,8 @@ Fix: Use unknown DB name
- Fix: Drop trigger #1113


#0.5.1 "Qazvin" (16.09.2019)
## 0.5.1 "Qazvin" (16.09.2019)

- Add: Chain OUTER JOIN's #1105
- Better: Typescript typings
- Better: Updated dependencies
Expand All @@ -33,60 +59,60 @@ Fix: Use unknown DB name
- Fix: Pivot function cast for SUM and AVG


## 0.4.11 "Lawdar" (05.10.2018)
### 0.4.11 "Lawdar" (05.10.2018)

* Add: Specified XLSX sheet without knowing the name


## 0.4.10 "Maoshk" (04.10.2018)
### 0.4.10 "Maoshk" (04.10.2018)


* Add: xlsxml files with multiple sheets


## 0.4.9 "Alsalfiah" (05.08.2018)
### 0.4.9 "Alsalfiah" (05.08.2018)

* Better: Error message grammar
* Better: Support for Meteor code standards
* Fix: dbprecision for select query
* Fix: Handle promise error when reading one line csv files
* Fix: AUTO_INCREMENT when using local storage

## 0.4.8 "Nafhan" (14.07.2018)
### 0.4.8 "Nafhan" (14.07.2018)

* Fix: Error when installing caused by missing cli file in npm


## 0.4.7 "Tarim" (14.07.2018)
### 0.4.7 "Tarim" (14.07.2018)

* Better: Always find global object


## 0.4.6 "Rahbah" (14.06.2018)
### 0.4.6 "Rahbah" (14.06.2018)

* Better: `Use strict` mode for javascript


## 0.4.5 "Marib" (24.01.2018)
### 0.4.5 "Marib" (24.01.2018)

* Fix: Aggregate functions applied to empty sets (#964)
* Fix: missing ORDER BY direction when calling toString on AST (#970)
* Fix: Converting the syntax tree back to SQL with multple joins (#972)

## 0.4.4 "Alsowm" (03.012.2017)
### 0.4.4 "Alsowm" (03.012.2017)

* Better: Better usage via unpkg.com
* Better: Better usage via jsdelivr.com


## 0.4.3 "Hajjah" (05.09.2017)
### 0.4.3 "Hajjah" (05.09.2017)

* Update: Removed implicit "any" in definition file
* Fix: Tabletop reads in empty cells as numeric 0 instead of empty string
* Fix: DISTINCT on emtpy table produced error


## 0.4.2 "Baraqish" (17.08.2017)
### 0.4.2 "Baraqish" (17.08.2017)

* Added: SQL function LTRIM
* Added: SQL function RTRIM
Expand All @@ -95,15 +121,15 @@ Fix: Use unknown DB name
* Fix: Use created database id on foreign key check as default database


## 0.4.1 "Sayhut" (23.07.2017)
### 0.4.1 "Sayhut" (23.07.2017)

* Better: Performace on `distinct` selects
* Better: Hashing for cashed SQLs
* Fix: Case insensetive selects from EXCEL
* Fix: Select from empty EXCEL


#0.4.0 "Sanaa" (09.05.2017)
##0.4.0 "Sanaa" (09.05.2017)
* **Breaking:** OFFSET will now skip the first N rows in a result set before starting to return any rows (before it would skip N-1)
* Add: Quartile aggregators (QUART, QUART2, QUART3)
* Add: Typescript definitoin now supports extensions
Expand Down Expand Up @@ -389,7 +415,7 @@ Minor verison updated to sync lib, Meteor and npm version
### 0.1.2 "Firenze" (06.05.2015 - 07.05.2015)
* Simple compilation of SEARCH operator
* SUM(),COUNT(),MIN(),MAX(),FIRST(),LAST() search aggregators
* # operator, CREATE VERTEX #
* The # operator, CREATE VERTEX #
* SEARCH # - start with object
* SERCH smth # - test for object
* SEARCH VALUE - leave only one first object in the result
Expand Down Expand Up @@ -439,7 +465,7 @@ Minor verison updated to sync lib, Meteor and npm version
* CREATE CLASS
* INSERT INTO class
* INSERT INTO class returns inserted value
* # operator
* The # operator
* Classes support
* Tests with SEARCH syntax and tests for CREATE EDGE and CREATE VERTES
* Fixed bug with leaking to global.key
Expand Down Expand Up @@ -865,11 +891,11 @@ Minor verison updated to sync lib, Meteor and npm version
* Where optimization
* New names for fields => columns and recs => data
#### 0.0.5 (30.10.2014)
### 0.0.5 (30.10.2014)
* Changed order of LIMIT and ORDER BY processing
#### Version 0.0.4 (28.10.2014-29.10.2014)
### Version 0.0.4 (28.10.2014-29.10.2014)
* Added /test/main.html mocha browser tests
* Added PERFORMANCE.md and perf.html tests
Expand All @@ -879,7 +905,7 @@ Minor verison updated to sync lib, Meteor and npm version
* Remove generation of recs after select in case of group by (for memory optimization)
* Added conversion for type MONEY for INSERT statement
#### Versions 0.0.1 - 0.0.3 (25.10.2014-27.10.2014)
### Versions 0.0.1 - 0.0.3 (25.10.2014-27.10.2014)
* First version of Alasql
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,18 @@ __If you are familiar with SQL it should come as no surprise that proper use of


```bash
npm install --save alasql # node
bower install --save alasql # bower
yarn add alasql # yarn

npm install alasql # npm

npm install -g alasql # global installation for command line tools
```

For the browser: include [alasql.min.js](https://cdn.jsdelivr.net/npm/alasql)


```html
<script src="https://cdn.jsdelivr.net/npm/alasql@0.5"></script>
<script src="https://cdn.jsdelivr.net/npm/alasql@0.6"></script>
```


Expand Down Expand Up @@ -142,17 +144,13 @@ Other links:
**All contributions are extremely welcome and greatly appreciated(!)** -
The project has never received any funding and is based on unpaid voluntary work: [We really (really) love pull requests](https://github.com/agershun/alasql/blob/develop/CONTRIBUTING.md)

AlaSQL project is very young and still in an active development phase, therefore it <s>may</s> have [bugs](https://github.com/agershun/alasql/labels/%21%20Bug).
Please, submit any bugs and suggestions [as an issue](https://github.com/agershun/alasql/issues/new).

[![Known bugs](https://img.shields.io/github/issues-raw/agershun/alasql/!%20bug.svg?label=Known%20Bugs&maxAge=2592000)](https://github.com/agershun/alasql/issues?q=is%3Aissue+is%3Aopen+label%3A%22%21+Bug%22)

The AlaSQL project depends on your contribution of code and <s>may</s> have [bugs](https://github.com/agershun/alasql/labels/%21%20Bug). So please, submit any bugs and suggestions [as an issue](https://github.com/agershun/alasql/issues/new).

AlaSQL uses [Semantic Versioning](http://semver.org/) so please note that the major version is zero (0.y.z) and the API can not be considered 100% stable. Consider this before using the library in production and please check out the [limitations of the library](https://github.com/agershun/alasql#limitations)
Please check out the [limitations of the library](https://github.com/agershun/alasql#limitations).

## Performance

AlaSQL is designed for speed, and we have applied common SQL engine optimizations:
AlaSQL is designed for speed and includes some of the classic SQL engine optimizations:

* Queries are cached as compiled functions
* Joined tables are pre-indexed
Expand Down
10 changes: 7 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"CSV",
"worker"
],
"authors": ["Andrey Gershun <[email protected]>"],
"authors": [
"Andrey Gershun <[email protected]>"
],
"homepage": "alasql.org",
"repository": {
"type": "git",
Expand All @@ -40,7 +42,9 @@
"jison": "0.4.15",
"lodash": "3.7.0"
},
"main": ["./dist/alasql.min.js"],
"main": [
"./dist/alasql.min.js"
],
"ignore": [
"src",
"test",
Expand All @@ -53,5 +57,5 @@
"bin",
"lib"
],
"version": "0.5.6"
"version": "0.6.1"
}
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.5.6-develop-2fafeef1undefined | © 2014-2018 Andrey Gershun & Mathias Rangel Wulff | License: MIT
//! AlaSQL v0.6.1 | © 2014-2018 Andrey Gershun & Mathias Rangel Wulff | License: MIT
/*
@module alasql
@version 0.5.6-develop-2fafeef1undefined
@version 0.6.1
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.

4,031 changes: 2,056 additions & 1,975 deletions dist/alasql.fs.js

Large diffs are not rendered by default.

1,491 changes: 786 additions & 705 deletions dist/alasql.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/alasql.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 51a1c42

Please sign in to comment.