Releases: Shopify/smart_todo
v1.7.0
What's Changed
- Speed up by @kddnewton in #69
- Implement HTTP timeout/retry policies for GitHub/RubyGems/Slack clients by @davidstosik in #70
- Support older prism versions by @kddnewton in #71
New Contributors
- @kddnewton made their first contribution in #69
- @davidstosik made their first contribution in #70
Full Changelog: v1.6.0...v1.7.0
v1.6.0
v1.5.0
What's Changed
- Handle better failures on TODO definition by @rafaelfranca in #63
- Better handle archived Slack channels by @rafaelfranca in #63
- Drop support to EOL rubies. Only Ruby >= 3.0 is supported by @rafaelfranca in #63
Full Changelog: v1.4.3...v1.5.0
1.4.3
1.4.0
1.3.1
Fixes
- Fix output dispatcher that was failing with a
ArgumentError
. - Prevent crash when malformed emails are present.
1.3.0
New features
- Support multiple assignees
Fixes
-
Fix issue when todo as an unindented comment.
This was making smart todo to crash:
# TODO(on: date('2019/08/04'), to: '#bla') #comment without leading space
Add a new GemBump Event
-
Added a new
on: gem_bump
event which will remind you when a gem inside your
Gemfile.lock snapshot gets updated to a specific version.# TODO(on: gem_bump('rails', '6.1'), to: '...')
https://github.com/Shopify/smart_todo/wiki/Events#gem_bump
Multiple dispatchers
[1.1.0] - 2019-09-06
Fixed
- Fixed the SmartTodo cop to add an offense in case a SmartTodo has a wrong event.
# Bad # # TODO(on '2019-08-08')
Added
-
SmartTodo will now use the fallback channel in case a todo has a channel
assignee that doesn't exist. -
Added a new
Output
dispatcher which will just output the expired event.
By default SmartTodo will now output expired todo in the terminal instead
of not running at all.Users should now pass a
--dispatcher
to the CLI to let SmartTodo through
which dispatcher the message should be send.bin/smart_todo --dispatcher 'slack'
For backward compatibility reasons, the dispacher used will be Slack, in
case you have theENABLE_SMART_TODO
environment set. This will be removed
in the next major version.
Enforce assignee on SmartTodo
The SmartTodo cop will now add a violation if a SmartTodo has no assignee:
# Bad
#
# TODO(on: date('2019-08-08'))