Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Dec 4, 2024
1 parent 6bd9b83 commit 86810ad
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,31 @@

## Changes

### Updated `path-ro-regexp` librarz

The `path-to-regexp` has been updated to 8.x.x. It contains many breaking changes in the path resolving. Check the [documentation](https://github.com/pillarjs/path-to-regexp?tab=readme-ov-file#express--4x) of library to how migrate your alias paths.

**Optional parameter alias path**

```
// Old way
"GET user/:name?": "user.get"
// New way
"GET user{/:name}": "user.get"
```

**Repeating parameter alias path**

```
// Old way
"GET /users/*username": "user.resolveUsersByNames",
// New way
"GET /users/:username*": "user.resolveUsersByNames",
```


### Using 0.15 new streaming solution

The [email protected] supports Moleculer v0.15.x including the new streaming solution. It means, it doesn't support 0.13 and 0.14 moleculer versions.
Expand Down

0 comments on commit 86810ad

Please sign in to comment.