Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bolt v4 #2254

Merged
merged 55 commits into from
Oct 17, 2024
Merged

bolt v4 #2254

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
7e8cb8d
Fix #2242 by upgrading express and its dependencies to newer major ve…
seratch Sep 11, 2024
1482ed3
ensure we delete `dist` folder before building, update sinon to lates…
Sep 11, 2024
c3c0184
set minimum node version to 18. update socket-mode to v2
Sep 11, 2024
1f0c09f
web-api to 7
Sep 11, 2024
81289d8
fix up breakage from upgrading to socket-mode v2 and web-api v7
Sep 13, 2024
a375581
upgrade slack/oauth to v3. remove promise.allsettled polyfill (native…
Sep 13, 2024
cd9429d
drop node v14 and v16 from CI testing
Sep 13, 2024
a9dd030
adding tsconfig/node18 as a tsconfig base and extending from it. upgr…
Sep 13, 2024
4706342
stick to cjs/node10 module tsconfig hackery for now
Sep 13, 2024
944e4e5
update tsd so it doesnt mess w/ tsc, wow that was weird
Sep 13, 2024
ee0522d
remove unused types dir
Sep 14, 2024
b933eeb
fixing up builtins TS and removing some casting. dropping TODOs.
Sep 14, 2024
f00e732
add test for say() utility w/ blocks - should not error
Sep 14, 2024
99f1528
add distributiveomit utility type and use it for say and respond argu…
Sep 14, 2024
743d61c
removed exported but unused KnownKeys
Sep 14, 2024
a703f23
more todos, tweaking message type tests
Sep 14, 2024
1ec641b
get rid of a type cast in processEvent
Sep 14, 2024
9f50d3f
tsconfig: allow fallthrough in cases in switch, remove related ts-ign…
Sep 14, 2024
c9335f9
TODO
Sep 14, 2024
8dff515
TODOs
Sep 14, 2024
b55925c
TODOs and improving the message handler type tests with more specific…
Sep 14, 2024
80183cd
removing inapplicable TODO
Sep 14, 2024
892298e
TODO and issue link
Sep 15, 2024
49bdaf0
remove deprecated OptionsRequest interface
Sep 19, 2024
6d441eb
breaking change: do not re-export slack/types
Sep 19, 2024
03bf323
breaking change: remove two deprecated properties (authed_users authe…
Sep 19, 2024
ee9d88a
breaking change: delete deprecated render-html-for-install-path module
Sep 19, 2024
540875b
breaking change: remove deprecated verify method
Sep 19, 2024
a80f9a7
breaking change: remove deprecated http-utils module.
Sep 19, 2024
cfdc1a4
breaking change: ignoreSelf and directMention now no longer need to b…
Sep 20, 2024
54fc209
redo how the `SlackEventMiddlewareArgs` type conditionally exposes th…
Sep 20, 2024
3a429b2
use conditional typing w/ unknown to add a `say` property to SlackEve…
Sep 20, 2024
be98ce2
use conditional typing w/ unknown to add a `say` property to SlackAct…
Sep 21, 2024
3d87510
use conditional typing w/ unknown to add a `say` property to SlackSho…
Sep 21, 2024
0a555c3
awsEvent breaking change: header and querystrings can be modeled as a…
Sep 26, 2024
c8695f9
adding deprecation notices to Steps from Apps stuff, and dropping rem…
Sep 27, 2024
69f73f4
Bolt v4 addendum: stricter typing of AWS API Gateway payloads (#2277)
filmaj Oct 2, 2024
74244f2
addressing review comment re: small tweak to example
Oct 2, 2024
cef05ff
re-export slack/types as a types named export
Oct 2, 2024
490f093
combine type utilities and helpers
Oct 2, 2024
ac9c553
fix refs to combined type utils/helpers
Oct 2, 2024
187664e
bump socket-mode to 2.0.2, to include a fix regarding handling messag…
Oct 2, 2024
1b793c0
ci/tests: move to biome, v4 linter fixes, audit tests and reorganize …
filmaj Oct 2, 2024
9bc9e8a
tag+publish 4.0.0-rc.2
Oct 2, 2024
63dd5ef
expose web-api package as webApi export in bolt
Oct 8, 2024
c90f278
[email protected]
Oct 8, 2024
8354b1a
fix: do not log ack timeout error if aws receiver has no registered h…
filmaj Oct 9, 2024
c61d3e2
[email protected]
Oct 9, 2024
06c670b
docs: add bolt v3->v4 migration guide to docs.
Oct 9, 2024
690c4e7
shuffle assistant test files around
Oct 17, 2024
c3261cc
linting assistant stuff
Oct 17, 2024
a5ab2d5
a few more unit test fixes
Oct 17, 2024
efcce08
fix up assistant tests, drop todos for type improvements
Oct 17, 2024
727a2e5
fixing last of assistant unit tests
Oct 17, 2024
a954a40
[email protected]
Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"include": ["src/**/*.ts"],
"exclude": ["**/*.spec.ts"],
"reporter": ["lcov", "text"],
"all": false,
"cache": true
}
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

304 changes: 0 additions & 304 deletions .eslintrc.js

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x, 20.x, 22.x]
zimeg marked this conversation as resolved.
Show resolved Hide resolved
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -25,9 +25,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- name: Print eslint version
run: ./node_modules/.bin/eslint -v
- run: npm run build
- run: npm test
- name: Upload coverage to Codecov
if: matrix.node-version == '22.x'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
node-version: [18.x, 20.x, 22.x]
example:
- examples/getting-started-typescript
- examples/custom-receiver
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down
15 changes: 0 additions & 15 deletions .nycrc.json

This file was deleted.

12 changes: 2 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,14 @@
"name": "Spec tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": [
"--config",
".mocharc.json",
"--no-timeouts",
"src/*.spec.ts",
"src/**/*.spec.ts"
],
"args": ["--config", ".mocharc.json", "--no-timeouts", "src/*.spec.ts", "src/**/*.spec.ts"],
"cwd": "${workspaceFolder}",
"runtimeExecutable": null,
"env": {
"NODE_ENV": "testing",
"TS_NODE_PROJECT": "tsconfig.test.json"
},
"skipFiles": [
"<node_internals>/**"
]
"skipFiles": ["<node_internals>/**"]
}
]
}
Loading