Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.8.0 #96

Merged
merged 32 commits into from
Sep 4, 2024
Merged

Release v0.8.0 #96

merged 32 commits into from
Sep 4, 2024

Conversation

skylord123
Copy link
Contributor

@skylord123 skylord123 commented Sep 5, 2023

This is a big release. Added a bunch of new nodes and even modified existing nodes to return more information. We are also deprecating the Send Image and Send file nodes in favor of the new Upload File node.

Deprecation

The Send Image and Send File nodes are being deprecated and will be removed in a future release. Instead use the Upload File node and chain with a Send Message node to get the same behavior (the Send Message node was updated so if you pass an object in as the payload it will override the whole message object and so the Upload File node returns an already formatted payload object to allow direct chaining).

New Nodes

  • New Send Typing node for sending typing events Add support for sending typing state #100
    • useful if you want to show the bot is processing a request (such as doing a chatGPT or other API call)
  • New Room State Events node for setting/getting room state events Feature request: Change room name, topic & image (avatar) #97
    • Can set room name, topic, avatar, and custom state events
    • Can get name, topic, avatar, encrypted, power_levels, aliases, guest_access, join_rule, join_allow_rules, and custom events.
  • New Upload File node Create single upload file node #102
    • This was added so you can upload a file without sending a message so you can for example upload an image to set a new room or user avatar.
    • Supports file encryption
    • This node will auto detect file information for m.video, m.audio, and m.image files (resolution, duration, etc)
    • Has option to generate thumbnail for m.video and m.image files
    • Can be chained directly to a send message node to send the file to a room
  • New User Settings node for getting or setting current user's avatar or display name Support changing user settings #105
  • New Get User node for fetching information about a userId (display name, avatar URL, if they are currently active, when they were last active, etc)
    • Testing shows that the bot user must be sharing a room with the user you are querying information for
  • New Paginate Room node for fetching room history Add ability to paginate room history #28

All Changes

- Ensure matrix-server-config's register/deregister methods are always available
- Can set room name, topic, and avatar
- Can get name, topic, avatar, encrypted, power_levels, aliases, guest_access, join_rule, and join_allow_rules
- fix join_allow_rules for Room Setting node not getting correctly
- update Room Setting docs
- Room Settings node renamed to Room State Events
- Room State Events node allows configuring inputs/outputs from config
- Fix bug with various nodes allowing execution even though matrix server isn't connected
- Replace deprecated matrixClient.setGlobalErrorOnUnknownDevices method
- Update docs for new Room State Events node
- Remove unused returnValues config option for Room State Events node
- matrix-server-config now auto populates with first option
…ck to server if necessary (allows for faster lookups and gives the full event object with information about when/who created it, etc)

- #97 remove num, bool, bin, and data from being options you can set to a state event (currently only objects and sometimes strings are allowed)
- Updated Leave Room node so it deletes the room from local storage
- Updated server config node so it deletes the matrix client from storage during shutdown (possibly solution to #94)
…ode for events that support it (required for m.space.child and m.space.parent)

- #97 added support for m.room.history_visibility, m.room.server_acl, m.room.pinned_events, m.space.child, and m.space.parent
- #97 fix issue with checkbox being hidden on config page when adding new setters/getters on config page
- fix global and flow variable in getters for Matrix Room States node
- #100 fix typing event causing server error due to number being string
- Mention using pantalaimon as an alternative for E2EE support in README
#102 File upload node automatically detects mime type from name
#102 File upload node automatically fills in information for m.video, m.audio, and m.image (resolution, duration, etc)
#102 File upload node can generate a thumbnail for videos
#102 Send message node now accepts an object to override the message content
- matrix-send-message node can now be used to reply in a thread (closes #104)
- matrix-receive node now returns msg.mentions for easier access to who was mentioned in message
- matrix-receive node now returns boolean msg.isThread based on whether the message is a thread reply or not
…e or avatar_url)

- Fix class name of matrix-room-state-events node
@skylord123 skylord123 changed the title [WIP] Release v0.7.2 [WIP] Release v0.8.0 Dec 15, 2023
skylord123 and others added 5 commits February 7, 2024 09:06
- #28 paginate room history
- #111 manual read markers
- fix clearing global storage
- update node docs for upload file
…proved logging) #102

- Fix Received images missing thumbnail kills Node Red #65
- Trim rooms provided in receive node's Room ID config value
@skylord123 skylord123 changed the title [WIP] Release v0.8.0 Release v0.8.0 Sep 4, 2024
stop using deprecated login object
@skylord123 skylord123 merged commit 5de1274 into master Sep 4, 2024
@skylord123 skylord123 removed the WIP Work in progress label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for messages in threads Errors are not catchable
3 participants