3.0.0 - 2023-11-xx
- bump dependencies
- require Node.js v20, drop support for Node.js any earlier version
- migrate the package to ESM
- use named exports: use
import { Queue } from '@supercharge/queue-datastructure
// before import Queue from '@supercharge/queue-datastructure' const Queue = require('@supercharge/queue-datastructure') // now import { Queue } from '@supercharge/queue-datastructure'
2.1.0 - 2020-08-20
- move tests to TypeScript
- test directly the TypeScript code via
ts-jest
- point
main
inpackage.json
to export the transpiled code - point
types
inpackage.json
to export the types from the transpiled code
- deleted
index.js
file which acted as a middleman to export the transpiled code
2.0.0 - 2020-08-16
- make the queue generic
- making the queue generic enables IntelliSense support for items
- implement the
Iterable
interface via[Symbol.iterator]
to allow iterators andfor..of
loops
- test with jest
- use
@supercharge/tsconfig
as the base TypeScript config
This version transitions the queue instance to a generic queue. This enforces queue items to be of the same type when using TypeScript. You probably used the queue already for items of the same type. If not, 2.0
may be a breaking change for you.
1.3.1 - 2020-04-20
- use ES2017 as output target (Node.js v8)
- secret token to publish the package in the GitHub Package Registry
1.3.0 - 2020-04-14
- link
types
inpackage.json
- the
.clear
method returns the queue instance allowing fluent method calls
- bump dependencies
- use TypeScript in tests
- run tests with
lab-transform-typescript
- update GitHub token in publish workflow
1.2.0 - 2020-04-13
- the
.enqueue
method returns the queue instance allowing fluent method calls - the
.clear
method returns the queue instance allowing fluent method calls
- migrated code base to TypeScript
- this automatically creates typings while transpiling the code
- moved to GitHub Actions for testing and removed
.travis.yml
1.1.1 - 2019-09-24
- bump dependencies
- fix typo in Readme
- refine tests
1.1.0 - 2019-07-17
.items()
method returning the queue’s items as an array
- remove
lodash
as a dependency
1.0.1 - 2019-07-12
- bump dependencies
- fix code formatting for Standard.js v13
- update image URLs for Travis and NPM badges
1.0.0
release 🚀 🎉