Releases: workshoptech/discourse-js
Releases · workshoptech/discourse-js
TS Migration
Migrate to User API
By default this package now uses the User API of Discourse: https://meta.discourse.org/t/user-api-keys-specification/48536
Previously this package relied on the Admin API which could not be used to make requests via a browser due to strict CORS policies within Discourse - only User API keys can be whitelisted as an allowed header: https://github.com/discourse/discourse/blob/master/config/initializers/008-rack-cors.rb#L42
With this update you'll need a method for programmatically generated User API keys - if you'd like advice on how to do this then get in touch.
v1.3.1
v1.3.0
v1.2.0
v1.1.0
v1.0.2
• Fixes discourse.post.reply function to use discourse.DiscourseResource({}) to add required api credentials instead of normal fetch.
v0.6.0
- adds
getUserfunctionality - updates to
README.md
v0.5.0
- add
getTopicsByUsername