Silvenga / Rocket.Chat.Net

A Rocket.Chat realtime managed .Net driver and bot
MIT License
28 stars 32 forks source link

Breaking Changes 0.36.0 #2

Open Silvenga opened 8 years ago

Silvenga commented 8 years ago

Major changes in the subscription API broke most of this library's core features in the 0.36.0 upgrade.

agc93 commented 7 years ago

Is the plan still to update this library to match the new changes? Rocket.Chat is up to 0.56.0 now, and I'm not sure if the API has changed again (seems likely).

Silvenga commented 7 years ago

@agc93 see #3. Still waiting. 😺

moisespr123 commented 7 years ago

My bot works just fine with 0.56.0, although I'm just reading and sending messages. Haven't tested anything else.

I do occasionally experience that the bot crashes when the chat is offline.

I tested this by doing a clean install using Ubuntu and Snaps

Qamaruddin2 commented 6 years ago

Hi Silvenga, "Subscription 'subscription' not found [404]" issue has kept me up for the past few days. Then I went to your comments in RocketChat Issue # 142 https://github.com/RocketChat/hubot-rocketchat/issues/142. This helped me resolve this Subscription problem.

It would have been great if you could have updated the code in this Repos.

Just as a reference for others, I am copy-pasting the resolution you provided there ----

What I've experienced:

Subscriptions to stream-messages result in 404's (similar to 0.1.4 behavior). Subscribing to room information was broken I upgraded to be inline with 1.0.1 from the Hubot stream branch by Message type from added to changed Subscription name changed from stream-messages to stream-room-messages Use 2nd index of args from the 1st index on the Rocket.Chat messages JSON objects. Subscribing to all rooms from null to my_messages Sending true instead of the never used "Message Subscription Limit" It appears, with these changes, that my library can now receive messages from itself via my_messages and stream-room-messages

Thanks for providing a .Net implementation of RocketChat.

Silvenga commented 6 years ago

@Qamaruddin2 I don't doubt that things are broken when targeting anything recent. However, I don't want to support Rocket.Chat until there's a documented API, to help my personal sanity (would need https://rocket.chat/docs/developer-guides/realtime-api/ released).

I always welcome pull requests if someone wants to update support. 😸

nhotoi commented 4 years ago

@Silvenga can you update it for me, I need it and have tried to upgrade your project! I was not successful!please help me! thanks you so much

Silvenga commented 4 years ago

I'm sorry @nhotoi the realtime api was never created.

antoniozh commented 1 year ago

Hi, I am currently attempting to update your library to the current Realtime API version, but except from logging in, not much seems to be working. Do you know if the realtime API is still not working? I am getting many meteor errors when testing out requests.