Skip to content

Commit 22ee8a9

Browse files
authored
Merge pull request #28 from ClementJ18/develop
v0.8.1 release
2 parents 72424a7 + c601e48 commit 22ee8a9

File tree

14 files changed

+454
-46
lines changed

14 files changed

+454
-46
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ moddb.log
55
tests/test_config.py
66
tests/fixtures/
77
report.html
8+
moddb.egg-info/

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Clement
3+
Copyright (c) 2022 Clement
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

docs/source/changelog.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,33 @@ The page attempt to keep a clear list of breaking/non-breaking changes and new f
88
:local:
99
:backlinks: none
1010

11+
v0.8.1
12+
-------
13+
Bug Fixes
14+
##########
15+
* Relaxed regex on `File.get_mirrors` to avoid failing in certain edge cases
16+
17+
New Features
18+
#############
19+
* Increased ratelimit to 1/2.5sec, 60/5min
20+
* New objects :class:`Thread`, :class:`Message` and :class:`ThreadThumbnail`
21+
22+
New :class:`.Client` methods
23+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24+
For sending and manipulating messages:
25+
* :func:`Client.get_threads`
26+
* :func:`Client.parse_thread`
27+
* :func:`Client.send_message`
28+
* :func:`Client.reply_to_thread`
29+
* :func:`Client.add_member_to_thread`
30+
* :func:`Client.leave_thread`
31+
* :func:`Client.mark_all_read`
32+
* :func:`Client.clear_watched`
33+
34+
Removed Features
35+
#################
36+
37+
1138
v0.8.0
1239
-------
1340
Bug Fixes

docs/source/client.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,28 @@ Client
1212
:members:
1313
:inherited-members:
1414

15+
16+
ThreadThumbnail
17+
----------------
18+
.. autoclass:: moddb.client.ThreadThumbnail
19+
:members:
20+
:inherited-members:
21+
22+
23+
Thread
24+
----------------
25+
.. autoclass:: moddb.client.Thread
26+
:members:
27+
:inherited-members:
28+
29+
30+
Message
31+
----------------
32+
.. autoclass:: moddb.client.Message
33+
:members:
34+
:inherited-members:
35+
36+
1537
Update
1638
-----------
1739
.. autoclass:: moddb.client.Update

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# The short X.Y version
2828
version = ""
2929
# The full version, including alpha/beta/rc tags
30-
release = "0.8.0"
30+
release = "0.8.1"
3131

3232

3333
# -- General configuration ---------------------------------------------------

moddb/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
from .utils import LOGGER, BASE_URL, soup, request, get_page, Object
33
from .enums import *
44
from .pages import *
5-
from .client import Client
5+
from .client import Client, Thread
66

77
import requests
88

99
SESSION = requests.Session()
1010

11-
__version__ = "0.8.0"
11+
__version__ = "0.8.1"

moddb/boxes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,11 +1204,11 @@ class Mirror:
12041204
The index of the mirror, as multiple mirrors
12051205
have the same name. Index starts at 1
12061206
city : str
1207-
Alpha 2 code for the city the server is located
1208-
in
1207+
Alpha 2 code, or full name, of the city the server is located
1208+
in. Sometimes represents a country.
12091209
country : str
12101210
Alpha 2 code for the country the server is
1211-
located in
1211+
located in. Sometimes represents a continent.
12121212
served : int
12131213
How many downloads of this file this mirror has
12141214
served

0 commit comments

Comments
 (0)