Version string convention: x.y.z
x
: Major version with architectural upgrades.y
: Minor version with functional extension.z
: Micro version with small fix.
- Douban is added.
- Instagram is added.
- Renren API V2 migrated.
- like/unlike method for all platforms
- Add Twitter Search channel.
Architecture upgrade:
- Attachment support, e.g. pic, link, etc. The update() of Renren and SinaWeibo support image upload.
- Asynchronous I/O. See the snscli-async for how to use it.
New platforms:
- RenrenFeed. A merge of several RenrenXXX platforms.
0.6.4, 0.6.5:
- Auto convert a
.rst
doc for PyPI use.
0.6.3:
- Use readthedocs and travis CI.
- Fix UT of message digest (for travis CI)
0.6.2:
- Solve static data support problem of setuptools
0.6.1:
- Improve packaging
Majors:
- SinaWap platform is on
- Facebook platform is on
- New data field:
Message.parsed.attachment
. Can be used to convey pictures, videos, and links. Format can be both link, text, or binary. - RSS Message is now fully JSON serializable.
(the
.raw
is serialized to a str first) - snsgui now have RSSSummary and RenrenBlog platform
- Support static data dir.
- Detect and change storage dir intelligently.
Minors:
RSS2RW.update
now supports aMessage
.- Default log config is changed.
Developers please refer to
snsapi/custom_conf.py.example
. - More UTs.
Main changes that may influence current running instances:
- Change default saved token path to
.save
- Change old
(null)
notation. All are unified toNone
internal SNSApi. Usenull
in JSON. - Change default
RSS
message str style.
Main functional upgrades:
- Google Reader takeout format to SNSApi channel conf converter
- New platform:
RSSSummary
. This can be used to format the RSS feeds with full-texts. - Upgrade Twitter Api from 1.0 to 1.1.
RenrenStatus
specific forwarding is enabled.forwarder
app is not more generic and flexible.
Important fixes:
- Fix bad TZ object problem on some platforms.
Miscellaneous:
- Upgrade main readme.
- A lot more wiki pages.
- SNSCLI code clean.
- Auto-doc upgrades.
- Unify the Sina API request to
weibo_request()
method. - SinaWeibo support specialized forwarding.
- Code clean for
snsgui.py
.
- URL expanding service (recursive) in SNSBase.
- URL shortening service for SinaWeibo.
- docstring upgrade for some platforms.
- A word translation demo.
- snsgui, GUI of SNSAPI built on Tkinter.
- Two new methods for auto authorization prototyped for SinaWeiboStatus:
- Use remote Autoproxy (see https://github.com/xuanqinanhai/weibo-simulator );
- Use local username/password.
- Upgrades for Sphinx autodoc:
- improve decorator
require_authed
to retain docstring; - make apps autodoc-able;
- docstring upgrade to conform to Sphinx style;
- More UTs for snsbase methods:
_parse_code
; expiration check.
- Fix
load_config
inapp/hellosns/
- Email platform: check expire; support decode email header; support parse 'reply-to' header field;
- Fix import path error of unit test.
- More sample unit test of email channel.
- Fix unicode error of
app/clock/
- Fix Sphinx document.
- All defaut auth helper is changed to http://snsapi.sinaapp.com/auth.php
- Support Module test of
renren.py
andsina.py
.
- New auth flow functions:
is_authed
,need_auth
,is_expired
. - Use
requirement.txt
to maintain dependency. - Add a "clock" demo app.
- Rewrite "forwarder" using new architecture.
- Support limiting home_timeline's count by config. (handy to operate multiple channels).
- JsonDict function support stronger
get
: enumerate a list of properties. (handy to parse different version of data source) - Fix an RSS date parsing error.
- Change to nosetests.
- Restructure nested Message class, allowing them to be pickled.
- Fault tolerant auth flow.
- Fault tolerant HTTP request/response.
- A
report_time
decorator is added toutils
. You can use it to get execution time of functions. - A
require_authed
decorator is added tosnsbase
. Plugin developers should put it before the methods, whose invokation require a authed state. - Fix Tencent Weibo html entity problem. The texts in Message object is unified to have html entities unescaped.
- New platform reference mechanism. Support trial platforms.
- One module file -> multiple platforms. This allows better code reuse.
- Message class is re-designed.
- Three levels of Message dump methods for different application.
- Add SQLite platform.
- Add Email platform.
- Add Twitter platform.
- Initial framework.
- Setup website.