Changes
- Enforce TLS 1.2, per Socrata's announcement
Fixes
- SoQL queries with aggregate functions no longer fail
Changes
- A standard SoqlQuery no longer automatically selects
:id
and sorts in ascending order - Dropped support for PHP 5.3, 5.4, 5.5 due to Socrata's new SNI requirement
- Add support for
SoqlQuery::having()
- phpDoc links in SoQL have been updated to Socrata's new URL patterns
Changes
- Remove limit of 50,000 in the SoqlQuery::limit(); older datasets will simply throw an exception with an error message stating the limit.
- API 2.0 and 2.1 datasets can now be differentiated with SodaDataset::getApiVersion()
- This change also changes the return type of this function from int to double. Unless you explicitly used is_int in your code, this won't break any code.
New
- Introduced SodaDataset::getRow()
- Introduced SodaDataset::deleteRow()
- The SodaException now gives access to the JSON object returned with all of the errors
Fixes
- Use OAuth2.0 token when fetching a dataset's metadata
Changes
- Visibility of some functions in the UrlQuery class have changed
- More documentation has been added
- This library is now licensed as MIT
New
- Introduced SodaClient:: setOAuth2Token() function
Fixes
- URL encode the needle in a fullTextSearch
Changes
- Follow URL encoding spec according to RFC 3986
- Move features from CsvConverter to parent class
Initial release of PhpSoda
Featuers
- Tokens & basic authentication
- Simple filters
- SoQL queries
- Dataset metadata