Skip to content
Prev Previous commit
Next Next commit
add changeset
  • Loading branch information
Amxx committed Jan 18, 2024
commit 9162e4289faf27696fc00c0fca3b3aca25f579d0
5 changes: 5 additions & 0 deletions .changeset/flat-turtles-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`Arrays`: deprecate `findUpperBound` in favor of the new `lowerBound`.
5 changes: 5 additions & 0 deletions .changeset/thick-pumpkins-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`Arrays`: add new functions `lowerBound`, `upperBound`, lowerBoundMemory`and`upperBoundMemory` for lookups in sorted arrays with potential duplicates.