Released 2021-01-21
- Update cartocolor version
Released 2019-06-12
- Fix crash when ramp fed with undefined argument #85
Released 2019-01-21
- Update dev deps:
- mocha@5.2.0
- semistandard@13.0.1
- semistandard-format@3.0.0
Released 2018-11-21
- Support Node.js 8 and 10
- Add package-lock.json
Released 2018-07-12
- revert .then() .catch() call order until we upgrade to node8/10 #78
Released 2018-07-08
- Fix ramp result when number of buckets equals 2 #14075
- Move .catch() before .then() when calling postcss.process() #78
Released 2017-11-29
- Fix ramp result that returns undefined values when the datasource returns only one element #73
Released 2017-10-03
- Upgrade debug to 3.x.
Released 2017-09-25
- Allow to override filters' column name via metadata from datasource #72.
Released 2017-07-20
- Fix ramp to not generate conditional cartocss when datasource returns one value #69
Released 2017-05-22
- Fix ramp filter with boolean values
Released 2016-12-12
- Updated CartoColor version to 4.0.0.
Released 2016-10-11
- Adds column to metadata rules.
Released 2016-09-28
- Fix selector in rules metadata.
Released 2016-09-28
- Returns a metadata object per parsed rule.
Released 2016-07-21
- Updates cartocolor to 3.0.0.
Released 2016-07-20
- Fix category ramps: force equality filter on non numeric filters.
Released 2016-07-19
- New API:
property: ramp([attribute], (...values), (...filters), mapping);
.- It's backwards compatible with previous signatures.
- New
range(min, max)
function. - High level functions for quantifications:
category()
,equal()
,headtails()
,jenks()
, andquantiles()
. - Improved documentation and examples.
- Removes
colors
andbuckets
function.
Released 2016-07-06
- Improve turbo-carto error with better messages: context not part of message anymore.
Released 2016-07-05
- Updates cartocolor to 2.0.2 #38.
Released 2016-06-20
- Ramps using as many values as provided when there are less than tuples #37
Released 2016-06-13
- Added context object to TurboCartoError
Released 2016-06-03
- Export version from package
Released 2016-06-01
- Use double quotes for exact strategy.
Released 2016-05-19
- Add support for exact strategies, this allows, for instance, to create categorical ramps.
Released 2016-05-17
- Updates cartocolor to 1.1.0
Released 2016-05-13
- Adds custom errors to expose better/more information about what failed
- Strategy for ramp datasource: allows to hint turbo-carto about how to split buckets
- Allow providing a hardcoded quantification ramp via anonymous function
Released 2016-05-11
- Improve/fix numeric ramps
- Replace properties decl in place instead of appending to parent #25
- Ramp function not coupled with selector types, e.g., polygon-color #24
- Support for tuples via anonymous functions #23
- Fixes cartocolor dep
- Cartocolor integration #19
Released 2016-04-26
- Renames project to turbo-carto.
- adding function to allow arbitrary colors in ramp call #13
Released 2016-04-26
- Use fixed versions in package.json
Released 2016-04-04
- Move SQL API datasource to examples, datasource not part of public API.
Released 2016-02-24
- Ramp now reverses rule selectors from min to max values
Released 2016-02-23
Allow to use a custom number of buckets in ramps #6
Number of buckets can be specified with a param in numeric ramps and with array length in color ramps
IMPORTANT: Backwards incompatible change Datasource now requires an extra param for the number of buckets.
Released 2016-02-23
- Make ramp first level function.
- Functions now has knowledge and can modify css tree at their decl level.
- Rewritten using promises.
Released 2016-02-10
- Initial release.