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

Ensure compatibility with latest versions of Express #96

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
45 changes: 32 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
Expand All @@ -15,122 +16,144 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Dev
-->

## [UNRELEASED]

### Fixed

- Add compatibility with express 4.20 and above.

## v7.1.0 - 2024-04-07

### Added

- Add logic for apps and routers with no routes to return an empty array.

### Dev

- Add TypeScript configuration and transpilation scripts.
- Add types.

## v7.0.0 - 2024-04-06

### Added

- Add support for NodeJS v18 and v20.
- Add support for route param regexps.

### Deprecated
- **BREAKING CHANGE** Drop support for NodeJS v12, v14 and v16.

- **BREAKING CHANGE** Drop support for NodeJS v12, v14 and v16.

## v6.0.0 - 2021-07-29

### Deprecated

- **BREAKING CHANGE** Drop support for NodeJS v10

### Fixed

- Fixed a problem when parsing the property `middlewares` for each endpoint being allocated in `middleware` property instead

### Dev

- Added CI using [GitHub Actions](https://docs.github.com/en/actions)
- Update dev dependencies
- Removed TravisCI from the project
- Refactor code to use new JS methods and improve readability


## v5.0.0 - 2020-07-12

### Added

- `mounted_app` is being parsed
- Request handlers mounted on multiple routes by passing an array are being parsed
- If a route path contains an unparseable regexp it is used to compose the path

### Changed

- Added `middlewares` property in reports representing mounted middlewares by their name

### Fixed

- Avoid method duplicity in the same path

### Deprecated

- **BREAKING** Drop support for NodeJS v6 and v8
- Drop support for `yarn.lock` file

### Dev

- Update dev dependencies
- Improve tests structure


## v4.0.1 - 2019-05-06

### Fixed
- Add logic to avoid duplicate paths #40

- Add logic to avoid duplicate paths #40

## v4.0.0 - 2018-10-14

### Changed

- Replace build script that versions the changelog for [`changelog-version`](https://www.npmjs.com/package/changelog-version) package #36
- Update devDependencies
- Improve code readability

### BREAKING CHANGES
- Drop support for NodeJS v4

- Drop support for NodeJS v4

## v3.0.1 - 2017-10-25

### 🐛 Fixed

- Fix params on Base route with multi-level routing

### Changed
- Update devDependencies

- Update devDependencies

## v3.0.0 - 2016-12-18

### BREAKING CHANGES

- Removed support for Node v0.12

### 🐛 Fixed

- Now the params set in middle of a pattern get parsed #17

### Dev

- Move main file to `src` folder
- Add lint script
- Ignore editorconfig file for npm relases
- Changed codestyle to [standard](http://standardjs.com/) #18
- Implemented [Yarn](https://yarnpkg.com) on the project #19

### Changed
- Add more test cases.

- Add more test cases.

## v2.0.3 - 2016-11-05

### 🐛 Fixed
- Super multi-level baseRoutes handled #10

- Super multi-level baseRoutes handled #10

## v2.0.1 - 2016-11-05

### Changed

- Update dependencies
- Fix typos in README file #6
- Improve README file #7

### Fixed 🐛
- Multi-level basePaths are now parsed correctly #10

- Multi-level basePaths are now parsed correctly #10

## 2.0.0 - 2016-04-24

Expand All @@ -144,24 +167,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Now express is a development dependency
- Improved tests


## 1.1.0 - 2016-04-20

- Improved regexp to parse express router. #1
- Added [editorconfig](http://editorconfig.org) file.


## 1.0.1 - 2016-01-18

- Update package version


## 1.0.0 - 2016-01-18

- Add changelog file
- Improve README file


## 0.0.0 - 2016-01-18

- Change npm test script to run mocha
Expand Down
Loading
Loading