Skip to content

Commit

Permalink
bump CHANGELOG to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peterleiva committed Sep 30, 2021
1 parent 7a64cb1 commit f4adc9f
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Add [**LinkedList**](src/list/list.ts) data structure with no limit of size. It has also some exceptions that can be throwed
- Add methods to [**LinkedList**](src/list/list.ts): `pop`, `push`, `size`, `isEmpty`, `length`, `size`, `indexOf`, `toArray`, `dequeue`, `clear`, `peek`, `tail` and `contains`.
- Besides the methods above. Add `values`, `entries` (as the default) and `values` iterators to **LinkedList** the same as the [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/array) has

## [0.4.0] - 2021-09-30

### Added

- Add [**Stack**](src/stack.ts) data structure get LIFO access:

- `push` - Insert item at the beginning of the stack
- `pop` - Remove the last item inserted
- `top` - Returns the top of the stack
- `size` - Returns the size of the stack
- `empty` - Return true of false depending whether or not the stack contains any items
- `length` - Alias for `size`

- Add [**Queue**](src/queue.ts) data structure to get FIFO access

- `insert` - Insert several items in the queue, which can grow indefinitely
Expand All @@ -17,9 +34,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `size` - returns the length of the queue
- `clear` - remove all elements

- Add [**LinkedList**](src/list/list.ts) data structure with no limit of size. It has also some exceptions that can be throwed
- Add methods to [**LinkedList**](src/list/list.ts): `pop`, `push`, `size`, `isEmpty`, `length`, `size`, `indexOf`, `toArray`, `dequeue`, `clear`, `peek`, `tail` and `contains`.
- Besides the methods above. Add `values`, `entries` (as the default) and `values` iterators to **LinkedList** the same as the [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/array) has

[unreleased]: https://github.com/pherval/elementary-js-structures/compare/v0.1.0...HEAD
[unreleased]: https://github.com/pherval/elementary-js-structures/compare/v0.4.0...HEAD
[0.4.0]: https://github.com/pherval/elementary-js-structures/compare/v0.1.0...v0.4.0
[0.1.0]: https://github.com/pherval/elementary-js-structures/releases/tag/v0.1.0

0 comments on commit f4adc9f

Please sign in to comment.