Skip to content

Commit

Permalink
bump version to 1.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgauthier committed Nov 15, 2021
1 parent 39b32ec commit 228a4d0
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/release-notes/1.15.0_changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

- Member joins, leaves and bans monitoring configuration has been moved to slash commands under **/monitor members**. 👨‍👩‍👧‍👦

- Fixed an issue where commands would experience slowdowns and instability when the TaylorBot was under load. 🐛
- Fixed an issue where commands would experience slowdowns and instability when TaylorBot was under load. 🐛

- Fixed an issue where uncached bulk deleted message monitoring would display timestamps incorrectly. 🐛

Expand Down
12 changes: 12 additions & 0 deletions docs/release-notes/1.15.1_changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# TaylorBot Release Notes 📝
`v1.15.1` - `2021.11.14`

- TaylorBot now has a [Privacy Policy](https://privacy.taylorbot.app/)! Nothing changed, it's just putting into words how I deal with data privacy and transparency! 📃

- Moved command enabling/disabling to slash commands! 👉
- **DisableServerCommand**/**EnableServerCommand** are now **/command server-disable** and **/command server-enable**. ⛔
- **DisableChannelCommand**/**EnableChannelCommand** are now **/command channel-disable** and **/command channel-enable**. ⛔
- Fixed an issue where you had to use the disable command in the same channel you were disabling the command in. 🐛
- Discord is working on improving slash command control for server managers, but until then these commands are still useful for both prefix and slash commands. 🔮

- Lots of minor improvements and fixes. 📈
15 changes: 15 additions & 0 deletions src/taylorbot-postgres/sqitch/deploy/0029_bump_version_1.15.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-- Deploy taylorbot-postgres:0029_bump_version_1.15.1 to pg

BEGIN;

UPDATE configuration.application_info SET info_value = '1.15.1' WHERE info_key = 'product_version';

DELETE FROM commands.messages_of_the_day WHERE message = 'TaylorBot 1.15.0 is out! Threads are now fully supported!';

UPDATE commands.messages_of_the_day SET
message = 'If you have a **TaylorBot Plus** server, you can monitor deleted and edited messages. Use **/monitor deleted set** and **/monitor edited set** to get started!',
priority_from = NULL,
priority_to = NULL
WHERE message = 'TaylorBot 1.15.0 is out! If you have a **TaylorBot Plus** server, you can monitor deleted and edited messages. Use **/monitor deleted set** and **/monitor edited set** to get started!';

COMMIT;
16 changes: 16 additions & 0 deletions src/taylorbot-postgres/sqitch/revert/0029_bump_version_1.15.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- Revert taylorbot-postgres:0029_bump_version_1.15.1 from pg

BEGIN;

UPDATE configuration.application_info SET info_value = '1.15.0' WHERE info_key = 'product_version';

INSERT INTO commands.messages_of_the_day (message, priority_from, priority_to) VALUES
('TaylorBot 1.15.0 is out! Threads are now fully supported!', timestamp with time zone '2021-09-13', timestamp with time zone '2021-09-15');

UPDATE commands.messages_of_the_day SET
message = 'TaylorBot 1.15.0 is out! If you have a **TaylorBot Plus** server, you can monitor deleted and edited messages. Use **/monitor deleted set** and **/monitor edited set** to get started!',
priority_from = timestamp with time zone '2021-09-16',
priority_to = timestamp with time zone '2021-09-17'
WHERE message = 'If you have a **TaylorBot Plus** server, you can monitor deleted and edited messages. Use **/monitor deleted set** and **/monitor edited set** to get started!';

COMMIT;
1 change: 1 addition & 0 deletions src/taylorbot-postgres/sqitch/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@
0027_edited_log_channels 2021-08-29T00:15:52Z Adam Gauthier <[email protected]> # Add edited log channels
0028_rank_performance 2021-09-05T18:45:42Z Adam Gauthier <[email protected]> # Improve performance of rank queries
0029_bump_version_1.15.0 2021-09-11T18:31:59Z Adam Gauthier <[email protected]> # Bump product version to 1.15.0
0029_bump_version_1.15.1 2021-11-15T04:14:00Z adamg <adamg@TeaRiver> # Bump product version to 1.15.1
18 changes: 18 additions & 0 deletions src/taylorbot-postgres/sqitch/verify/0029_bump_version_1.15.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-- Verify taylorbot-postgres:0029_bump_version_1.15.1 on pg

BEGIN;

DO $$
BEGIN
ASSERT (SELECT info_value FROM configuration.application_info WHERE info_key = 'product_version') = '1.15.1';

ASSERT (SELECT NOT EXISTS((SELECT FROM commands.messages_of_the_day WHERE
message = 'TaylorBot 1.15.0 is out! Threads are now fully supported!'
)));

ASSERT (SELECT EXISTS((SELECT FROM commands.messages_of_the_day WHERE
message = 'If you have a **TaylorBot Plus** server, you can monitor deleted and edited messages. Use **/monitor deleted set** and **/monitor edited set** to get started!'
)));
END $$;

ROLLBACK;

0 comments on commit 228a4d0

Please sign in to comment.