- Add full support for ruby 3.0.x kwargs
- Differentiate errors for bad JSON versus invalid block data.
- Expand tests to cover many more cases.
- Add validation for block size limit in Slack API.
- Add CI check to prevent checkin of
fit
,fcontext
etc.
- Fix bugs introduced by accidental checkin of incomplete refactor.
- Methods from the calling context can now be called within a section block.
- Fix tests on ruby 3.0.
- More adjustments and additions to docs.
- Add warnings when overriding notification text and context block.
- Major overhaul of error handling and expansion on which errors trigger friendly messages for users.
- More additions to the docs, and working github pages integration.
- It's my birthday!
- Return a more structured object from successful message sends.
- Add the ability to edit or delete a message.
- Complete overhaul of docs because they were too large.
- Add ability to schedule messages, plus some guard rails around that.
- Add ability to debug by logging out the total set of params sent to the API.
- Adjust that minimum version by changing some syntax to older styles. Given support for ruby 2.4 ended almost 2 years ago, going to go ahead and leave it behind.
- Remove lockfile from repo
- Formally require minimum version of ruby. It wouldn't have worked anyway, but worth actually specifying.
- Add github workflow for automatic CI runs. Stolen from another project.
- Trying to fetch user ID for a string that isn't email-like raises an error.
- In tests, fetching user IDs is mocked out to prevent network requests.
- Tightened up and clarified README.
- Some internal cleanup and restructuring of modules.
- When sending text, it is now possible to mention users and have their user
IDs automatically converted using
<[email protected]>
within text nodes. - It's now possible to override notification text.
- Errors received from the Slack API now raise
SlackMessage::ApiError
. - Re-exposed a top-level method for getting user IDs,
SlackMessage.user_id
. - Raising some better errors when no message payload is present.
- Using
build
now requires a profile, so configuration must exist.
- Change to use Slack Apps for all profiles. This should allow growth toward updating messages, working with interactive messages etc.
- As a result, allow custom icons per profile / message.
- When sending a message, the first
text
block is used for the notification content. Should resolve "this content cannot be displayed". - Significant restructuring of README.
- Yeah that was all broken.
- Add many validations so that trying to add e.g. empty text won't succeed.
Previously that would be accepted but return
invalid_blocks
from the API.
- Cleaned that rspec code a bit, added more matchers for real world use.
- Added the ability to test in RSpec.
- Fixed literally a syntax issue.
- Fixed specs.
- Fixed API to include JSON since consumers may not have loaded it.
- THIS RELEASE IS BADLY BROKEN.
- Added new error messages when API configuration is wrong / missing.
- Fixed issue with
instance_eval
and using methods within block. - Fixed issue with sectionless
list_item
.
- Added
:default_channel
andpost_as
to deal with repetitive channel usage.
- Added
ol
andul
to sections w/ some formatting.
- Changed
image
toaccessory_image
to differentiate between the image block and the accessory image within a block.
- Added ability to use custom names when posting.
- Added ability to post images within sections.
- Added warnings for potentially invalid URLs.
- Fixed gemspec, which was entirely broken.
- Expanded the README significantly w/ usage instructions.
- Added lots of error handling to requests.
- Added the base gem w/ a DSL for constructing blocks using sections.
- Added a changelog, apparently.