Commit ea8ca00
authored
fix(deps): Update module github.com/samber/lo to v1.51.0 (#2265)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/samber/lo](https://redirect.github.com/samber/lo) | require | minor | `v1.49.1` -> `v1.51.0` |
---
### Release Notes
<details>
<summary>samber/lo (github.com/samber/lo)</summary>
### [`v1.51.0`](https://redirect.github.com/samber/lo/releases/tag/v1.51.0)
[Compare Source](https://redirect.github.com/samber/lo/compare/v1.50.0...v1.51.0)
#### What's Changed
- Fixed the error in the usage example of lo.Latest in readme.md by [@​ghosx](https://redirect.github.com/ghosx) in [https://github.com/samber/lo/pull/627](https://redirect.github.com/samber/lo/pull/627)
- feat(assertions): add `Assert` and `Assertf` by [@​your-diary](https://redirect.github.com/your-diary) in [https://github.com/samber/lo/pull/638](https://redirect.github.com/samber/lo/pull/638)
#### Doc
- docs: Add a more precise description to the Ellipsis function by [@​mengxunQAQ](https://redirect.github.com/mengxunQAQ) in [https://github.com/samber/lo/pull/635](https://redirect.github.com/samber/lo/pull/635)
- docs: Fix description for LastOrEmpty and LastOr by [@​vaihtovirta](https://redirect.github.com/vaihtovirta) in [https://github.com/samber/lo/pull/636](https://redirect.github.com/samber/lo/pull/636)
- docs: fix wrong variable name for mutable map example by [@​sunjayaali](https://redirect.github.com/sunjayaali) in [https://github.com/samber/lo/pull/637](https://redirect.github.com/samber/lo/pull/637)
#### Dependencies
- fix(ci): correct cleanup deps - remove all \*\_test.go files using find by [@​d-enk](https://redirect.github.com/d-enk) in [https://github.com/samber/lo/pull/630](https://redirect.github.com/samber/lo/pull/630)
- Revert "chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0" by [@​samber](https://redirect.github.com/samber) in [https://github.com/samber/lo/pull/626](https://redirect.github.com/samber/lo/pull/626)
- chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/625](https://redirect.github.com/samber/lo/pull/625)
- chore(deps): bump golangci/golangci-lint-action from 7 to 8 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/628](https://redirect.github.com/samber/lo/pull/628)
#### New Contributors
- [@​ghosx](https://redirect.github.com/ghosx) made their first contribution in [https://github.com/samber/lo/pull/627](https://redirect.github.com/samber/lo/pull/627)
- [@​mengxunQAQ](https://redirect.github.com/mengxunQAQ) made their first contribution in [https://github.com/samber/lo/pull/635](https://redirect.github.com/samber/lo/pull/635)
- [@​vaihtovirta](https://redirect.github.com/vaihtovirta) made their first contribution in [https://github.com/samber/lo/pull/636](https://redirect.github.com/samber/lo/pull/636)
- [@​your-diary](https://redirect.github.com/your-diary) made their first contribution in [https://github.com/samber/lo/pull/638](https://redirect.github.com/samber/lo/pull/638)
**Full Changelog**: samber/lo@v1.50.0...v1.51.0
### [`v1.50.0`](https://redirect.github.com/samber/lo/releases/tag/v1.50.0)
[Compare Source](https://redirect.github.com/samber/lo/compare/v1.49.1...v1.50.0)
#### What's Changed
Here is the 50th minor version !! 🔥🥂
##### New methods
- Implemented GroupByMap by [@​maryum375](https://redirect.github.com/maryum375) in [https://github.com/samber/lo/pull/443](https://redirect.github.com/samber/lo/pull/443)
- feat: Add NthOr and NthOrEmpty functions by [@​edvardsanta](https://redirect.github.com/edvardsanta) in [https://github.com/samber/lo/pull/611](https://redirect.github.com/samber/lo/pull/611)
- feat: adding FilterMapToSlice by [@​samber](https://redirect.github.com/samber) in [https://github.com/samber/lo/pull/623](https://redirect.github.com/samber/lo/pull/623)
- feat(mutable): adding Map, MapI, Filter, FilterI by [@​samber](https://redirect.github.com/samber) in [https://github.com/samber/lo/pull/577](https://redirect.github.com/samber/lo/pull/577)
- Add ElementsMatch, ElementsMatchBy by [@​senago](https://redirect.github.com/senago) in [https://github.com/samber/lo/pull/589](https://redirect.github.com/samber/lo/pull/589)
##### Improvements
- Perf(slice): Optimize iteration function parameters and add test cases by [@​shuqingzai](https://redirect.github.com/shuqingzai) in [https://github.com/samber/lo/pull/587](https://redirect.github.com/samber/lo/pull/587)
- Preallocate result in FilterMap by [@​renbou](https://redirect.github.com/renbou) in [https://github.com/samber/lo/pull/622](https://redirect.github.com/samber/lo/pull/622)
##### Documentation
- docs: modify mutable.shuffle example code and Go Playground links by [@​ebina4yaka](https://redirect.github.com/ebina4yaka) in [https://github.com/samber/lo/pull/595](https://redirect.github.com/samber/lo/pull/595)
- fix: Issue 605 (README for Ternary() by [@​peterhoward42](https://redirect.github.com/peterhoward42) in [https://github.com/samber/lo/pull/606](https://redirect.github.com/samber/lo/pull/606)
- docs: add play link for ChunkEntries example in README by [@​oswaldom-code](https://redirect.github.com/oswaldom-code) in [https://github.com/samber/lo/pull/600](https://redirect.github.com/samber/lo/pull/600)
- doc: update CoalesceXXX demo and result by [@​jialeicui](https://redirect.github.com/jialeicui) in [https://github.com/samber/lo/pull/594](https://redirect.github.com/samber/lo/pull/594)
- docs: fix typo in readme by [@​ahmedabdou14](https://redirect.github.com/ahmedabdou14) in [https://github.com/samber/lo/pull/620](https://redirect.github.com/samber/lo/pull/620)
##### Dependencies
- chore(deps): bump golang.org/x/text from 0.21.0 to 0.22.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/590](https://redirect.github.com/samber/lo/pull/590)
- chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/618](https://redirect.github.com/samber/lo/pull/618)
- chore(deps): bump golangci/golangci-lint-action from 6 to 7 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/616](https://redirect.github.com/samber/lo/pull/616)
#### New Contributors
- [@​maryum375](https://redirect.github.com/maryum375) made their first contribution in [https://github.com/samber/lo/pull/443](https://redirect.github.com/samber/lo/pull/443)
- [@​shuqingzai](https://redirect.github.com/shuqingzai) made their first contribution in [https://github.com/samber/lo/pull/587](https://redirect.github.com/samber/lo/pull/587)
- [@​ebina4yaka](https://redirect.github.com/ebina4yaka) made their first contribution in [https://github.com/samber/lo/pull/595](https://redirect.github.com/samber/lo/pull/595)
- [@​jialeicui](https://redirect.github.com/jialeicui) made their first contribution in [https://github.com/samber/lo/pull/594](https://redirect.github.com/samber/lo/pull/594)
- [@​peterhoward42](https://redirect.github.com/peterhoward42) made their first contribution in [https://github.com/samber/lo/pull/606](https://redirect.github.com/samber/lo/pull/606)
- [@​edvardsanta](https://redirect.github.com/edvardsanta) made their first contribution in [https://github.com/samber/lo/pull/611](https://redirect.github.com/samber/lo/pull/611)
- [@​ahmedabdou14](https://redirect.github.com/ahmedabdou14) made their first contribution in [https://github.com/samber/lo/pull/620](https://redirect.github.com/samber/lo/pull/620)
- [@​renbou](https://redirect.github.com/renbou) made their first contribution in [https://github.com/samber/lo/pull/622](https://redirect.github.com/samber/lo/pull/622)
**Full Changelog**: samber/lo@v1.49.1...v1.50.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->1 parent 139b9ef commit ea8ca00
4 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
| 144 | + | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
| 147 | + | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments