CartoDB-SQL-API/NEWS.md

502 lines
11 KiB
Markdown
Raw Normal View History

2015-05-26 16:19:47 +08:00
1.22.3 - 2015-mm-dd
-------------------
2015-05-26 16:17:56 +08:00
1.22.2 - 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
2015-05-14 19:10:36 +08:00
1.22.1 - 2015-05-14
2015-04-09 16:50:30 +08:00
-------------------
Bug fixes:
* Close stream responses on error (#219)
Enhancements:
* Format files split into pg and ogr directories
2015-04-09 16:50:30 +08:00
2015-04-09 16:47:38 +08:00
1.22.0 - 2015-04-09
2015-03-02 21:35:59 +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
2015-03-02 21:35:01 +08:00
1.21.1 - 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
2015-03-02 19:53:43 +08:00
1.21.0 - 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
2015-02-26 23:29:34 +08:00
1.20.0 - 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
2014-12-15 23:25:19 +08:00
1.19.1 - 2014-12-15
2014-11-21 20:45:55 +08:00
-------------------
Bug fixes:
* Closes stream responses on error (#188)
* Closes fd for log files on `kill -HUP` (#187)
2014-11-21 20:45:55 +08:00
2014-11-21 20:43:54 +08:00
1.19.0 - 2014-11-21
2014-10-14 21:39:25 +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:
2014-10-23 22:49:04 +08:00
* Don't loop twice over svg rows
* Improve statement timeout error messages
* Improve topojson output by streaming json
2014-10-23 22:49:04 +08:00
2014-10-14 21:39:25 +08:00
2014-10-14 21:38:22 +08:00
1.18.0 - 2014-10-14
2014-09-23 18:41:38 +08:00
-------------------
Announcements:
2014-10-14 21:17:05 +08:00
* Dropping support for npm <1.2.1
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
2014-09-23 18:40:13 +08:00
1.17.1 - 2014-09-23
2014-09-17 06:04:10 +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
Bug fixes:
* Fixes "make check" on systems with non-default PostgreSQL superuser (#152)
2014-09-17 06:04:10 +08:00
2014-09-17 06:01:09 +08:00
1.17.0 - 2014-09-17
2014-08-19 20:44:04 +08:00
-------------------
Bug fixes:
* Returns 401 Unauthorized for queries without permission
New features:
* New header for database host serving the request
2014-08-27 00:40:58 +08:00
* Health check endpoint
2014-08-20 18:34:01 +08:00
Enhancements:
* Upgrades dependencies:
* cartodb-redis
* cartodb-psql
* log4js
2014-08-19 20:42:39 +08:00
1.16.0 - 2014-08-19
2014-08-18 22:05:03 +08:00
-------------------
Enhancements:
* Metrics revamp: removes and adds some metrics
2014-08-18 22:05:03 +08:00
2014-08-18 22:03:40 +08:00
1.15.0 - 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
2014-08-08 18:51:08 +08:00
1.14.1 - 2014-08-08
2014-08-07 22:47:25 +08:00
-------------------
Other changes:
* Constraint for pg_ queries if request is non authenticated
2014-08-07 22:47:25 +08:00
2014-08-07 22:46:31 +08:00
1.14.0 - 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
2014-08-07 21:19:32 +08:00
1.13.0 - 2014-08-07
2014-08-05 07:03:56 +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.
* 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 07:02:59 +08:00
1.12.1 - 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
2014-08-04 20:51:01 +08:00
1.12.0 - 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
2014-07-30 18:15:12 +08:00
1.11.0 - 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
2014-06-05 23:00:42 +08:00
1.10.1 - 2014-06-05
2014-06-04 21:44:13 +08:00
-------------------
Bug fixes:
* Backing out Stream JSON responses
2014-06-04 21:44:13 +08:00
2014-06-04 21:38:52 +08:00
1.10.0 - 2014-06-04
2014-03-21 00:11:56 +08:00
-------------------
New features:
* Order by and sort order through http query params
* Cancelling queries in Postgresql when HTTP request is aborted/closed
Enhancements:
* Stream JSON responses
* Pre-compiling may write regex
* Set default PostgreSQL application name to "cartodb_sqlapi"
Bug fixes:
* Support trailing semicolons (#147)
2014-03-27 20:01:51 +08:00
1.9.1 - 2014-03-27
------------------
Bug fixes:
* Fix paging with queries starting with comments (#144)
2014-03-21 00:07:45 +08:00
1.9.0 - 2014-03-20
2014-02-11 00:23:42 +08:00
------------------
New features:
2014-03-13 19:14:11 +08:00
* Add optional support for rollbar (#137)
* 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)
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
* Allow passing environment configuration name via NODE_ENV to app.js
* Print environment configuration name on app start
* Upgrade node-zipfile to ~0.5.0
* Add support for node-0.10 (#132)
* Fix lack of response on backend crash (#135)
* Reduce work on aborted requests (#129)
Other changes:
* Switch to 3-clause BSD license (#143)
2014-02-11 00:18:40 +08:00
1.8.3 - 2014-02-10
2014-01-20 19:39:29 +08:00
------------------
Bug fixes:
* Honour the 'node_socket_timeout' configuration directive (#128)
Enhancements:
* Add support for error handling in assert.request
* Stop using ANSI colors in the logs (#130)
2014-01-20 19:38:11 +08:00
1.8.2 - 2014-01-20
2014-01-10 18:32:48 +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-10 18:25:43 +08:00
1.8.1 - 2014-01-10
2013-12-18 19:38:10 +08:00
------------------
Bug fixes:
* Fix use of "SELECT .. INTO" with windowing params (#127)
2013-12-18 19:36:55 +08:00
1.8.0 - 2013-12-18
2013-12-02 18:59:28 +08:00
------------------
2013-12-18 19:36:55 +08:00
New features:
* Add 'user_from_host' directive to generalize username extraction (#124)
2013-12-18 19:36:55 +08:00
Improvements:
* Enhance error message on unknown cartodb username (#126)
2013-12-02 18:49:27 +08:00
1.7.1 - 2013-12-02
2013-11-19 19:14:19 +08:00
------------------
* Fix documentation for CSV export format: geoms are in hexewkb, not ewkt.
* Fix field types names lookup after PSQL model refactoring
NOTE: fixes missing .prj in shapefile export regression (#122)
2013-11-19 19:08:39 +08:00
1.7.0 - 2013-11-19
2013-11-11 04:39:23 +08:00
------------------
2013-11-19 19:08:39 +08:00
New features:
* Optionally read user-specific database_host and database_password
from redis, as per CartoDB-2.5.0 model (#120, #121)
* 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
2013-11-11 04:38:45 +08:00
1.6.3 - 2013-11-10
2013-11-08 00:54:31 +08:00
------------------
2013-11-10 01:51:27 +08:00
* JSON format: correctly recognize "numeric" type columns (#119)
2013-11-08 00:54:31 +08:00
2013-11-08 00:51:53 +08:00
1.6.2 - 2013-11-07
2013-11-06 00:59:17 +08:00
------------------
* JSON format: correctly recognize "date" type columns (#117)
* Allow access to tables whose name contains (but does not start with)
the "pg_" substring (#118)
2013-11-06 00:59:17 +08:00
2013-11-06 00:58:20 +08:00
1.6.1 - 2013-11-05
2013-10-02 19:14:32 +08:00
------------------
* Still set a meaningful X-Cache-Channel with cache_policy=persist (#105)
* Fix wrong projection in KML exports for manually altered tables (#116)
* Set KML folder name to the requested filename (#115)
* Make public PostgreSQL user name a configuration parameter (#56)
2013-10-02 19:14:32 +08:00
2013-10-02 19:07:48 +08:00
1.6.0 - 2013-10-02
------------------
* Fix shapefile export for non-linestring results starting with NULLs (#111)
* Fix missing .prj in shapefile export (#110)
* Improve recognition of non-standard field types names by db lookup (#112)
* 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
1.5.4 - 2013-10-01
------------------
* Honour skipfields in JSON schema response (#109)
2013-09-06 17:26:08 +08:00
2013-07-10 13:59:13 +08:00
1.5.3
-----
* Set Last-Modified header with cache_policy=persist
* Raise max-age to one year for all cacheable queries
* Set max-age to 0 for uncacheable (mutating) queries
* 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
* JSON output: report boolean types as boolean, not string (#106)
2013-07-10 13:59:13 +08:00
2013-07-09 16:47:42 +08:00
1.5.2
-----
* Keep numbers as such in JSON output (#100)
* Revert max-age=0 in Cache-Control when using no-cache
2013-07-09 16:47:42 +08:00
2013-07-05 21:31:21 +08:00
1.5.1
-----
* Improve cacheability of queries selecting "updated_at" fields (#99)
2013-07-05 21:31:21 +08:00
1.5.0
2013-05-29 00:15:15 +08:00
-----
* Add "fields" member in JSON return (#97)
* Add --skipfields switch to cdbsql
* Fix windowing with CTE
* Retain UTC offset in JSON date output
* Set max-age=0 in Cache-Control when using no-cache
2013-05-29 00:15:15 +08:00
1.4.1
-----
* Fix windowing support for non-uppercased SELECT queries
* Fix oAuth testcase
2013-05-17 17:44:50 +08:00
1.4.0
-----
* Add arraybuffer format
* Fix filesystem access conflict among clustered processes
* 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
2013-05-10 18:18:27 +08:00
1.3.10
------
* Fixed problem identifying OAuth request protocol
* Make base url configurable
2013-05-23 19:21:23 +08:00
* Update underscore dependency
* Add munin plugin
* Make PostgreSQL client pooling settings configurable (#47)
* Do not execute queries on OPTIONS (#94)
* Survive postgresql connection losses (#95)
2013-05-10 18:18:27 +08:00
2013-04-15 20:04:55 +08:00
1.3.9
-----
* Do not choke on multiple `skipfields` parameter
* Do not request caching of TRUNCATE queries
2013-04-15 20:04:55 +08:00
2013-04-02 17:39:54 +08:00
1.3.8
-----
* Make using SET or querying system catalogues harder
* 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
2013-02-28 22:03:42 +08:00
1.3.7
-----
* Fix parsing of numeric arrays (#88)
2013-03-14 19:06:26 +08:00
* node-pool upgraded to 2.0.3
* Reduce memory use on KML export
* Fix concurrent request for KML and Shapefile exports
* Send an empty-like KML when exporting zero-rows queries
* Make temporary dir a configuration setting
* Use OGR for CSV output, reducing memory requirement
2013-02-28 22:03:42 +08:00
2013-02-19 19:40:58 +08:00
1.3.6 (DD/MM/YY)
-----
* Do not confuse warnings with errors on shapefile output (#87)
2013-02-19 19:40:58 +08:00
1.3.5 (19/02/13)
2013-01-22 01:01:16 +08:00
-----
* Fix skipfields use with SHP output format (#81)
* Fix Content-Disposition for error responses (#82)
* Add pid to /cachestatus (#83)
* Check CDB_QueryTable response before saving into cache (#83)
* Use an expiring LRU cache for query tables (#83)
* Fix X-Cache-Channel computation with paging parameters (#85)
2013-01-22 01:01:16 +08:00
1.3.4 (21/01/13)
2013-01-11 20:57:47 +08:00
-----
* Improve mixed-geometry export error message (#78)
* Remove NULL the_geom features from topojson output (#80)
* Fix crash when issuing SQL "COPY" command
* Return an error when "the_geom" is in skipfield for SVG output (#73)
2013-01-11 20:57:47 +08:00
1.3.3 (11/01/13)
2012-11-28 23:45:49 +08:00
-----
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
2012-12-01 00:01:17 +08:00
1.3.2 (30/11/12)
2012-11-15 01:24:26 +08:00
-----
* Fix KML export truncation (#70)
* Fix UTF8 in shapefile export (#66)
2012-11-15 01:24:26 +08:00
2012-11-13 18:42:18 +08:00
1.3.1 (DD/MM/YY)
-----
2012-11-14 02:28:09 +08:00
* Support 'format' and 'filename' params in POST
* Fix oAuth bug introduced by 'skipfields' param in 1.3.0 (#69)
2012-11-13 18:42:18 +08:00
1.3.0 (DD/MM/YY)
2012-11-12 19:27:37 +08:00
-----
* Support for specifying a filename for exports (#64)
* Support for specifying a list of fields to skip from output (#63)
* Add 'cache_policy' parameter (#62)
2012-11-12 19:27:37 +08:00
2012-11-02 22:38:24 +08:00
1.2.1 (DD/MM/YY)
-----
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
1.2.0 (DD/MM/YY)
2012-10-04 14:38:44 +08:00
-----
* New output formats:
* ESRI Shapefile (format=shp)
* SVG (format=svg)
* KML (format=kml)
* Advertise header presence in CSV Content-Type
* Fix CSV output with no rows (#60)
* Use "attachment" Content-Disposition for all output formats (#61)
* 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
1.1.0 (30/10/12)
-----
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
2012-10-03 22:53:17 +08:00
1.0.0 (03/10/12)
-----
* Migrated to node 0.8 version
2012-09-18 23:04:29 +08:00
0.9.0 (18/09/12)
-----
* Fix INSERT and UPDATE with RETURNING clause