Skip to content

Commit

Permalink
v2.3.0
Browse files Browse the repository at this point in the history
- Deprecated native object extension "extend", please use lodash.merge
  from now on.
- Added lodash.merge dependency
- Added Application level API_GetSchema test.
- Exposed default settings via QuickBase.defaults.
- Using lodash.merge fixes a bug where settings could bleed into
  subsequent API calls.
- Added default values for Throttle arguments.
- Reduced code footprint by merging flattenXMLAttributes into cleanXML.
- Added static method checkIsArrAndConvert(). This also reduces code
  footprint.
- The addition of checkIsArrAndConvert and merging flattenXMLAttributes
  into cleanXML removed the need for the xmlNodeParsers "group" property.
- Updated README with class structure
  • Loading branch information
tflanagan committed Jan 30, 2016
1 parent 925deb4 commit 6760b57
Show file tree
Hide file tree
Showing 7 changed files with 9,544 additions and 6,771 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,31 @@ quickbase.api('API_Authenticate', {
});
```

Class
-----
```javascript
class QuickBase {

public object defaults;

public object actions;
public object prepareOptions;
public object xmlNodeParsers;

public function api(action[, options[, callback]);

public static class QueryBuilder(parent, action[, options[, callback]]);
public static class Throttle([maxConnections = 10[, errorOnConnectionLimit = false]]);
public static class QuickBaseError(code, name[, message]);

public static class Promise = Promise;

public static function checkIsArrAndConvert(obj);
public static function cleanXML(xml);

}
```
License
-------
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quickbase",
"version": "2.2.2",
"version": "2.3.0",
"description": "A lightweight, very flexible QuickBase API",
"keywords": [
"QuickBase",
Expand Down Expand Up @@ -40,6 +40,7 @@
},
"dependencies": {
"bluebird": "^3.1.5",
"lodash.merge": "^4.0.3",
"xml2js": "^0.4.16"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 6760b57

Please sign in to comment.