Releases: clashperk/clashofclans.js
Releases · clashperk/clashofclans.js
2.5.1
2.5.0
2.4.0
Features
ClanWar#getClanWarLeagueGroup
,ClanWar#isCWL
andClanWar#isFriendly
are now available. (#87)RESTOptions#rejectIfNotValid
added to performres.ok
operations overRESTManager
methods. Know more? (#87)Icon#fileName
andIcon#sizes
are now available inIcon
class. (#87)Badge#fileName
andBadge#sizes
are now available inBadge
class. (#87)
Deprecations
ClanWarMember#previousBestOpponentAttack
has been deprecated. UseClanWarAttack#previousBestAttack
instead. (#87)
2.3.0
2.2.0
2.1.0
Bug Fixes
Features
- More utility methods added to
Util
class. (#76) (ff41115)Util.formatTag(tag: string): string
Util.formatDate(date: string): Date
Util.isValidTag(tag: string): boolean
Util.encodeTagToId(tag: string): string
(Removed on 2.3.0)Util.decodeIdToTag(id: string): string
(Removed on 2.3.0)
- Support of async/await for custom events (#79) (ff41115)
2.0.2
2.0.1
2.0.0
This new version is a complete TypeScript rewrite to convert everything from plain (literal JSON) objects to class (constructor) objects and support a lot more features.
Features
- HTTP Request Retries (#26) (94585f3)
- Client Events and Custom Events (#37) (5027ae6)
- Email Password Login (#31) (4153cd3)
- QueueThrottler and BatchThrottler (#34) (3a8f051)
- Override Request Options (#36) (42d7fdd)
- Internal Caching Options (#53) (984451d)
- Raw Data for Player Units (#65) (aa16962)
Links
-
Documentation
https://clashofclans.js.org/docs/ -
Updating to v2.0.0
https://clashofclans.js.org/docs/updating-to-v2
Full Changelog: 1.5.5...2.0.0