Skip to content

build: release v0.9.0 - webhook attachments, linting, GitHub Actions#71

Merged
mantariksh merged 11 commits intoreleasefrom
release-v0.9.0
Jun 17, 2021
Merged

build: release v0.9.0 - webhook attachments, linting, GitHub Actions#71
mantariksh merged 11 commits intoreleasefrom
release-v0.9.0

Conversation

@mantariksh
Copy link
Contributor

@mantariksh mantariksh commented Jun 14, 2021

New

  • Support for downloading and decrypting webhooks in attachments

Improved

  • Dependency upgrades
    • y18n (4.0.0 to 4.0.1)
    • lodash (4.17.19 to 4.17.21)

Dev changes

  • Development environment now uses a separate, non-sensitive key pair for both verification and signing
  • Code is now linted
  • Build pipeline is now in GitHub Actions instead of Travis

karrui and others added 11 commits March 11, 2021 18:01
build: merge Release 0.8.4 back to develop branch
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…chments (#62)

* add downloadAndDecryptAttachments for downloading and decrypting attachments

* add more tests to improve coverage

* Update src/crypto.ts

Co-authored-by: Antariksh Mahajan <antarikshmahajan@gmail.com>

* update code per comments

* add a backtick to readme.md

* address comments by @seaerchin and @mantariksh

* update types in README.md

* remove extraneous http status check

* remove type annotations in readme.md

Co-authored-by: Antariksh Mahajan <antarikshmahajan@gmail.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Adding eslint functionality

* remove globals
* refactor(crypto): minor refactor of decryptWithAttachments

* refactor(crypto): removed custom error in favour of returning null

* refactor(util/crypto): fixed docs and changed method name

* refactor(src/crypto): assigned promise to variable to reduce nesting; removed unused error in docs

* docs(crypto): add docs

* refactor(crypto): updated to avoid .then() chain

* fix(crypto): removed unused import

* refactor(crypto): added custom error for decryption failure

* test(utils): adds unit tests for areAttachmentFieldIdsValid

* style(util/spec): updated constants to use Object.keys

* chore(errors): removed setting prototype explicitly

* style(crypto): removed mixing of promise chaining and async/await

Co-authored-by: seaerchin <jer005@e.ntu.edu.sg>
- make `test-ci` not run coverage, since that will be done by Actions
- rename `test:watch` to `test-watch` for consistency, since
  gulp-style script names (ie, using `:`) are deprecated
* docs: specify version for attachment functionality

* docs: collapse code examples into one

* docs: use HAS_ATTACHMENTS to distinguish decrypt functions

* chore: lint README

* docs: fix typo
* build: add separate keypairs for dev environment

* fix: use nacl.sign instead of nacl.box for keygen

* docs: add comment specifying keygen function

* docs: specify library of keygen function

* test: add tests for key length
@mantariksh mantariksh merged commit 09153de into release Jun 17, 2021
@KenLSM KenLSM deleted the release-v0.9.0 branch November 17, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants