8000 Update release notes to mention Repository#contents split · smakinson/github3.py@cca064c · GitHub
[go: up one dir, main page]

Skip to content

Commit cca064c

Browse files
committed
Update release notes to mention Repository#contents split
1 parent 3c730da commit cca064c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

LATEST_VERSION_NOTES.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@ Old name New name
191191
- ``Repository#ignore`` ignores notifications from the repository for the
192192
authenticated user
193193

194+
- ``Repository#contents`` was split into two simpler functions
195+
196+
- ``Repository#file_contents`` returns the contents of a file object
197+
198+
- ``Repository#directory_contents`` returns the contents of files in a
199+
directory.
200+
194201
- ``Organization#add_repo`` and ``Team#add_repo`` have been renamed to
195202
``Organization#add_repository`` and ``Team#add_repository`` respectively.
196203

0 commit comments

Comments
 (0)
0