Skip to content

Commit

Permalink
Merge pull request #905 from JamesWrigley/v0.18.19
Browse files Browse the repository at this point in the history
Backport invalidation fixes to 0.18.19
  • Loading branch information
oxinabox authored Apr 12, 2024
2 parents 5156e74 + 91a76c9 commit 88efafb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "DataStructures"
uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
version = "0.18.18"
version = "0.18.19"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Expand Down
2 changes: 0 additions & 2 deletions src/accumulator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ Base.setindex!(ct::Accumulator, x, v) = setindex!(ct.map, x, v)

Base.haskey(ct::Accumulator, x) = haskey(ct.map, x)

Base.keys(ct::Accumulator) = keys(ct.map)

Base.values(ct::Accumulator) = values(ct.map)

Base.sum(ct::Accumulator) = sum(values(ct.map))
Expand Down
4 changes: 0 additions & 4 deletions src/circular_buffer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,13 @@ Return the number of elements currently in the buffer.
"""
Base.length(cb::CircularBuffer) = cb.length

Base.eltype(::Type{CircularBuffer{T}}) where T = T

"""
size(cb::CircularBuffer)
Return a tuple with the size of the buffer.
"""
Base.size(cb::CircularBuffer) = (length(cb),)

Base.convert(::Type{Array}, cb::CircularBuffer{T}) where {T} = T[x for x in cb]

"""
isempty(cb::CircularBuffer)
Expand Down

2 comments on commit 88efafb

@oxinabox
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/104780

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.18.19 -m "<description of version>" 88efafb1a54debbee12fb89121679f5e1efae9a4
git push origin v0.18.19

Please sign in to comment.