From 9380b1d8c961e9fde41f49a6335869ca7826cd09 Mon Sep 17 00:00:00 2001 From: medmunds Date: Sat, 12 Jan 2013 14:20:40 -0800 Subject: [PATCH] Prep for 0.3.0 release - Update version numbers - Release notes - Update authors --- AUTHORS.txt | 1 + README.rst | 15 ++++++++++++++- djrill/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index adf7072..f3734b6 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -8,3 +8,4 @@ ArnaudF Théo Crevon Rafael E. Belliard Jared Morse +peillis diff --git a/README.rst b/README.rst index 068e7fa..c60108f 100644 --- a/README.rst +++ b/README.rst @@ -170,7 +170,7 @@ struct can be set directly on an ``EmailMessage`` (or subclass) object: default in your Mandrill account sending options.) * ``auto_text`` - Boolean * ``url_strip_qs`` - Boolean -* ``preserve_recipients`` - Boolean -- see the caution about bcc addresses above +* ``preserve_recipients`` - Boolean * ``global_merge_vars`` - a dict -- e.g., ``{ 'company': "ACME", 'offer': "10% off" }`` * ``recipient_merge_vars`` - a dict whose keys are the recipient email addresses @@ -283,6 +283,19 @@ rest of this project.) Release Notes ------------- +Version 0.3.0: + +* Attachments are now supported +* Mandrill templates are now supported +* A bcc address is now passed to Mandrill as bcc, rather than being lumped in + with the "to" recipients. Multiple bcc recipients will now raise an exception, + as Mandrill only allows one. +* Python 3 support (with Django 1.5) +* Exceptions should be more useful: ``djrill.NotSupportedByMandrillError`` + replaces generic ValueError; ``djrill.MandrillAPIError`` replaces + DjrillBackendHTTPError, and is now derived from requests.HTTPError. (New + exceptions are backwards compatible with old ones for existing code.) + Version 0.2.0: * ``MANDRILL_API_URL`` is no longer required in settings.py diff --git a/djrill/__init__.py b/djrill/__init__.py index c842d77..e19f8f7 100644 --- a/djrill/__init__.py +++ b/djrill/__init__.py @@ -4,7 +4,7 @@ from django.utils.text import capfirst from djrill.exceptions import MandrillAPIError, NotSupportedByMandrillError -VERSION = (0, 2, 0) +VERSION = (0, 3, 0) __version__ = '.'.join([str(x) for x in VERSION]) # This backend was developed against this API endpoint. diff --git a/setup.py b/setup.py index d17f699..9a3fb5a 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open('README.rst') as file: setup( name="djrill", - version="0.2.0", + version="0.3.0", description='Django email backend for Mandrill.', keywords="django, mailchimp, mandrill, email, email backend", author="Kenneth Love , Chris Jones ",