-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
53 additions
and
78 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,35 @@ | ||
# Squiss-TS Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [v1.2.1] | ||
### Added | ||
- Bug fix: upgraded mocha version to avoid security risks | ||
## [v1.2.2] | ||
### Fixed | ||
- Upgraded linked-list version to avoid redundant typing files | ||
|
||
## v1.2.1 | ||
### Fixed | ||
- Upgraded mocha version to avoid security risks | ||
|
||
## [v1.2.0] | ||
## v1.2.0 | ||
### Added | ||
- Feature: Support message deletion resolving with Promise | ||
- Support message deletion resolving with Promise | ||
|
||
## [v1.1.0] | ||
## v1.1.0 | ||
### Fixed | ||
- After stop, don't pull any more messages | ||
### Added | ||
- Bug fix: After stop, don't pull any more messages | ||
- Feature: Added support for customizing the requested message attributes | ||
- Feature: Stop method now returns promise that will be resolved when queue drains or timeout passes | ||
- Added support for customizing the requested message attributes | ||
- Stop method now returns promise that will be resolved when queue drains or timeout passes | ||
|
||
## [v1.0.0] | ||
## v1.0.0 | ||
### Added | ||
- Ported from [TomFrost/Squiss](https://www.github.com/TomFrost/Squiss) v2.2.1 (__no backward compatibility__) | ||
- complete rewrite in typescript | ||
- move to the newest AWS sdk (v2.418.0) | ||
- Complete rewrite in typescript | ||
- Move to the newest AWS sdk (v2.418.0) | ||
- Improve the performance by always filling the handled messages and not waiting for an entire batch size to be fetched | ||
- Parse the message attributes into a plain object in send and receive of messages | ||
- Added `purge queue` capability | ||
- Revised the doubly linked list to be used by an external (and lean) library | ||
- Deleting a message now returns a promise that will be fulfilled upon success. | ||
- Batch messaging now supports attribute map per message | ||
|
||
[v1.2.2]: https://github.com/PruvoNet/squiss-ts/compare/v1.2.2...v1.2.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--require test/setup.js | ||
--recursive | ||
--require test/setup.ts | ||
--recursive |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
'use strict'; | ||
|
||
import * as chai from 'chai'; | ||
// @ts-ignore | ||
import * as dirtyChai from 'dirty-chai'; | ||
import * as chaiAsPromised from 'chai-as-promised'; | ||
import * as path from 'path'; | ||
// @ts-ignore | ||
import * as mod from 'module'; | ||
// @ts-ignore | ||
import * as sinon from 'sinon'; | ||
// @ts-ignore | ||
import * as sinonChai from 'sinon-chai'; | ||
|
||
chai.use(sinonChai); | ||
chai.use(chaiAsPromised); | ||
chai.use(dirtyChai); | ||
|
||
(global as any).should = chai.should(); | ||
(global as any).sinon = sinon; | ||
|
||
// importing files with ../../../../../.. makes my brain hurt | ||
process.env.NODE_PATH = path.join(__dirname, '..') + path.delimiter + (process.env.NODE_PATH || ''); | ||
// @ts-ignore | ||
mod._initPaths(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,7 @@ | |
] | ||
}, | ||
"include": [ | ||
"src/**/*.ts", | ||
"@types/**/*.d.ts" | ||
"src/**/*.ts" | ||
], | ||
"exclude": [ | ||
"dist" | ||
|