Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
813 commits
Select commit Hold shift + click to select a range
9262e3f
feat(examples): standardize authentication in users example
nlopes Jul 4, 2025
dd2cd22
feat(examples): standardize authentication in websocket_respond example
nlopes Jul 4, 2025
df4cb03
feat(examples): standardize authentication in modal example
nlopes Jul 4, 2025
faea44d
feat(examples): standardize authentication in files_remote example
nlopes Jul 4, 2025
4b172c9
feat(examples): standardize authentication in slash example
nlopes Jul 4, 2025
d65ebae
feat(examples): add validation in function example
nlopes Jul 4, 2025
f89cda5
chore: fix lint in team example
nlopes Jul 4, 2025
369013a
chore: better code
nlopes Jul 4, 2025
dccc5d8
chore: remove a bunch of global vars
nlopes Jul 4, 2025
dc611a3
fix(examples): quit if unable to send message
nlopes Jul 4, 2025
bc1f95f
chore: more linting
nlopes Jul 4, 2025
36472df
chore: add generated README to examples/
nlopes Jul 4, 2025
6efef11
feat: bring consistency to examples (#1456)
nlopes Jul 4, 2025
4a2676d
feat(users): add `IsEmailConfirmed` to `User`
nlopes Jul 4, 2025
13c4aec
feat(users): add `IsEmailConfirmed` to `User` (#1458)
nlopes Jul 4, 2025
e29b7e3
fix: parse simple string based errors as part of the response (#1452)
nlopes Jul 4, 2025
fe4c0d1
Make it possible to omit fields in the manifest struct.
pmarkowsky Jul 9, 2025
aa7a868
add example for assistant, data access api
nktks Jul 9, 2025
d4221e7
Revert "add example for assistant, data access api"
nktks Jul 13, 2025
e044f7a
add ai_apps_handler example
nktks Jul 13, 2025
4ae496d
fix ci
nktks Jul 14, 2025
2057b59
get all conversations with pagination
dorkauf Jul 23, 2025
a2941be
get all conversations with pagination
dorkauf Jul 23, 2025
6bee7eb
rate limit and server error tests
dorkauf Jul 23, 2025
5183ac5
Make it possible to omit fields in the manifest Settings struct (#1461)
nlopes Jul 29, 2025
9f5517e
chore(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 18, 2025
bbf9c45
Add cursor-based pagination for GetUsers API
KamikazeZirou Aug 7, 2025
fe09361
Get all conversations with pagination (#1463)
nlopes Aug 19, 2025
2255bbd
fix: `KickUserFromConversation` errors as a map
nlopes Aug 30, 2025
39b4615
fix: `KickUserFromConversation` errors as a map (#1471)
nlopes Aug 30, 2025
d3f9c64
fix: ensure we return channel for section channel rich text
nlopes Aug 30, 2025
1e96033
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0
dependabot[bot] Aug 30, 2025
4797c10
fix: ensure we return channel for section channel rich text (#1472)
nlopes Aug 30, 2025
e6bc4a0
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (…
nlopes Aug 30, 2025
c87baae
chore(deps): bump actions/stale from 9.1.0 to 10.0.0
dependabot[bot] Sep 8, 2025
d1727cd
feat: add cursor-based pagination support for user retrieval (#1465)
nlopes Sep 14, 2025
cfdcc20
chore(deps): bump actions/checkout from 4 to 5 (#1467)
nlopes Sep 14, 2025
9003a99
chore(deps): bump actions/setup-go from 5 to 6
dependabot[bot] Sep 14, 2025
18ebf86
chore(deps): bump actions/setup-go from 5 to 6 (#1477)
nlopes Sep 14, 2025
25960d0
chore(deps): bump actions/stale from 9.1.0 to 10.0.0 (#1478)
nlopes Sep 14, 2025
282467b
support Data Access API (#1439)
nlopes Sep 14, 2025
97cc155
chore(deps): bump actions/stale from 10.0.0 to 10.1.0
dependabot[bot] Oct 6, 2025
f26cdc2
chore(deps): bump actions/stale from 10.0.0 to 10.1.0 (#1484)
nlopes Oct 26, 2025
8d11ee8
feat: add support for optional "loading_messages" parameter in SetAss…
VDVsx Nov 4, 2025
f8f83c6
feat: add support for optional "loading_messages" parameter in SetAss…
nlopes Nov 5, 2025
89bd7ce
chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0
dependabot[bot] Nov 10, 2025
73c4d3f
fix: ensure imageURL or SlackFile for ImageBlockElement
Nov 3, 2025
b2bd688
chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 (…
nlopes Nov 12, 2025
2f42ec8
feat: add support for context_actions block
tgvashworth Nov 13, 2025
34e99a5
feat: add mise.toml
tgvashworth Nov 13, 2025
f29dd35
feat: add mise.toml (#1496)
nlopes Nov 13, 2025
afbabff
add a table block
williamclot Nov 6, 2025
22db143
add unit test
williamclot Nov 6, 2025
3f3e2e5
Add support for table blocks (#1490)
nlopes Nov 13, 2025
9578ce0
Merge branch 'master' into tom-a/context-actions-block
nlopes Nov 13, 2025
5be1559
Align MessageBlockType constants for consistency
nlopes Nov 13, 2025
e7f77c2
chore: fix linting
nlopes Nov 13, 2025
d93ef6e
feat: add support for context_actions block (#1495)
nlopes Nov 13, 2025
a57dfa0
fix: ensure imageURL or SlackFile for ImageBlockElement (#1488)
nlopes Nov 13, 2025
a0e98e3
feat: add support for workflow_button as a block element
nlopes Nov 14, 2025
3419af9
feat: add support for workflow_button as a block element (#1499)
nlopes Nov 14, 2025
1dbcde2
chore(deps): bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
35289c6
chore(deps): bump actions/checkout from 5 to 6 (#1502)
nlopes Nov 29, 2025
06f84e8
chore(deps): bump golangci/golangci-lint-action from 9.0.0 to 9.1.0
dependabot[bot] Nov 29, 2025
6767d51
chore(deps): bump golangci/golangci-lint-action from 9.0.0 to 9.1.0 (…
nlopes Nov 29, 2025
a921cb1
ci,fix: bump base go version to 1.24
nlopes Nov 29, 2025
a198ae6
ci,fix: bump base go version to 1.24 (#1504)
nlopes Nov 29, 2025
dc5fad7
ci: fix lint step
nlopes Nov 29, 2025
939e7a6
ci: fix lint step (#1505)
nlopes Nov 29, 2025
b991a80
docs(conversation): update GetConversationHistory function comments
yatiac Dec 3, 2025
4b653ef
docs(conversation): update GetConversationHistory function comments (…
nlopes Dec 4, 2025
9315ac8
chore(deps): bump actions/stale from 10.1.0 to 10.1.1
dependabot[bot] Dec 8, 2025
405f2e2
chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0
dependabot[bot] Dec 8, 2025
8ae2cd1
Adds streaming api support
k-k Dec 2, 2025
a3fd3dd
Adds an example of using the streaming apis
k-k Dec 2, 2025
360722c
Remove unnecessary code comment
k-k Dec 4, 2025
a49de68
Adds Chat Streaming API Support (#1506)
nlopes Dec 9, 2025
38e9cd0
chore(deps): bump actions/stale from 10.1.0 to 10.1.1 (#1508)
nlopes Dec 9, 2025
ae0b8cd
chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 (…
nlopes Dec 9, 2025
64cba44
feat: handle unmarshal table block
Dec 16, 2025
be69caf
feat: handle unmarshal table block (#1511)
nlopes Dec 16, 2025
64e4c32
Add RecordChannel to conversation Properties
chigley Dec 31, 2025
65e1413
Add RecordChannel to conversation Properties (#1513)
nlopes Dec 31, 2025
cc6e18e
Add support for title argument in CreateChannelCanvas method
jarospisak-unity Oct 1, 2025
d630a67
fix(conversation): use variadic pattern to avoid breaking change
nlopes Jan 24, 2026
419548d
Add support for title argument in CreateChannelCanvas method (#1483)
nlopes Jan 24, 2026
b4fa961
feat: Align GetReactions with Slack API
olegbespalov Sep 9, 2025
5a50289
feat(reactions): align GetReactions with Slack API response
nlopes Jan 25, 2026
14acba2
feat: Align `GetReactions` with Slack API (#1480)
nlopes Jan 25, 2026
5e4c0d3
fix(views): don't send empty hash with PublishView
nlopes Jan 25, 2026
5becad2
fix(views): don't send empty hash with PublishView (#1515)
nlopes Jan 25, 2026
203fe9d
feat(remotefiles): allow user to define `PreviewImageName`
nlopes Jan 25, 2026
506f916
feat(attachments): add ImageBytes, ImageHeight and ImageWidth
nlopes Jan 25, 2026
e216628
feat(attachments): add ImageBytes, ImageHeight and ImageWidth (#1516)
nlopes Jan 25, 2026
4a35a72
adds postephemeral handler to audit outgoing msgs
Aug 30, 2022
671f040
chore: fix import and a few log.Printfs
nlopes Jan 25, 2026
131a228
adds postephemeral handler to slacktest to audit outgoing messages (#…
nlopes Jan 25, 2026
8589ec7
docs: add changelog
nlopes Jan 26, 2026
c641d27
feat(block_call): add call block data to CallBlock
nlopes Jan 26, 2026
775ecac
feat(block_call): add image_original to CallBlockIconURLs
nlopes Jan 26, 2026
6833e86
feat: add huddle information
nlopes Jan 26, 2026
5d17e4d
docs: update changelog
nlopes Jan 26, 2026
e985252
docs: set changelog too v0.18.0-rc1
nlopes Jan 26, 2026
cb88568
fix(chat): pass MetaData through MsgOptionPostMessageParameters
nlopes Jan 26, 2026
3fb89d1
docs: fix typo in changelog
nlopes Jan 26, 2026
1110f63
feat(admin): add a bunch of admin.conversations.* API methods
nlopes Jan 27, 2026
08e3edc
docs: update changelog
nlopes Jan 27, 2026
48a805d
fix(socketmode): add debug logging for websocket dial failures
nlopes Jan 27, 2026
39e816a
fix(audit): use correct endpoint for Audit Logs API
nlopes Jan 28, 2026
e8e769b
fix(files): wrap UploadFileV2 errors with step context
nlopes Jan 28, 2026
e18bfa1
feat(files)!: remove deprecated UploadFile API
nlopes Jan 28, 2026
103a284
feat(files)!: rename UploadFileV2 to UploadFile
nlopes Jan 28, 2026
48c72e6
refactor(files)!: rename FileUploadParameters to UploadFileParameters
nlopes Jan 28, 2026
efd43a0
docs: release v0.18.0-rc2
nlopes Jan 28, 2026
825d69b
Add `focus_on_load` support for remaining block elements
CGA1123 Jan 29, 2026
0f67cd0
feat: Add `focus_on_load` support for remaining block elements (#1519)
nlopes Feb 5, 2026
d6bcd04
feat: add PlainText and PreviewPlainText fields to File struct (#1522)
derodero24 Feb 8, 2026
7fe95a9
fix(users): correct JSON tag typo in UserProfile.Skype field (#1524)
derodero24 Feb 9, 2026
792849c
feat(users): add missing fields to User, UserProfile, and EnterpriseU…
derodero24 Feb 9, 2026
6551d10
fix(assistant): send title parameter in setSuggestedPrompts API (#1528)
nlopes Feb 10, 2026
a9bf60d
feat(work-objects): add Work Objects support for chat unfurl, entity …
olegbespalov Feb 21, 2026
16c0f77
feat(admin): Implement missing admin.roles.* API method: (#1520)
nicolas-carlier-ls Feb 21, 2026
615a158
chore: deprecate go 1.24 and introduce 1.26 (#1530)
nlopes Feb 21, 2026
8416915
chore: add missing entries to CHANGELOG
nlopes Feb 21, 2026
e5ea969
chore: v0.18.0
nlopes Feb 21, 2026
a5a5f46
chore: use golangci-lint in Makefile (#1533)
olegbespalov Feb 22, 2026
be04e65
chore(deps): bump actions/stale from 10.1.1 to 10.2.0 (#1534)
dependabot[bot] Feb 23, 2026
9c057b3
feat: add support for task_card and plan agent blocks (#1536)
nlopes Feb 26, 2026
777ee2f
feat: add optional HTTP retry for Web API (429, 5xx, connection error…
olegbespalov Feb 26, 2026
eaddf77
chore: v0.19.0
nlopes Mar 4, 2026
8917d11
docs: update README with links and remove old warning
nlopes Mar 7, 2026
891d7e5
chore: add golangci-lint to mise
nlopes Mar 7, 2026
8e62a1a
Add WorkflowID to message (#1537)
clayallsopp Mar 21, 2026
561f12f
feat: add `TriggerID` to `Message`
nlopes Mar 21, 2026
c93b916
Revise warning for `trigger_id` and `workflow_id`
nlopes Mar 21, 2026
46d7b49
feat!: add Border to RichTextQuote and Language to RichTextPreformatted
nlopes Mar 21, 2026
0b4eb25
feat!: flatten RichTextPreformatted to remove RichTextSection embedding
nlopes Mar 21, 2026
442f330
chore: update CHANGELOG
nlopes Mar 21, 2026
449e341
chore: v0.20.0
nlopes Mar 21, 2026
99499e0
feat: add a few missing fields to User and UserProfile
nlopes Mar 22, 2026
e02a262
feat(workflows): add featured workflows API support
nlopes Mar 22, 2026
ddce7fc
fix(blocks): resolve nil pointer issue with NewBlockHeader
nlopes Mar 22, 2026
bfd40a1
chore: update CHANGELOG
nlopes Mar 22, 2026
7310ea3
feat(events): add `Blocks` field to `MessageEvent`
nlopes Mar 23, 2026
ec78497
fix(webhooks)!: make sure unfurl_links and unfurl_media can be false
nlopes Mar 23, 2026
81e1a14
fix(blocks): add `workflow_button` to `UnmarshalJSON`
nlopes Mar 24, 2026
79d222b
fix(views): add guard to ensure we don't compare empty BlockIDs
nlopes Mar 29, 2026
71f3077
fix(users): add Username to User
nlopes Mar 29, 2026
384450b
feat(events): add Blocks, Attachments, Files to AppMentionEvent
nlopes Mar 29, 2026
2150449
fix(users)!: change Has2FA from bool to *bool
nlopes Mar 29, 2026
5daf991
chore: update CHANGELOG
nlopes Mar 29, 2026
1e57684
feat: add ability to get the warnings (#1540)
nlopes Mar 30, 2026
0c45bf1
fix(reactions)!: move reactions.list to use cursor/limit
nlopes Mar 30, 2026
5025544
fix(stars)!: move stars.list to use cursor/limit
nlopes Mar 30, 2026
8497ee8
fix(team)!: move team.accessLogs to use cursor/limit
nlopes Mar 30, 2026
6ea0678
feat(websocket): support user_*_changed events
nlopes Mar 30, 2026
2b9b0cc
fix(chat)!: allow `MsgOptionBlocks` to send empty blocks array
nlopes Apr 3, 2026
5385770
chore: update changelog
nlopes Apr 3, 2026
5591f10
fix(slackevents): deprecate ParseActionEvent
nlopes Apr 3, 2026
a8520b7
feat(examples): add post markdown text example
nlopes Apr 3, 2026
b96c9b1
fix(socketmode)!: don't silently fail on large `Ack` payloads
nlopes Apr 4, 2026
711cae7
feat(usergroups): add UpdateUserGroupMembersList
nlopes Apr 4, 2026
60d4713
feat: expose HTTP response headers via a callback option
nlopes Apr 4, 2026
5271c49
feat(dnd): add team_id support to GetDNDInfo and GetDNDTeamInfo
nlopes Apr 4, 2026
badaa65
feat(users): add SetUserProfile to set full profile in one call
nlopes Apr 4, 2026
b049825
fix(users): test on marshall
nlopes Apr 4, 2026
ace86a6
feat(socketmode): handle Handle{View{Submission,Closed},Shortcut}
nlopes Apr 5, 2026
b5fb156
docs(socketmode): clarify app-level vs bot token usage in examples
nlopes Apr 5, 2026
a03edf6
chore(admin)!: adjust error strings to not start with uppercase
nlopes Apr 5, 2026
29adca4
chore(info)!: remove deprecated nil-returning lookup methods
nlopes Apr 5, 2026
a870697
chore(im)!: remote IM struct, move IsUserDelted to Conversation
nlopes Apr 5, 2026
2b3c6e2
refactor(blocks): use type switch variable in NewAccessory
nlopes Apr 5, 2026
bb8821c
docs(views): document `ViewSubmissionResponse` constructors
nlopes Apr 5, 2026
ca62227
fix(blocks): preserve unknown rich text elements on round-trip (#764)
nlopes Apr 5, 2026
bfd53c6
feat(oauth): add GetOpenIDConnectUserInfo
nlopes Apr 5, 2026
9e3d20a
feat(rtm): add sh_room and channel_updated event mappings
nlopes Apr 5, 2026
6a63662
fix(websocket): add missing events (apps, activity, badge count)
nlopes Apr 3, 2026
cc21fd1
feat(oauth): add OAuthOptionAPIURL for testable OAuth functions
nlopes Apr 5, 2026
c6a1f34
feat(admin): add admin.teams.settings.* methods
nlopes Apr 5, 2026
063d013
Add support for arbitrary JSON blocks
tgvashworth Nov 13, 2025
8189cb4
docs: update changelog with BlockFromJSON/MustBlockFromJSON
nlopes Apr 5, 2026
2666fa0
fix(blocks): preserve raw JSON in UnknownBlock
nlopes Apr 5, 2026
fc49102
chore: v0.21.0
nlopes Apr 5, 2026
86049e8
fix: move attachment and block serialization to formSender (#1547)
moabukar Apr 8, 2026
2a73b44
docs: add #1547 to changelog
nlopes Apr 8, 2026
ecb7c68
chore: remove useless TODO
nlopes Apr 8, 2026
9f9002a
chore: remove useless TODO
nlopes Apr 8, 2026
3500739
chore: better Icons godoc
nlopes Apr 8, 2026
5e0d5c3
chore: remove misleading XXX prefix to an excellent comment
nlopes Apr 8, 2026
7ec6a51
chore: assert the test file as well
nlopes Apr 8, 2026
fa3e143
chore: assert the test file and comment
nlopes Apr 8, 2026
17153aa
chore: remove stale TODO
nlopes Apr 8, 2026
923f351
feat(slackevents): add `ChannelType` constants and helpers
nlopes Apr 8, 2026
b1e976f
chore(slackevents): clarify eventsMap priority and remove stale TODOs
nlopes Apr 8, 2026
6d77e45
chore: v0.21.1
nlopes Apr 8, 2026
3298f70
feat(assistant): expand `assistant.search.context` API surface
nlopes Apr 11, 2026
5cfc21a
docs(assistant): mention deprecated assistant:write in favour of chat…
nlopes Apr 11, 2026
92379cc
feat(blocks): add underline, highlight, client_highlight, unlink
nlopes Apr 11, 2026
86249b5
feat(manifests): add optional scope fields to `OAuthScopes`
nlopes Apr 11, 2026
5a498f6
feat(oauth): add PKCE support for OAuth v2 token exchange
nlopes Apr 12, 2026
7c6fb1f
fix(socketmode): apply `debug_reconnects` query param to URL
nlopes Apr 12, 2026
3d2c59d
chore: fix linting and formatting issues
nlopes Apr 12, 2026
d86412e
fix(socketmode): skip reconnect on malformed JSON messages
nlopes Apr 12, 2026
38dc2b9
chore: simplify with fmt.Fprintf
nlopes Apr 12, 2026
f7a9616
chore: add staticcheck to mise
nlopes Apr 12, 2026
19e0416
ci: add staticcheck
nlopes Apr 12, 2026
3a5db9d
chore: fix staticcheck errors (#1548)
nlopes Apr 12, 2026
f482b19
chore: v0.22.0
nlopes Apr 12, 2026
4c472cd
feat(socketmode): expose socketmode handler `dispatcher` method (#1550)
nlopes Apr 16, 2026
e3c0e8b
feat(block): add card and carousel blocks (#1551)
nlopes Apr 17, 2026
2df5cfa
feat(assistant): add username and icon to status update (#1553)
charleenwang Apr 20, 2026
ae59061
feat(block): add alert block (#1552)
nlopes Apr 22, 2026
35d8f31
chore: bump to v0.23.0
nlopes Apr 22, 2026
c6edc27
chore: bump go to 1.25.9
nlopes Apr 27, 2026
34ad5c0
security: reject empty signing secret for NewSecretsVerifier
nlopes May 10, 2026
ff3ada6
docs: format go get command in code block (#1554)
akhil-ge0rge May 24, 2026
8c5ef3c
feat: add new block kit block Data Table (#1555)
nlopes May 24, 2026
0b30f31
chore: bump to v0.24.0
nlopes May 24, 2026
43c28d8
chore(deps): bump actions/stale from 10.2.0 to 10.3.0 (#1556)
dependabot[bot] May 25, 2026
98066ee
chore(deps): bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 (…
dependabot[bot] May 25, 2026
af28090
fix!: preserve all cell types in `TableBlock` (#1560)
nlopes Jun 4, 2026
f4bffa8
refactor: replace interface{} with any (Go 1.18+) (#1559)
MD-Mushfiqur123 Jun 4, 2026
a7d1210
chore: fix a bunch of issues detected by golangci-lint (#1561)
nlopes Jun 5, 2026
77b2103
chore: fix flaky test
nlopes Jun 5, 2026
f2af58e
chore: bump to v0.25.0
nlopes Jun 5, 2026
2e46275
feat: unmarshal is_ext_shared_channel field in EventsAPIEvent (#1565)
jjiang-stripe Jun 14, 2026
9843657
Propagate `IsExtSharedChannel` in `ParseEvent` for callback events
nlopes Jun 14, 2026
0af06c5
feat: add level field support to `HeaderBlock`
nlopes Jun 14, 2026
56c434c
feat: add `slack_icon` and `subtext` support to `CardBlock`
nlopes Jun 14, 2026
967c4e7
chore: bump go to 1.25.11
nlopes Jun 14, 2026
6fd5178
chore: bump golangci-lint to 2.12.2
nlopes Jun 14, 2026
b08c432
chore(deps): bump actions/checkout from 6 to 7 (#1567)
dependabot[bot] Jun 23, 2026
c1c5406
feat: add `data_visualization` block kit support (#1568)
nlopes Jun 27, 2026
46d27c4
feat: add enterprise fields to interaction team payloads
nlopes Jun 27, 2026
7609cd3
Bump slack-go/slack to 0.27.0
nlopes Jun 27, 2026
98300b2
chore(deps): bump golangci/golangci-lint-action from 9.2.1 to 9.3.0 (…
dependabot[bot] Jul 6, 2026
4738e22
fix: correct typos in comments and debug strings (#1570)
maxtaran2010 Jul 9, 2026
8e93d85
chore(deps): bump actions/stale from 10.3.0 to 10.4.0 (#1573)
dependabot[bot] Jul 13, 2026
03b5203
chore(deps): bump actions/setup-go from 6 to 7 (#1576)
dependabot[bot] Jul 20, 2026
ab81038
chore(deps): bump actions/stale from 10.4.0 to 11.0.0 (#1578)
dependabot[bot] Aug 3, 2026
46b261d
feat: add `Channels` to share an uploaded file with multiple conversa…
kenta-ja8 Aug 15, 2026
1bb5bb6
feat: add support for the container block (#1574)
jlhawn Aug 15, 2026
72865e1
feat: Expose full message object from chat.postMessage responses (#1572)
rustycl0ck Aug 15, 2026
fef3e74
chore: bump to 0.28.0
nlopes Aug 15, 2026
58389cc
fix: parse top-level action tokens (#1580)
mjq2020 Aug 15, 2026
49178c5
bump to 0.29.0
nlopes Aug 15, 2026
89c8640
Introduce golang 1.27; remove 1.25 (#1581)
nlopes Aug 20, 2026
73cf207
refactor(socketmode): use wg.Go for the ping watchdog routine
nlopes Aug 22, 2026
00e716d
chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1 (…
dependabot[bot] Aug 24, 2026
4b9cec9
chore(mise): bump go to 1.26.7
nlopes Aug 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: nlopes
buy_me_a_coffee: nlopes
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
25 changes: 25 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 0 * * 1' # every Monday 0:00 UTC

workflow_dispatch:

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
with:
any-of-labels: 'feedback given'
days-before-stale: 45
days-before-pr-close: 10
stale-issue-message: 'This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
operations-per-run: 120
59 changes: 40 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,54 @@ on:
- master
pull_request:

permissions:
contents: read

jobs:
ci:
runs-on: ubuntu-latest
name: lint
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.32
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
go:
- '1.13'
- '1.14'
- '1.15'
- '1.16'
- '1.17'
- "1.26"
- "1.27"
name: test go-${{ matrix.go }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: ${{ matrix.go }}
- name: run test
run: go test -v -race ./...
env:
GO111MODULE: on

lint:
runs-on: ubuntu-24.04
strategy:
matrix:
go:
- "1.26"
- "1.27"
name: lint go-${{ matrix.go }}
steps:
- uses: actions/setup-go@v7
with:
go-version: ${{ matrix.go }}
cache: false
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.13.1
- name: staticcheck
uses: dominikh/staticcheck-action@9716614d4101e79b4340dd97b10e54d68234e431 # 1.4.1
with:
version: "2026.2"
- name: Check 'go mod tidy' makes no changes
run: |
go mod tidy
if ! git diff --exit-code go.mod go.sum; then
echo "❌ go.mod or go.sum files are not tidy. Please run 'go mod tidy' and commit the changes."
exit 1
fi
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.test
*~
.idea/
/vendor/
.env*
38 changes: 32 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,40 @@
version: "2"
run:
timeout: 6m
issues-exit-code: 1
linters:
disable-all: true
default: none
enable:
- goimports
- gocritic
- govet
- interfacer
- misspell
- structcheck
- modernize
- unconvert
issues:
new: true
- unused
settings:
modernize:
# omitempty on nested struct fields has no effect, but switching to
# omitzero would change JSON output for a public API. Keep the tags as-is.
disable:
- omitzero
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- goimports
exclusions:
generated: lax
warn-unused: true
paths:
- third_party$
- builtin$
- examples$
Loading