atlassian-connect-express 2.0

55 views
Skip to first unread message

Konrad Garus

unread,
Oct 6, 2016, 8:55:23 AM10/6/16
to Atlassian Connect Dev
Hello,

looking at tags, I see there is atlassian-connect-express 2.0. However, neither the main docs nor the release notes seem to mention this release at all.

What changes does it bring? What breaks, what's new?

Michael Staas

unread,
Oct 18, 2016, 11:42:27 PM10/18/16
to Atlassian Connect Dev
The release notes have the following in them:

Atlassian Connect for Express.js Release Notes

2.0.0

  • Adds support for Bitbucket add-ons.
  • Adds support for user impersonation in JIRA and Confluence using OAuth 2.0 (AC-1080). To leverage this feature, use the httpClient as follows:
var httpClient = addon.httpClient(req);
httpClient.asUser('barney').get('/rest/api/latest/myself', function (err, res, body) {
  ...
});
  • Setting the JWT sub claim from the userKey is no longer supported. Please use the asUser() method instead.
  • The attribute appKey in the render context is now addonKey.
https://bitbucket.org/atlassian/atlassian-connect-express/src/75562f3b71d4f236d8af17c8e4250dc5b8860636/RELEASENOTES.md?at=master&fileviewer=file-view-default

Konrad Garus

unread,
Oct 19, 2016, 1:31:16 AM10/19/16
to atlassian-...@googlegroups.com
Now they do. Thanks!
> --
> You received this message because you are subscribed to the Google Groups
> "Atlassian Connect Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to atlassian-connec...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Konrad Garus
Reply all
Reply to author
Forward
0 new messages