2016-11-30 23:36:53 +08:00
#Changelog
2016-11-30 23:36:25 +08:00
2017-06-27 23:58:43 +08:00
## 1.46.0
Released 2017-06-27
2017-06-27 23:25:15 +08:00
2017-06-27 23:58:43 +08:00
Announcements:
* Disable tableCache in-memory LRU by default [#422 ](https://github.com/CartoDB/CartoDB-SQL-API/issues/422 )
2017-06-27 23:25:15 +08:00
2017-04-18 20:46:41 +08:00
## 1.45.1
2017-06-27 23:16:03 +08:00
Released 2017-06-27
Bug fixes:
* Support special float values (NaN and ±Infinity) in query responses
2017-04-18 20:46:41 +08:00
2017-04-18 20:43:43 +08:00
## 1.45.0
Released 2017-04-18
Bug fixes:
* Add error callback to ogr command while spawning #419
Announcements:
* Make the zip command configurable #418
2017-04-04 23:02:07 +08:00
## 1.44.2
2017-04-05 21:05:29 +08:00
Released 2017-04-05
2017-04-04 23:02:07 +08:00
2017-04-05 17:43:29 +08:00
Bug fixes:
2017-04-18 20:43:43 +08:00
* Update queue index while enqueueing jobs to the top of queue.
2017-04-05 17:43:29 +08:00
2017-04-04 23:02:07 +08:00
2017-03-30 23:55:21 +08:00
## 1.44.1
2017-04-04 23:00:44 +08:00
Released 2017-04-04
Bug fixes:
2017-04-18 20:43:43 +08:00
* Avoid to scan the whole meta-database to discover active job queues. Now Batch Queries uses a set as index to know what queues are being processed #415
2017-03-30 23:55:21 +08:00
2017-03-30 23:53:58 +08:00
## 1.44.0
2017-03-30 23:54:49 +08:00
Released 2017-03-30
2017-01-16 21:30:26 +08:00
2017-03-30 23:53:58 +08:00
Announcements:
* Active GC interval for Node.js >=v6.
2017-01-16 21:30:26 +08:00
2017-01-16 17:38:43 +08:00
## 1.43.1
2017-01-16 21:29:46 +08:00
Released 2017-01-16
2017-01-16 17:38:43 +08:00
2017-01-16 21:07:21 +08:00
Announcements:
* Upgrade cartodb-psql to 0.7.1.
2017-01-16 17:38:43 +08:00
2017-01-16 17:35:36 +08:00
## 1.43.0
2017-01-16 17:37:39 +08:00
Released 2017-01-16
2017-01-12 19:40:32 +08:00
2017-01-16 17:35:36 +08:00
Announcements:
* Upgrade cartodb-psql to 0.7.0.
2017-01-12 19:40:32 +08:00
2016-12-19 23:12:32 +08:00
## 1.42.7
2017-01-12 19:39:47 +08:00
Released 2017-01-12
2016-12-19 23:12:32 +08:00
2017-01-12 19:39:10 +08:00
Enhancements:
* Avoid gpkg fid column #404 .
2016-12-12 23:59:22 +08:00
2016-12-19 23:12:32 +08:00
2016-12-12 23:59:22 +08:00
## 1.42.6
2016-12-19 23:11:47 +08:00
Released 2016-12-19
2016-12-19 22:44:50 +08:00
Announcements:
2016-12-16 23:13:53 +08:00
* Upgrade cartodb-redis to 0.13.2.
2016-12-19 22:44:50 +08:00
* Upgrade redis-mpool to 0.4.1.
2016-12-16 23:13:34 +08:00
2016-12-12 23:59:22 +08:00
2016-11-30 23:36:53 +08:00
## 1.42.5
2016-12-12 23:58:30 +08:00
Released 2016-12-12
2016-11-30 23:36:25 +08:00
2016-12-12 23:58:17 +08:00
Enhancements:
* Improvements in testing environment/tests.
2016-11-30 23:36:53 +08:00
## 1.42.4
Released 2016-11-30
2016-11-08 00:04:25 +08:00
2016-11-30 23:08:23 +08:00
Enhancements:
* Include query status in batch queries log entries.
2016-11-08 00:04:25 +08:00
2016-11-30 23:36:53 +08:00
## 1.42.3
Released 2016-11-07
2016-11-07 22:04:58 +08:00
2016-11-08 00:00:59 +08:00
Announcements:
* Raise payload limit for batch-queries to 16kb.
2016-11-07 22:04:58 +08:00
2016-11-30 23:36:53 +08:00
## 1.42.2
Released 2016-11-07
2016-11-07 22:00:53 +08:00
Bug fixes:
* Improve error handling while registering jobs to be tracked.
2016-11-30 23:36:53 +08:00
## 1.42.1
Released 2016-11-03
2016-11-02 21:29:03 +08:00
2016-11-03 22:59:06 +08:00
Bug fixes:
* Avoid to use SCAN command to find work-in-progress queues.
2016-11-02 21:29:03 +08:00
2016-11-30 23:36:53 +08:00
## 1.42.0
Released 2016-11-02
2016-10-21 22:08:44 +08:00
2016-11-02 20:14:12 +08:00
Announcements:
* Adds endpoint to check running batch queries
2016-10-21 22:08:44 +08:00
2016-11-30 23:36:53 +08:00
## 1.41.0
Released 2016-10-21
2016-10-20 18:43:20 +08:00
2016-10-21 22:07:27 +08:00
Announcements:
* Stop migrating old queues by default.
2016-10-21 21:29:26 +08:00
Bug fixes:
* Fix some scenarios where batch queries got stuck waiting for available slots.
2016-10-20 18:43:20 +08:00
2016-11-30 23:36:53 +08:00
## 1.40.0
Released 2016-10-20
2016-10-17 22:35:10 +08:00
2016-10-20 16:20:51 +08:00
New features:
* Batch queries are handled per db host.
- There is an scheduler controlling how many queries and in what order they are run.
2016-10-20 18:21:41 +08:00
- Priority is based on: number of queries already ran, and oldest user in queue.
2016-10-20 16:20:51 +08:00
* Batch queries capacity: allow to configure how many jobs to run per db host.
2016-10-17 22:35:10 +08:00
2016-11-30 23:36:53 +08:00
## 1.39.1
Released 2016-10-17
2016-10-17 21:27:25 +08:00
2016-10-17 22:33:49 +08:00
Enhancements:
* Log creation and waiting time for fallback jobs' queries.
2016-10-17 21:27:25 +08:00
2016-11-30 23:36:53 +08:00
## 1.39.0
Released 2016-10-17
2016-10-13 21:20:38 +08:00
2016-10-17 21:04:48 +08:00
Enhancements:
* Use just one Redis pool across the whole application.
New features:
* Batch queries use per user-queues.
* Batch queries queues can limit the number of queued jobs per user.
2016-10-17 21:23:53 +08:00
- Default is 64 jobs.
- Configuration key `batch_max_queued_jobs` allows to modify the limit.
2016-10-17 21:04:48 +08:00
2016-10-13 21:20:38 +08:00
2016-11-30 23:36:53 +08:00
## 1.38.2
Released 2016-10-13
2016-10-13 16:17:35 +08:00
2016-10-13 21:18:48 +08:00
Bug fixes:
* Batch queries: release redis clients to pool from locker and seeker.
2016-10-13 16:17:35 +08:00
2016-11-30 23:36:53 +08:00
## 1.38.1
Released 2016-10-13
2016-10-11 14:59:00 +08:00
2016-10-13 16:08:44 +08:00
Enhancements:
* Batch queries: improvements over leader locking.
2016-10-11 14:59:00 +08:00
2016-11-30 23:36:53 +08:00
## 1.38.0
Released 2016-10-11
2016-08-30 20:52:30 +08:00
2016-09-13 18:32:41 +08:00
Announcements:
2016-10-10 18:11:21 +08:00
* Allow to set statement timeout per query in multi query batch queries.
* Batch queries default statement timeout set to 12 hours.
2016-10-07 00:27:38 +08:00
* Multiple queries jobs pushed as first job between queries.
2016-09-13 18:32:41 +08:00
2016-08-30 20:52:30 +08:00
2016-11-30 23:36:53 +08:00
## 1.37.1
Released 2016-10-05
2016-10-04 18:02:46 +08:00
2016-10-05 23:32:45 +08:00
Bug fixes:
* Body parser accepting multipart requests.
2016-10-04 18:02:46 +08:00
2016-11-30 23:36:53 +08:00
## 1.37.0
Released 2016-10-04
2016-10-03 19:36:04 +08:00
2016-10-04 18:01:08 +08:00
Enhancements:
* Migrate to Express.js 4.x series.
2016-10-03 19:36:04 +08:00
2016-11-30 23:36:53 +08:00
## 1.36.2
Released 2016-10-03
2016-10-01 00:48:13 +08:00
2016-10-03 19:28:13 +08:00
Bug fixes:
- Batch Queries logs: use path instead of stream to be able to reopen FD.
2016-11-30 23:36:53 +08:00
## 1.36.1
Released 2016-09-30
2016-09-30 23:13:50 +08:00
2016-10-01 00:46:34 +08:00
Enhancements:
* Tag fallback jobs logs.
2016-09-30 23:13:50 +08:00
2016-11-30 23:36:53 +08:00
## 1.36.0
Released 2016-09-30
2016-09-15 17:57:07 +08:00
2016-09-30 23:12:41 +08:00
New features:
* Log queries from batch fallback jobs.
Enhancements:
* assert.response following callback(err, obj) pattern.
2016-09-15 17:57:07 +08:00
2016-11-30 23:36:53 +08:00
## 1.35.0
Released 2016-09-15
2016-08-30 20:52:30 +08:00
2016-09-15 06:36:24 +08:00
New features:
* Allow to use `--config /path/to/config.js` to specify configuration file.
- Environment will be loaded from config file if `environment` key is present, otherwise it keeps current behaviour.
2016-09-15 02:03:05 +08:00
Bug fixes:
* Allow to use absolute paths for log files.
2016-09-15 01:22:31 +08:00
Announcements:
* Removes support for optional rollbar logging.
2016-08-30 20:52:30 +08:00
2016-11-30 23:36:53 +08:00
## 1.34.2
Released 2016-08-30
2016-07-12 00:15:52 +08:00
2016-07-13 22:18:00 +08:00
Announcements:
* Upgrades cartodb-redis to 0.13.1.
2016-08-30 20:50:17 +08:00
* Set TTL of finished job to 2h
2016-07-13 22:18:00 +08:00
2016-07-12 00:15:52 +08:00
2016-11-30 23:36:53 +08:00
## 1.34.1
Released 2016-07-11
2016-07-11 23:19:50 +08:00
2016-07-12 00:13:05 +08:00
Bug fixes:
* Fixed issue with redis connections in Batch API #326
2016-07-11 23:19:50 +08:00
2016-11-30 23:36:53 +08:00
## 1.34.0
Released 2016-07-11
2016-07-01 15:38:49 +08:00
2016-07-07 20:20:36 +08:00
New features:
2016-07-11 22:39:12 +08:00
* Skip tables with no updated_at registered in cdb_tablemetadata.
2016-07-07 20:20:36 +08:00
* Allow to setup more than one domain to validate oauth against.
2016-07-01 15:38:49 +08:00
2016-11-30 23:36:53 +08:00
## 1.33.0
Released 2016-07-01
2016-06-30 23:41:02 +08:00
New features:
* Add `<%= job_id %>` template support for onerror and onsuccess fallback queries.
2016-11-30 23:36:53 +08:00
## 1.32.0
Released 2016-06-30
2016-06-30 00:36:45 +08:00
2016-06-30 18:33:17 +08:00
New features:
2016-06-30 18:43:37 +08:00
* Broadcast after enqueueing jobs to improve query distribution load.
2016-07-07 20:14:46 +08:00
* Batch pub-sub channel handles its connections using `redis-mpool` .
2016-06-30 18:33:17 +08:00
2016-06-30 00:36:45 +08:00
2016-11-30 23:36:53 +08:00
## 1.31.0
Released 2016-06-29
2016-06-23 17:49:19 +08:00
2016-06-29 20:22:23 +08:00
New features:
2016-06-29 19:56:45 +08:00
* Adds start and end time for batch queries with fallback.
2016-06-29 20:22:23 +08:00
* Add `<%= error_message %>` template support for onerror fallback queries.
2016-06-23 17:49:19 +08:00
2016-11-30 23:36:53 +08:00
## 1.30.1
Released 2016-06-23
2016-06-14 22:42:42 +08:00
2016-06-23 17:06:04 +08:00
Bug fixes:
* Fixed issue with profiling in Batch API #318
2016-06-14 22:42:42 +08:00
2016-11-30 23:36:53 +08:00
## 1.30.0
Released 2016-06-14
2016-05-25 23:39:04 +08:00
2016-06-14 22:40:36 +08:00
Announcements:
* Now Batch API sends stats metrics to statsd server #312
* Now Batch API sets "skipped" instead of "pending" to queries that won't be performed #311
Bug fixes:
* Fixed issue with error handling in Batch API #316
2016-05-25 23:39:04 +08:00
2016-11-30 23:36:53 +08:00
## 1.29.2
Released 2016-05-25
2016-05-24 23:22:46 +08:00
2016-05-25 23:36:13 +08:00
Bug fixes:
* Fixed issue with status transition in fallback jobs #308
2016-05-24 23:22:46 +08:00
2016-11-30 23:36:53 +08:00
## 1.29.1
Released 2016-05-24
2016-05-24 18:41:09 +08:00
2016-05-24 22:57:06 +08:00
Announcements:
* Change Batch API size limit: 8kb per job.
2016-05-24 18:41:09 +08:00
2016-11-30 23:36:53 +08:00
## 1.29.0
Released 2016-05-24
2016-05-12 23:37:33 +08:00
2016-05-24 18:38:30 +08:00
New features:
* Add support for fallback-jobs in Batch API #296
Bug fixes:
* Fix issue in Batch API when a 'no longer running' job reports as 'running' before and after a job cancel #293
2016-05-12 23:37:33 +08:00
2016-11-30 23:36:53 +08:00
## 1.28.1
Released 2016-05-12
2016-05-11 17:46:53 +08:00
2016-05-12 23:21:07 +08:00
Bug fixes:
2016-05-24 18:38:30 +08:00
* OGR with _needSRS=true_ fails for empty tables #299
2016-05-12 23:21:07 +08:00
2016-05-11 17:46:53 +08:00
2016-11-30 23:36:53 +08:00
## 1.28.0
Released 2016-05-11
2016-04-18 23:02:11 +08:00
2016-05-05 20:01:36 +08:00
Announcements:
- Upgrades step-profiler to 0.3.0 to avoid dots in json keys #294
2016-05-11 00:50:24 +08:00
New features:
* Add support for geopackage format (`format=gpkg` at the URL) #291
2016-04-18 23:02:11 +08:00
2016-05-11 17:45:42 +08:00
2016-11-30 23:36:53 +08:00
## 1.27.1
Released 2016-04-18
2016-04-05 22:17:03 +08:00
2016-04-18 22:58:10 +08:00
Bug fixes:
* Size of queries in Batch API is limited to 4kb per job
2016-04-05 22:17:03 +08:00
2016-11-30 23:36:53 +08:00
## 1.27.0
Released 2016-04-05
2016-04-05 22:06:16 +08:00
New features:
* Add support for multiquery-jobs in Batch API #280
* Add queue discovering for Batch processing at service startup #282
Bug fixes:
* Fix issue in Batch API when after a period of inactivity it does not process jobs
2016-11-30 23:36:53 +08:00
## 1.26.0
Released 2016-03-08
2016-02-02 08:30:12 +08:00
2016-03-08 23:14:58 +08:00
New features:
* Add [Surrogate-Key ](https://github.com/CartoDB/cartodb/wiki/CartoDB-Surrogate-Keys ) headers to responses
2016-02-02 08:30:12 +08:00
2016-03-08 23:14:58 +08:00
Enhancements:
* Use new `node-cartodb-query-tables` library to obtain affected tables in queries
2016-04-05 22:06:16 +08:00
2016-11-30 23:36:53 +08:00
## 1.25.3
Released 2016-02-02
2016-02-02 00:59:12 +08:00
2016-02-02 08:25:58 +08:00
Enhancements:
* QueryTablesApi caches affected tables and retrieves last modification #269
2016-02-02 00:59:12 +08:00
2016-11-30 23:36:53 +08:00
## 1.25.2
Released 2016-02-01
2016-01-28 23:19:10 +08:00
2016-02-02 00:56:53 +08:00
Bug fixes:
* Skip query-tables-api for authenticated requests
2016-01-28 23:19:10 +08:00
2016-11-30 23:36:53 +08:00
## 1.25.1
Released 2016-01-28
2016-01-26 21:35:02 +08:00
2016-01-28 21:44:42 +08:00
Bug fixes:
* Fix X-Cache-Channel generation when request are not authenticated #266
2016-01-26 21:35:02 +08:00
2016-11-30 23:36:53 +08:00
## 1.25.0
Released 2016-01-26
2015-08-04 22:33:36 +08:00
2016-01-28 00:57:12 +08:00
Bug fixes:
* Stop adding X-Cache-Channel header when no tables involved #250
2015-09-02 22:25:56 +08:00
New features:
* Set `Last-Modified` header based on affected tables (#101)
2016-01-26 21:29:08 +08:00
* Batch API (#261):
- New endpoint to create, read, update and delete long-running queries (jobs).
- Batch service to process jobs.
2016-01-28 00:57:12 +08:00
* Set Last-Modified header based on affected tables #247
2016-01-26 21:29:08 +08:00
Announcements:
* Upgrades cartodb-psql to [0.6.1 ](https://github.com/CartoDB/node-cartodb-psql/releases/tag/0.6.1 )
2015-09-02 22:25:56 +08:00
2015-08-04 22:33:36 +08:00
2016-11-30 23:36:53 +08:00
## 1.24.0
Released 2015-08-04
2015-06-16 23:36:26 +08:00
2015-08-04 21:53:50 +08:00
New features:
2015-08-04 22:23:36 +08:00
* Client is removed from pool after error happens. This help to avoid issues with transactions (#241).
2015-08-04 21:53:50 +08:00
2015-08-04 21:35:31 +08:00
Announcements:
* Upgrades cartodb-psql to [0.6.0 ](https://github.com/CartoDB/node-cartodb-psql/releases/tag/0.6.0 )
2015-06-16 23:36:26 +08:00
2016-11-30 23:36:53 +08:00
## 1.23.0
Released 2015-06-16
2015-05-26 16:19:47 +08:00
2015-06-16 23:01:51 +08:00
Announcements:
* Reverts tables=< fake > for ogr2ogr commands
Ref https://github.com/CartoDB/CartoDB-SQL-API/commit/b6e53f732672369d7f9be26555ef412edc202727
2015-06-16 22:48:29 +08:00
Enhancements:
* Makes ogr2ogr command configurable so it's possible to change path/bin
2015-06-16 22:54:07 +08:00
* Uses :remote-addr instead of :req[X-Real-IP] \(#197 )
2015-06-16 22:53:12 +08:00
New features:
* Adds SpatiaLite as export format (#226)
2015-06-16 22:48:29 +08:00
2015-05-26 16:19:47 +08:00
2016-11-30 23:36:53 +08:00
## 1.22.2
Released 2015-05-26
2015-05-14 19:18:58 +08:00
2015-05-25 22:38:07 +08:00
Bug fixes:
* Reintroduces tables= param in ogr2ogr exports (#204)
This will avoid running a heavy ogr2ogr query when the pg catalog is big
Ref https://github.com/CartoDB/CartoDB-SQL-API/commit/84c422c505391ef0e743aed2204214d4286d7e30
2015-05-14 19:18:58 +08:00
2015-05-26 16:17:56 +08:00
2016-11-30 23:36:53 +08:00
## 1.22.1
Released 2015-05-14
2015-04-09 16:50:30 +08:00
2015-05-14 00:15:38 +08:00
Bug fixes:
* Close stream responses on error (#219)
2015-05-13 21:15:53 +08:00
Enhancements:
* Format files split into pg and ogr directories
2015-04-09 16:50:30 +08:00
2016-11-30 23:36:53 +08:00
## 1.22.0
Released 2015-04-09
2015-03-02 21:35:59 +08:00
2015-04-09 16:45:03 +08:00
Announcements:
* Now health check only validates against a disabling file
* Supports user extraction from request params via base_url config
2015-03-02 21:35:59 +08:00
2016-11-30 23:36:53 +08:00
## 1.21.1
Released 2015-03-02
2015-03-02 19:57:16 +08:00
2015-03-02 21:34:01 +08:00
Enhancements:
* Improve row size limit error message
2015-03-02 19:57:16 +08:00
2016-11-30 23:36:53 +08:00
## 1.21.0
Released 2015-03-02
2015-02-26 23:30:07 +08:00
2015-03-02 19:49:25 +08:00
New features:
* Logs with console.error too large row errors
2015-02-26 23:30:07 +08:00
2016-11-30 23:36:53 +08:00
## 1.20.0
Released 2015-02-26
2014-12-15 23:26:41 +08:00
2015-02-19 21:54:49 +08:00
Announcements:
2015-02-20 22:01:07 +08:00
* Upgrades cartodb-psql to 0.5.1 for keep alive configuration
2015-02-19 21:54:49 +08:00
* Dependencies from npm registry when available
2014-12-15 23:26:41 +08:00
2016-11-30 23:36:53 +08:00
## 1.19.1
Released 2014-12-15
2014-11-21 20:45:55 +08:00
2014-12-01 23:55:59 +08:00
Bug fixes:
* Closes stream responses on error (#188)
2014-12-02 19:25:25 +08:00
* Closes fd for log files on `kill -HUP` (#187)
2014-12-01 23:55:59 +08:00
2014-11-21 20:45:55 +08:00
2016-11-30 23:36:53 +08:00
## 1.19.0
Released 2014-11-21
2014-10-14 21:39:25 +08:00
2014-11-21 19:59:48 +08:00
New features:
* Add more fields to error responses with hint, detail and context for SQL errors.
2014-10-23 22:49:04 +08:00
Enhancements:
* Don't loop twice over svg rows
2014-11-11 20:57:15 +08:00
* Improve statement timeout error messages
2014-11-12 18:36:59 +08:00
* Improve topojson output by streaming json
2014-10-23 22:49:04 +08:00
2014-10-14 21:39:25 +08:00
2016-11-30 23:36:53 +08:00
## 1.18.0
Released 2014-10-14
2014-09-23 18:41:38 +08:00
2014-09-23 19:08:06 +08:00
Announcements:
2014-10-14 21:17:05 +08:00
* Dropping support for npm < 1.2.1
2014-09-23 19:08:06 +08:00
npm-shrinkwrap.json is incompatible when generated with npm >=1.2.1 and consumed by npm < 1.2.1
2014-09-23 18:41:38 +08:00
2016-11-30 23:36:53 +08:00
## 1.17.1
Released 2014-09-23
2014-09-23 18:17:56 +08:00
Enhancements:
* Removes tables=fake wadus param in ogr2ogr command so it can go to geometry
columns view to retrieve the column data type. This requires to grant select
permission on geometry_columns and geography_columns to the public user.
2014-09-24 22:56:53 +08:00
* Removes query tables console.log
2014-09-23 18:17:56 +08:00
2014-06-19 17:44:33 +08:00
Bug fixes:
* Fixes "make check" on systems with non-default PostgreSQL superuser (#152)
2014-09-17 06:04:10 +08:00
2016-11-30 23:36:53 +08:00
## 1.17.0
Released 2014-09-17
2014-08-19 20:44:04 +08:00
2014-09-02 21:00:04 +08:00
Bug fixes:
* Returns 401 Unauthorized for queries without permission
2014-08-22 18:29:27 +08:00
New features:
* New header for database host serving the request
2014-08-27 00:40:58 +08:00
* Health check endpoint
2014-08-22 18:29:27 +08:00
2014-08-20 18:34:01 +08:00
Enhancements:
* Upgrades dependencies:
* cartodb-redis
* cartodb-psql
* log4js
2016-11-30 23:36:53 +08:00
## 1.16.0
Released 2014-08-19
2014-08-18 22:05:03 +08:00
2014-08-19 01:45:17 +08:00
Enhancements:
* Metrics revamp: removes and adds some metrics
2014-08-18 22:05:03 +08:00
2016-11-30 23:36:53 +08:00
## 1.15.0
Released 2014-08-18
2014-08-08 18:53:25 +08:00
2014-08-14 19:18:52 +08:00
Enhancements:
* Upgrades cartodb-redis
2014-08-14 20:23:41 +08:00
* Upgrades underscore, removes underscore.string dependency
2014-08-14 20:25:43 +08:00
* Uses https endpoints for dependencies
2014-08-14 19:18:52 +08:00
2016-11-30 23:36:53 +08:00
## 1.14.1
Released 2014-08-08
2014-08-07 22:47:25 +08:00
2014-08-08 18:48:29 +08:00
Other changes:
* Constraint for pg_ queries if request is non authenticated
2014-08-07 22:47:25 +08:00
2016-11-30 23:36:53 +08:00
## 1.14.0
Released 2014-08-07
2014-08-07 21:20:39 +08:00
2014-08-07 22:27:51 +08:00
Other changes:
* Removes sql statements restriction on pg_ queries
2016-11-30 23:36:53 +08:00
## 1.13.0
Released 2014-08-07
2014-08-05 07:03:56 +08:00
2014-08-05 22:20:06 +08:00
New features:
* New authentication mechanism: checks in advance if credentials are provided
in order to do a single request to redis to retrieve the required database
connection parameters.
2014-08-06 18:51:55 +08:00
* Retrieves OAuth hash values using new cartodb-redis method so it will reuse
the redis pool from cartodb-redis instead of using just one pool for oauth.
2014-08-05 22:20:06 +08:00
2016-11-30 23:36:53 +08:00
## 1.12.1
Released 2014-08-05
2014-08-04 20:51:54 +08:00
2014-08-05 07:02:10 +08:00
Bug fixes:
* Fixes GeoJSON stream error responses
* Fixes GeoJSON stream empty responses
* JSONP callbacks return with 200 status error code
Enhancements:
* Re-enables tests
2016-11-30 23:36:53 +08:00
## 1.12.0
Released 2014-08-04
2014-07-30 18:16:07 +08:00
2014-07-30 19:19:03 +08:00
New features:
* Add header for host serving the request
2014-08-04 20:51:01 +08:00
* Stream JSON/GeoJSON responses
2014-07-30 19:19:03 +08:00
2016-11-30 23:36:53 +08:00
## 1.11.0
Released 2014-07-30
2014-06-05 23:04:12 +08:00
2014-07-30 18:15:12 +08:00
New features:
* Support for different schemas and different public users
Enhancements:
* Profiler header sent as JSON string
Other changes:
* Revamped documentation
Bug fixes:
* Pick redis pool configuration values
2016-11-30 23:36:53 +08:00
## 1.10.1
Released 2014-06-05
2014-06-05 02:57:11 +08:00
2016-11-30 23:36:53 +08:00
Bug fixes:
2014-06-05 02:57:11 +08:00
* Backing out Stream JSON responses
2014-06-04 21:44:13 +08:00
2016-11-30 23:36:53 +08:00
## 1.10.0
Released 2014-06-04
2014-03-21 00:11:56 +08:00
2014-05-07 17:29:49 +08:00
New features:
* Order by and sort order through http query params
2014-06-04 21:21:36 +08:00
* Cancelling queries in Postgresql when HTTP request is aborted/closed
2014-05-07 17:29:49 +08:00
2014-04-03 21:43:34 +08:00
Enhancements:
* Stream JSON responses
2014-05-07 17:29:49 +08:00
* Pre-compiling may write regex
2014-05-07 22:14:17 +08:00
* Set default PostgreSQL application name to "cartodb_sqlapi"
2014-05-07 17:29:49 +08:00
Bug fixes:
* Support trailing semicolons (#147)
2014-04-03 21:43:34 +08:00
2016-11-30 23:36:53 +08:00
## 1.9.1
Released 2014-03-27
2014-03-27 20:01:51 +08:00
Bug fixes:
* Fix paging with queries starting with comments (#144)
2016-11-30 23:36:53 +08:00
## 1.9.0
Released 2014-03-20
2014-02-11 00:23:42 +08:00
2014-03-13 19:09:39 +08:00
New features:
2014-03-13 19:14:11 +08:00
* Add optional support for rollbar (#137)
2014-03-13 20:40:56 +08:00
* Add '/version' endpoint (#138)
2014-03-20 01:34:21 +08:00
* Add profiler support (#142)
2014-03-20 18:22:13 +08:00
* Add statsd support (#133)
2014-03-13 19:09:39 +08:00
2014-02-11 00:34:27 +08:00
Enhancements:
* Allow configuring log_format (#131)
2014-03-13 18:52:40 +08:00
* Use log4js for logging (#136)
2014-03-13 20:50:53 +08:00
* Include version in startup log
2014-03-13 20:54:10 +08:00
* Allow passing environment configuration name via NODE_ENV to app.js
* Print environment configuration name on app start
2014-03-17 20:42:35 +08:00
* Upgrade node-zipfile to ~0.5.0
2014-03-17 22:23:54 +08:00
* Add support for node-0.10 (#132)
2014-03-19 17:46:35 +08:00
* Fix lack of response on backend crash (#135)
2014-03-19 20:30:29 +08:00
* Reduce work on aborted requests (#129)
2014-02-11 00:34:27 +08:00
2014-03-20 18:23:17 +08:00
Other changes:
* Switch to 3-clause BSD license (#143)
2016-11-30 23:36:53 +08:00
## 1.8.3
Released 2014-02-10
2014-01-20 19:39:29 +08:00
2014-01-31 17:55:30 +08:00
Bug fixes:
* Honour the 'node_socket_timeout' configuration directive (#128)
Enhancements:
* Add support for error handling in assert.request
2014-02-11 00:10:34 +08:00
* Stop using ANSI colors in the logs (#130)
2014-01-31 17:55:30 +08:00
2016-11-30 23:36:53 +08:00
## 1.8.2
Released 2014-01-20
2014-01-10 18:32:48 +08:00
2014-01-17 20:14:30 +08:00
Bug fixes:
* Restore compatibility with 1.6.x configuration
2014-01-20 19:38:11 +08:00
* Use db_port in ogr2ogr
2014-01-17 20:14:30 +08:00
2016-11-30 23:36:53 +08:00
## 1.8.1
Released 2014-01-10
2013-12-18 19:38:10 +08:00
2014-01-10 00:24:48 +08:00
Bug fixes:
* Fix use of "SELECT .. INTO" with windowing params (#127)
2016-11-30 23:36:53 +08:00
## 1.8.0
Released 2013-12-18
2013-12-02 18:59:28 +08:00
2013-12-18 19:36:55 +08:00
New features:
2013-12-18 18:57:46 +08:00
* Add 'user_from_host' directive to generalize username extraction (#124)
2013-12-18 19:36:55 +08:00
Improvements:
2013-12-18 19:02:51 +08:00
* Enhance error message on unknown cartodb username (#126)
2013-12-18 18:57:46 +08:00
2016-11-30 23:36:53 +08:00
## 1.7.1
Released 2013-12-02
2013-11-19 19:14:19 +08:00
2013-11-20 20:45:36 +08:00
* Fix documentation for CSV export format: geoms are in hexewkb, not ewkt.
2013-12-02 18:47:52 +08:00
* Fix field types names lookup after PSQL model refactoring
NOTE: fixes missing .prj in shapefile export regression (#122)
2013-11-20 20:45:36 +08:00
2016-11-30 23:36:53 +08:00
## 1.7.0
Released 2013-11-19
2013-11-19 19:08:39 +08:00
New features:
2013-11-18 20:31:11 +08:00
* Optionally read user-specific database_host and database_password
from redis, as per CartoDB-2.5.0 model (#120, #121 )
2013-11-19 00:01:06 +08:00
* Add warnings and notices to JSON response (#104)
2013-11-11 04:39:23 +08:00
2013-11-19 19:08:39 +08:00
Other changes:
* CartoDB redis interaction delegated to "cartodb-redis" module
2016-11-30 23:36:53 +08:00
## 1.6.3
Released 2013-11-10
2013-11-10 01:51:27 +08:00
* JSON format: correctly recognize "numeric" type columns (#119)
2013-11-08 00:54:31 +08:00
2016-11-30 23:36:53 +08:00
## 1.6.2
Released 2013-11-07
2013-11-06 18:43:56 +08:00
* JSON format: correctly recognize "date" type columns (#117)
2013-11-07 17:16:58 +08:00
* Allow access to tables whose name contains (but does not start with)
the "pg_" substring (#118)
2013-11-06 00:59:17 +08:00
2016-11-30 23:36:53 +08:00
## 1.6.1
Released 2013-11-05
2013-10-18 19:29:06 +08:00
* Still set a meaningful X-Cache-Channel with cache_policy=persist (#105)
2013-11-05 23:56:07 +08:00
* Fix wrong projection in KML exports for manually altered tables (#116)
2013-11-06 00:29:02 +08:00
* Set KML folder name to the requested filename (#115)
2013-11-06 00:49:10 +08:00
* Make public PostgreSQL user name a configuration parameter (#56)
2013-10-02 19:14:32 +08:00
2016-11-30 23:36:53 +08:00
## 1.6.0
Released 2013-10-02
2013-10-02 18:12:09 +08:00
* Fix shapefile export for non-linestring results starting with NULLs (#111)
2013-10-01 23:19:44 +08:00
* Fix missing .prj in shapefile export (#110)
2013-10-02 16:22:13 +08:00
* Improve recognition of non-standard field types names by db lookup (#112)
2013-10-02 18:32:07 +08:00
* Upgrade node-pg dependency to 2.6.2
2013-10-02 18:45:06 +08:00
* Drop support for cluster
2013-10-02 16:24:05 +08:00
2016-11-30 23:36:53 +08:00
## 1.5.4
Released 2013-10-01
2013-09-26 19:26:45 +08:00
* Honour skipfields in JSON schema response (#109)
2013-09-06 17:26:08 +08:00
2016-11-30 23:36:53 +08:00
## 1.5.3
Released yyyy-mm-dd
2013-07-15 18:12:07 +08:00
* Set Last-Modified header with cache_policy=persist
2013-07-22 23:21:38 +08:00
* Raise max-age to one year for all cacheable queries
2016-01-26 21:29:08 +08:00
* Set max-age to 0 for uncacheable (mutating) queries
2013-07-25 00:43:38 +08:00
* Add REINDEX to the list of uncacheable queries
2013-08-21 00:09:22 +08:00
* Support all parameters with POST as well as GET
* Ensure testsuite passes with both GDAL-0.9 and GDAL-0.10
2013-08-22 19:44:21 +08:00
* JSON output: report boolean types as boolean, not string (#106)
2013-07-10 13:59:13 +08:00
2016-11-30 23:36:53 +08:00
## 1.5.2
Released yyyy-mm-dd
2013-07-10 03:50:28 +08:00
* Keep numbers as such in JSON output (#100)
2013-07-10 13:58:35 +08:00
* Revert max-age=0 in Cache-Control when using no-cache
2013-07-09 16:47:42 +08:00
2016-11-30 23:36:53 +08:00
## 1.5.1
Released yyyy-mm-dd
2013-07-08 23:36:53 +08:00
* Improve cacheability of queries selecting "updated_at" fields (#99)
2013-07-05 21:31:21 +08:00
2016-11-30 23:36:53 +08:00
## 1.5.0
Released yyyy-mm-dd
2013-06-15 00:35:04 +08:00
* Add "fields" member in JSON return (#97)
2013-05-29 18:44:04 +08:00
* Add --skipfields switch to cdbsql
2013-06-14 17:18:16 +08:00
* Fix windowing with CTE
2013-06-19 18:24:04 +08:00
* Retain UTC offset in JSON date output
2013-06-28 17:15:34 +08:00
* Set max-age=0 in Cache-Control when using no-cache
2013-05-29 00:15:15 +08:00
2016-11-30 23:36:53 +08:00
## 1.4.1
Released yyyy-mm-dd
2013-06-06 21:24:57 +08:00
* Fix windowing support for non-uppercased SELECT queries
2013-06-06 23:08:31 +08:00
* Fix oAuth testcase
2013-06-06 21:24:57 +08:00
2016-11-30 23:36:53 +08:00
## 1.4.0
Released yyyy-mm-dd
2013-05-17 17:44:50 +08:00
* Add arraybuffer format
2013-05-29 22:48:20 +08:00
* Fix filesystem access conflict among clustered processes
2013-05-29 23:35:16 +08:00
* Fix discard of queued export requests on error
2013-05-29 23:43:01 +08:00
* Really fix problem identifying OAuth requests
2013-05-17 17:44:50 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.10
Released yyyy-mm-dd
2013-05-15 00:01:37 +08:00
* Fixed problem identifying OAuth request protocol
2013-05-23 17:49:23 +08:00
* Make base url configurable
2016-01-26 21:29:08 +08:00
* Update underscore dependency
2013-05-24 16:50:51 +08:00
* Add munin plugin
2013-05-24 18:06:14 +08:00
* Make PostgreSQL client pooling settings configurable (#47)
2013-05-24 20:21:13 +08:00
* Do not execute queries on OPTIONS (#94)
2013-05-25 00:16:12 +08:00
* Survive postgresql connection losses (#95)
2013-05-10 18:18:27 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.9
Released yyyy-mm-dd
2013-05-06 18:30:32 +08:00
* Do not choke on multiple `skipfields` parameter
2013-05-07 00:21:22 +08:00
* Do not request caching of TRUNCATE queries
2013-04-15 20:04:55 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.8
Released yyyy-mm-dd
2013-04-09 17:49:05 +08:00
* Make using SET or querying system catalogues harder
2013-04-10 23:21:42 +08:00
* Allow sql queries to end with a semicolon (#90)
2013-04-11 19:37:47 +08:00
* Testsuite fixes, jenkins ready :)
2013-04-02 17:39:54 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.7
Released yyyy-mm-dd
2013-03-14 18:41:07 +08:00
* Fix parsing of numeric arrays (#88)
2013-03-14 19:06:26 +08:00
* node-pool upgraded to 2.0.3
2013-03-26 19:46:05 +08:00
* Reduce memory use on KML export
2013-03-27 23:42:42 +08:00
* Fix concurrent request for KML and Shapefile exports
2013-03-27 01:16:27 +08:00
* Send an empty-like KML when exporting zero-rows queries
2013-03-26 23:01:42 +08:00
* Make temporary dir a configuration setting
2013-03-26 20:18:55 +08:00
* Use OGR for CSV output, reducing memory requirement
2013-02-28 22:03:42 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.6
Released yyyy-mm-dd
2013-02-26 01:32:28 +08:00
* Do not confuse warnings with errors on shapefile output (#87)
2013-02-19 19:40:58 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.5
Released 2013-02-19
2013-02-13 20:02:37 +08:00
* Fix skipfields use with SHP output format (#81)
2013-02-13 20:32:34 +08:00
* Fix Content-Disposition for error responses (#82)
2013-02-13 23:43:04 +08:00
* Add pid to /cachestatus (#83)
* Check CDB_QueryTable response before saving into cache (#83)
2013-02-14 01:57:14 +08:00
* Use an expiring LRU cache for query tables (#83)
2013-02-18 23:14:15 +08:00
* Fix X-Cache-Channel computation with paging parameters (#85)
2013-01-22 01:01:16 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.4
Released 2013-01-21
2013-01-12 00:09:22 +08:00
* Improve mixed-geometry export error message (#78)
2013-01-12 01:43:05 +08:00
* Remove NULL the_geom features from topojson output (#80)
2013-01-17 16:59:48 +08:00
* Fix crash when issuing SQL "COPY" command
2013-01-21 17:06:51 +08:00
* Return an error when "the_geom" is in skipfield for SVG output (#73)
2013-01-11 20:57:47 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.3
Released 2013-01-11
2012-12-08 00:10:55 +08:00
* Fix Date format in CSV output (#77)
2013-01-11 18:13:48 +08:00
* Add TopoJSON output format (#79)
2012-11-28 23:45:49 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.2
Released 2012-11-30
2012-11-16 19:23:30 +08:00
* Fix KML export truncation (#70)
2012-11-16 19:50:21 +08:00
* Fix UTF8 in shapefile export (#66)
2012-11-15 01:24:26 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.1
Released yyyy-mm-dd
2012-11-14 02:28:09 +08:00
* Support 'format' and 'filename' params in POST
2012-11-15 01:06:46 +08:00
* Fix oAuth bug introduced by 'skipfields' param in 1.3.0 (#69)
2012-11-13 18:42:18 +08:00
2016-11-30 23:36:53 +08:00
## 1.3.0
Released yyyy-mm-dd
2012-11-12 19:37:34 +08:00
* Support for specifying a filename for exports (#64)
2012-11-13 00:10:16 +08:00
* Support for specifying a list of fields to skip from output (#63)
2012-11-13 02:14:20 +08:00
* Add 'cache_policy' parameter (#62)
2012-11-12 19:27:37 +08:00
2016-11-30 23:36:53 +08:00
## 1.2.1
Released yyyy-mm-dd
2012-11-12 19:23:06 +08:00
* Added timeout default to 600 miliseconds in cluster.js
2012-11-02 22:38:24 +08:00
2016-11-30 23:36:53 +08:00
## 1.2.0
Released yyyy-mm-dd
2012-10-18 18:56:16 +08:00
* New output formats:
* ESRI Shapefile (format=shp)
* SVG (format=svg)
2012-10-25 18:38:45 +08:00
* KML (format=kml)
2012-10-26 00:07:51 +08:00
* Advertise header presence in CSV Content-Type
* Fix CSV output with no rows (#60)
* Use "attachment" Content-Disposition for all output formats (#61)
2012-10-12 18:21:37 +08:00
* Only use last format parameter when multiple are requested
* Return a 400 response on unsupported format request
2012-11-01 20:16:46 +08:00
* Added X-Prototype-Version, X-CSRF-Token to Access-Control-Allow-Headers
2012-10-31 01:56:11 +08:00
2016-11-30 23:36:53 +08:00
## 1.1.0
Released 2012-10-30
2012-10-04 18:03:34 +08:00
* Fixed problem in cluster2 with pidfile name
2012-10-31 01:56:11 +08:00
* SVG output format
2012-10-04 18:03:34 +08:00
* Enhancement to the cdbsql tool:
- New switches: --format, --key, --dp
- Interactive mode
* API documentation
* ./configure script
2012-10-30 20:11:34 +08:00
* Restrict listening to a node host
2012-10-04 14:38:44 +08:00
2016-11-30 23:36:53 +08:00
## 1.0.0
Released 2012-10-03
2012-10-03 22:53:17 +08:00
* Migrated to node 0.8 version
2016-11-30 23:36:53 +08:00
## 0.9.0
Released 2012-09-18
2012-09-18 23:04:29 +08:00
* Fix INSERT and UPDATE with RETURNING clause