Changelog
Source:NEWS.md
slackr 3.4.0
- Fixes the internals of
files_upload
to use new Slack API and migrate off of deprecatedfiles.upload
method
slackr 3.3.1
CRAN release: 2023-02-26
- Fixes a bug in
slackr_history
where the function fails to inferposted_from_time
if not provided - Adds default
message_count = 100
toslackr_history
- Improves test coverage
slackr 3.3.0
CRAN release: 2023-02-20
User-facing changes:
-
ggslackr
now relies on dots (...
) to pass arguments through toggsave
-
ggplot2
is now insuggests
, so the user doesn’t need it installed to useslackr
.ggslackr
will prompt to install if it’s not already. - Fixes a “bug” with pagination in
slackr_history
causing an almost infinite loop - Fixes a bug in
slackr_save
whereinitial_comment
would do nothing - Improves documentation of
slackr_history
to be more helpful in pointing the user to the Slack API docs
Backend changes:
- Gets rid of default args in some un-exported functions to make tracking down bugs easier
- Adds significant test coverage
slackr 3.2.2
- Fixes a bug where specifying specifying
duration
had no effect inslackr_history()
if posted_from_time was not specified also. linked issue
slackr 3.2.0
CRAN release: 2021-09-20
-
slackr
andslackr_bot
no longer rely onreprex
, asprex_r
would fail when an eval environment needed to be specified, but couldn’t.
slackr 3.1.1
-
slackr_ims
bug fix. - Using
usethis::use_pipe()
to import magrittr’s pipe.
slackr 3.1.0
- Allows
ggslackr
to post multiple file types - Fixes a bug in
slackr
andslackr_bot
that led to garbled output
slackr 3.0.1
CRAN release: 2021-08-20
Fixes to a couple of bugs * Updated error handling for edge cases when you supply a username with a user token. * Removes references to purrr
, since it’s GPL. * Updates the vignettes
slackr 3.0.0
CRAN release: 2021-08-07
Lots of breaking changes in this release: * bot_user_oauth_token
has been removed entirely in favor of token
* slackr_history
now has message_count
as it’s first argument * Adding the capability to pass the thread_ts
parameter to all slackr_*
functions (i.e. allowing you to reply to a message in a thread) * Adding reply_broadcast
capability in slackr
and slackr_msg
* Adding title
and initial_comment
parameters for all functions relying on the files.upload
endpoint (basically everything except for slackr
, slackr_bot
, slackr_msg
, slackr_history
, and slackr_delete
) * slackr
and slackr_bot
now use reprex::prex()
in the background, which means that they no longer throw errors the same way as they did before. slackr
will try to be helpful in telling you what went wrong if your prex
output contains an error (instead of posting), but it isn’t guaranteed to work all of the time. You can prevent this behavior by setting the SLACKR_ERRORS
environment variable to "IGNORE"
.
Other changes: * Significant improvements to documentation, which now aligns with Slack API descriptions * Significant internal overhauls of how the functions call the API
slackr 2.4.0
CRAN release: 2021-07-05
- Deprecates the
bot_user_oauth_token
argument forslackr*
functions in favor oftoken
- Allows users to choose between a user token and a bot token
- Uses
withr::local_options(list(cli.num_colors = 1))
inside ofslackr
to fix garbled tibble printing. linked issue - Removes the
channel
,username
andicon_emoji
parameters forslackr_bot()
which were deprecated in version2.1.1
and have no effect - Removes the
cacheChannels
parameter forslackr_setup()
which was deprecated in version2.1.0
- Removes hard-coded locale settings. linked issue
- Small error handling improvements and other miscellaneous fixes
slackr 2.3.0
CRAN release: 2021-05-02
- Adds
slackr_csv()
, which simplifies the process of writing data frames to Slack as csv files - Adds
slackr_teardown()
, which reverts the changes made byslackr_setup()
by unsetting the environment variables - Adds
create_config_file()
to simplify the process of setting up a config file -
save_slackr()
is now deprecated in favor ofslackr_save()
andtex_slackr()
has been deprecated in favor ofslackr_tex()
slackr 2.2.0
CRAN release: 2021-03-04
- Gets rid of the usage of
slackr_chtrans()
in the vast majority of functions, significantly speeding upslackr_***()
by limiting API requests
slackr 2.1.3
- Fixes a
memoise
bug that was causingslackr_chtrans()
to fail withmemoise < 2.0.0
- Fixes a bug in the implementation of
slackr_census()
that would causeslackr_census()
to fail if the user was specifying a cache dir on the disk
slackr 2.1.1
- Changes a few badly-set function default channels to be
Sys.getenv('SLACK_CHANNEL')
instead of''
- Adds a more informative error message on
slackr_upload()
when the request returnsnot authed
as per #137 - Deprecates some arguments in
slackr_bot()
that no longer work (username, channel, icon emoji) that used to work with the old API structure
slackr 2.1.0
- HTTP Caching speeds up requests and limits the number of requests we need to make
-
slackr_history()
andslackr_delete()
are now implemented -
username
andicon_emoji
parameters toslackr_***
functions now work again - https://matthewrkaye.com/slackr/articles/webhook-setup.html have been added with setup instructions and usage
- Improved error messaging
- Updates to the README and the pkgdown site
- A number of significant back-end changes, thanks to Andrie de Vries, including significant code cleanup, simplification of the API calls, pagination, and more!
slackr 1.4.3
- Added
stop()
inslackr_upload()
if file to upload was not found (via #46)
slackr 1.4.2
CRAN release: 2016-07-20
- Fixed bug introduced by new field names in Slack API
- Added a
NEWS.md
file to track changes to the package.
slackr 1.4.1
CRAN release: 2016-04-27
- There is a new
slackr_msg()
function which behaves slightly differently thantext_slackr()
- Versions 1.4+ BREAK THINGS.
- Support has been removed for the “old style” incoming web hooks (see “Setup” in the README for the required incoming web hook URL format).
- the incoming webhook “token” is no longer required or used.