Category Archives: changelog

Changelog for build 4264

Filed under changelog
New feature highlights:

  • Customizable caching. Execute can now set maxage header in response (response.maxAge=300), and clients can also request a greater maxage header for increased performance (&_maxage=300).
  • Query aliases. Name your YQL queries using meaningful short names.

Core Table changes

  • New global execute element outside of bindings is prepended to all executes (to enable common js to be run over all bindings)

New Core tables

Execute changes

  • max-age header is now auto-calculated based upon queries and rest calls made in execute

Bug fixes, including:

  • Redirect handling improved
  • Upgraded memcache library
  • Batchable attribute now works correctly with paramType=”query” and “matrix”

Changelog for build 3396

Filed under changelog
New feature highlights:

  • y.rest and y.query now support timeouts
    • y.rest(..).timeout(30).get() will fail after 30ms
    • y.query(…,30) will fail after 30ms
    • An exception gets thrown if the timeout is hit

    Open Data Table schema changes

    • url/urls is now optional in the schema

    Bug fixes, including:

    • @ substitution works for paging parts of the query
    • url based paging works in more cases

    Changelog for build 3013

    Filed under changelog

    New feature highlights:

    • set verb for configuring static variables
    • yql.storage tables for storing tables, environments and more in YQL itself
    • debug mode for table development (debug=true)
    • multiple environment support

    Core table changes:

    • update for geo.placemaker table
    • social.connections.updates results are sorted by date similar to social.updates
    • csv table now has a charset key (if the source doesn’t provide one this can be used instead of the utf-8 default)

    New core tables:

    • meme.*

    Open Data Table schema changes

    • input key “as” attribute for renaming parameters

    Execute changes

    • y.env function so you can load up enviroments inside a YQL execute element.
    • y.crypto, for cryptographic signing
    • y.context (single value, table, contains the name used by the executor of this table)

    Bug fixes, including:

    • xpath and multiple IN url selects on HTML page no longer fails
    • table name is now present in execute
    • sanitize() can now take no params
    • workaround to ruby/github client-ip bug
    • update query without where clause returns error message instead return null
    • const key values are no longer mutable by the keys in the YQL query
    • add client-ip to outgoing header based on incoming authenticated IP address
    • @variables other than urls now work on data tables
    • trim whitespace around json responses to parse better (fixes itunes issue)
    • post method reverse(field=”id”) displays correct method name in error message
    • User-Agent sent via HTML fetches through YQL should indicate Yahoo Pipes 2.0 (now uses: Mozilla/5.0 (compatible; Yahoo Pipes 2.0; +http://developer.yahoo.com/yql/provider) Gecko/20090729 Firefox/3.5.2)

    Changelog for build 2174

    Filed under changelog

    New feature highlights:

    • INSERT/UPDATE/DELETE bindings and language features
    • JSONP-X feature (XML string as JSON result if format=xml and JSONP callback is specified)

    Core table changes:

    • social.updates defaults to sorting updates by date (most recent first)

    New core tables:

    • social.profile.status
    • social.connections.updates (efficiently gets updates for all connections)
    • flickr.photoset
    • geo.placemaker

    Open Data Table schema changes

    • new “url” paging model
    • new “insert”,”update” and “delete” bindings
    • new “map” and “value” input key types

    Execute changes

    • New methods on y.rest():
      • post(content), post the value of content to the url.
      • put(content), put the value of the content to the url
      • del(), send delete http verb to the url (delete is a reserved word in JavaScript? so thats why this is del)
      • contentType(string), set the content type of the payload on content (e.g. application/json)
      • accept(string), set the accept http header to a mimetype, and tell YQL what we expect the response to contain (and how to parse it)

    Bug fixes, including:

    • No microformats in a page handled better
    • Words like “Select” and “Desc” now acceptable in projection, where and function clauses
    • Map input type now works in “Select”
    • Query parameters on the console are now passed through to the YQL service
    • y.log response.object and native object fixes
    • Multiple open data table authors now shown in “desc”
    • Json table now accepts top-level arrays.
    • response.object can be appended
    • CSV parser handles commas inside quoted strings
    • Javascript array.toString() works better
    • response.headers returns headers correctly now
    • y.jsonToXml now accepts javascript objects and empty values encoded as NULL
    • multi-key joins key ordering fixed

    Changelog for build 1678

    Filed under changelog

    Bug fixes, including

    • URI Template Handler now supports multiple -neg variables.
    • Escaped values in literals such as ‘\\d’ are now correctly passed to YQL execute as ‘\d’
    • Fixed uritemplate table example
    • Better integration of Local Search: Added search parameters to local.seach namely listing_id, omit_category, minimum_rating, route and sort

    Enhancements

    • YQL Execute: y.rest(uri) now parses HTML documents and returns an E4X object if the accept header is set to “text/html”.
      
      y.rest("http://finance.yahoo.com/q?s=yhoo").accept('text/html').get().response
      
    • YQL now supports the ‘Access-Control-Allow-Origin’ header for new Cross Domain XHR requests.
    • Introduced new URL based paging model to support services which return a link to the next page.

    Changelog for build 1432

    Filed under changelog

    Bug fixes, including

    • JSON and JSONP mimetypes now different/fixed.
    • fixed robots.txt evaluation bug
    • “NaN” value sorting bug fixed

    Open Data Table schema changes

    • private open data table keys don’t have to be “const” and key name (not value) is displayed in “desc”
    • new “https=true” attribute on open data tables
    • new “variable” paramType for open data table input keys
    • new “execute” element: server-side javascript support

    Core table changes

    • flickr.photos.search now has sort, is_commons and geo_context  parameters
    • search.web now has lang, region, site and abstractkey keys

    New core tables

    • 16 new music APIs added
      • music.artist.id
      • music.artist.popular
      • music.artist.search
      • music.artist.similar
      • music.release.artist
      • music.release.id
      • music.release.popular
      • music.release.search
      • music.track.id
      • music.track.popular
      • music.track.search
      • music.video.category
      • music.video.id
      • music.video.popular
      • music.video.search
      • music.video.similar
    • term extractor
    • search.siteexplorer.pages
    • search.siteexplorer.inlinks
    • search.suggest
    • search.spelling
    • uritemplate (for creating URLs)

    Misc

    • sub-selects now support “content” as projection field selector
    • console and web service now accessible over HTTPS

    Changelog for build 911

    Filed under changelog
    • Console and web service now support an “env” query parameter. This is a url that points to an environment/shell file that YQL will load. Currently this enables multiple tables to be used at once.
    • “Use” table no longer requires the “as” clause. When “as” is absent it will default to the final path segment filename minus the extension. e.g. use 'http://somewhere/service.api.xml; select * from service.api;
    • Show tables now shows where the open data definition was defined
    • Desc table format tweaked
    • Open data table paging fixes, including better support for none paging but flexible result sized services and fixed page models. Moved “matrix” to the paging parent element.
    • Offset bug fixed in table(offset,number) processing

    Changelog for build 822

    Filed under changelog
    • NOT LIKE added
    • MATCHES regex matching added
    • New USE verb for open data table importing
    • Support for open data table definitions

    Changelog for 2009.01.12.16:11

    Filed under changelog

    New tables

    • upcoming.user
    • microformats
    • flickr.photos.sizes

    Table updates

    • local.search “location” key is now optional
    • mybloglog user by service
    • fixed typo in mybloglog.members.find
    • “charset” is now an optional key in html table, to enable developers to force a particular charset to be used when parsing the web page

    Bug fixes, including:

    • more html and xhtml and i18n issues fixed for html table
    • subselect fix for optional keys

    Other:

    • publiclyCallable element in diagnostics is set to true if the query can work across the public entrypoint
    • show tables response format changed

    Note: future releases will more strictly apply robots.txt to html table fetches