RPC v0.3.0
Summary
Operation unmarshalling was largely remade and improved. Many more operations are now supported natively as statically typed Go structs. This includes CustomJSONOperation
, which also has some superpowers to parse the embedded JSON and return relevant Go struct as well.
Full support for login_api
and partial support for follow_api
was added.
Other than that there have been numerous bugfixes related to wrong JSON unmarshalling.
Commits
4b0a4ca Add partial support for follow_api
10872bf Add support for login_api
168baf7 database: Add support for CustomJSONOperation
4ee8b42 database: Improve/fix unmarshalling
6f28117 types: Fix StringSlice unmarshalling
141beb3 database: Fix ContentMetadata unmarshalling
7510ae9 apis/database: Add GetActiveVotes
bea4dc0 apis/database: Fix PowOperation, again
65bdbdf apis/database: Fix PowOperation unmarshalling
ead3b08 apis/database: Fix ContentMetadata unmarshalling
ea9476c types: Use ParseInLocation to parse time
dd83151 apis/database: Add account_{create,update}
f955a5b Change operation unmarshalling and add missing ops
0087370 README: Update example to the new API