Skip to content

Releases: JasonBoy/wechat-jssdk

v.3.0.0-beta.2

06 Dec 08:18
Compare
Choose a tag to compare
v.3.0.0-beta.2 Pre-release
Pre-release
  • add MongoStore to store signatures to MongoDB
  • initialize tokens and signatures from db to memory for better performence
  • Store class extends EventEmitter to make it events noticiable
  • move client.js to lib dir, using webpack to transpile the client js

v3.0.0-beta.1

06 Dec 08:13
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

Using ES6 to refactor all APIs

Breaking Changes:

  • change all syntax to ES6 style
  • create JSSDK, OAuth class to handle jssdk and oauth requests
  • create Store class to extract logic to store jssdk signatures, create subclass of Store to add custom store logic
  • add simple FileStore extending from Store
  • make all store apis promiseble
  • add missing jsdoc for apis
  • couple other updates and fixes

v2.1.0

10 Nov 08:25
Compare
Choose a tag to compare
  • client side js refactoring
  • remove updateConfig method from wechatObj, use signSignature directly if need to resign the signature
  • optimize the wechat script loading logic

v2.0.4

06 Sep 07:42
Compare
Choose a tag to compare
  • fix redirect_uri hash order, put redirect_uri query before the last query paramater

v2.0.1

26 Aug 07:18
Compare
Choose a tag to compare
  • fix oauth access token cache
  • fix getting oauth callback url api

v2.0.0 with Promise style

22 Aug 05:22
Compare
Choose a tag to compare
  • change all apis to promise style
  • other fixes

v1.1.12

15 Aug 02:41
Compare
Choose a tag to compare
  • add returnToken option for getUserInfo api to return access_token , refresh_token with other user info
  • add getUserInfoByOptions api to support passing options object, instead of passing parameter one by one

v1.1.10

07 Aug 08:56
Compare
Choose a tag to compare
  • OAuth feature fixes and updates
  • add cached OAuth access token
  • update OAuth URL config

v1.1.2

17 Jun 03:09
Compare
Choose a tag to compare
  • fix global token check

v1.1.1

15 Jun 07:17
Compare
Choose a tag to compare
  • renew url signature upon time expiration(2hs)
  • couple of minor fixes