All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.8.0 - 2018-08-23
- Support for the
query
field inpostEvent
methods.
0.7.0 - 2018-08-08
- Support for the
timestamp
field inpostEvent
methods.
0.6.0 - 2018-07-20
- Definitions for
WelcomeEvent
(zwerm.welcome
event). (17b683a, e737cf4) - Definitions for
WelcomeBackEvent
(zwerm.welcome-back
event). (7fde191, b986018) - Definitions for
TimerStartEvent
(zwerm.timer.start
event). (0071d05, b686e4b) - Definitions for
TimerCancelEvent
(zwerm.timer.cancel
event). (5261272, 2910329)
- Deprecated
ZwermAPI~NEW_CONVESRATION_EVENT
method in favor ofZwermAPI~NEW_CONVERSATION_EVENT
method. (cb72e4b)
0.5.0 - 2018-06-22
- Methods for using the events api endpoints, allowing you to send events to users & conversations. (c082ab8)
- Definitions for
ConversationSentimentNegativeEvent
(zwerm.conversations.sentiment.negative
event). (c44d389, 2e4402b)
0.4.0 - 2018-06-19
Some minor cleanup, automation, and fixes. This release removes the whole .idea folder, which might mess-up this project in JetBrains IDEs.
You can fix this by just copying the deleted files from v0.3.0 to your .idea folder, or by just deleting the project & re-checking it out again from source.
Sorry in advance - it's easier to rip the bandage off now, vs later down the line.
npm version
script to help automate bits and bobs, making it easier & quicker to release.
- Cleaned up .gitignore, ignoring and removing .idea/** folder & files. This might break existing checkouts of this repo as projects in JetBrains IDEs. The best fix is to just delete & checkout the project again. Sorry!
@stampit/stamp
optional dependency, as it screws overnpm
despite being optional. Once this package is released publicly, it'll be added back. This (hopefully) shouldn't screw over the typings too much.
0.3.0 - 2018-06-19
The Events
update! This release contains the initial definitions and structure for Zwerms
'system' events, including both typescript typings & static constant getters to ZwermAPI
.
Events
namespace. (c0d770c)- Definitions for
UnknownMessageEvent
(zwerm.unknown
event). (c0d770c, b0917d6) - Definitions for
ChannelErrorEvent
(zwerm.channels.error
event). (9b0877b, 917116c) - Definitions for
EngineErrorEvent
(zwerm.engines.error
event). (45e6a58, 0d5c100) - Definitions for
NewUserEvent
(zwerm.users.new
event). (af4d820, a8c31dd) - Definitions for
UpdateUserRouteEvent
(zwerm.users.route.update
event). (dcdc14d, 3873251) - Definitions for
NewConversationEvent
(zwerm.conversations.new
event). (42405b3, ad6254e) - Definitions for
UpdateConversationRouteEvent
(zwerm.conversations.route.update
event). (35aaba8, 0b3bcd2) Zwerm.Database.EventTransactionEntry
interface. (6e7250c)
- The
Zwerm.Database.ChannelService
union type now has typestring
, so that it won't complain when using channel services that have not yet been added. (9b52c22) - Renamed
StaMPTransaction
toStaMPTransactionEntry
(inZwerm.Database
namespace). (1a9652f) - Minor cleanup to typings code layout; mainly adding region tags and property overrides to make IDEs a bit happier. (1fff938, f3b12c5, 4a6f7d6)
0.2.0 - 2018-06-05
This release was mainly about moving all of the previous commits that were made to the BitBucket repo into this repo, so that we can finally wind that repo down in favor of this public one.
- 'event' transaction type.
firstConversation
&lastConversation
properties toZwerm.Database.UserEntry
.- Missing optional
userId
property toZwerm.Database.TransactionChannel
.
- Marked the
apiUrl
parameter of theZwermAPI#constructor
method as not nullable in jsdoc. - Rearranged order of definitions in typings, so their grouped better, and in a more logical fashion.
- Made
Zwerm.Database.TransactionEntry#metaMessage
property nullable instead of optional. - Made
Zwerm.Database.StaMPTransaction
an interface instead of a class. - Renamed
DateTime
toZwermDateTime
, to be more distinct (inZwerm.Database
namespace). - Changed
UserChannel
&TransactionChannel
to be interfaces instead of types (inZwerm.Database
namespace).
- Added
@types/qs
package devDependencies - Updated
qs
package to6.5.2
- Updated package to use
@stampit/stamp
package.
- Deprecated
ChannelsObject
interface &ChannelObject
type.
This is the initial release, being pulled over from the BitBucket repo, and following repository preparations for publishing on Github and NPM.