v1.5.0

@kuroda kuroda released this Jun 14, 2016 · 85 commits to master since this release

Cape.CollectionAgent

  • Better handling of HTTP status.

Cape.ResourceAgent

  • Better handling of HTTP status.
  • Add #show method, which fetches the client's data from the server.
  • Add #afterRefresh method, which refreshes the agent's client by default.
  • Add #refresh method, which calls #show and #afterRefresh methods by default.

Cape.Router

  • Change the signature of #redirectTo method as follows:
    • It accepts the second argument as query params and the third argument as options.
    • For backward compatibility, if the second argument has 'notice' or 'alert' as a key
      and the third argument is not given, the second argument should be treated as options.
    • Even if the second argument has 'notice' or 'alert' as a key, when the third argument
      is given, the second argument should be treated as query params.
  • Change the signature of #show method so that it accepts the second argument as query params.

Downloads