Skip to content

Commit

Permalink
Release version 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
C4ptainCrunch committed Jul 23, 2019
1 parent 33a0fdd commit 74d7b24
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 20 deletions.
42 changes: 32 additions & 10 deletions CHANGELOG.rst
Expand Up @@ -3,23 +3,45 @@ Ics.py changelog
============

**************
0.5 (in dev)
0.5
**************

- Drop support for Python 2.7 and 3.3.
- Add support upto Python 3.8
- Improve TRIGGER DURATION parsing logic
- Fixed NONE type support for Alarms
This is the first version to be Python 3 only.

This release happens a bit more than a year after the previous one and was made to
distribute latest changes to everyone and remove the confusion between master and PyPi.

Please note that it may contain (lot of) bugs and not be fully polished.
This is still alpha quality software!

Highlights and breaking changes:
- Drop support for Python 2, support Python from 3.5 to 3.8
- Upgrade arrow to 0.11 and fix internal call to arrow to specify the string
format (thanks @muffl0n, @e-c-d and @chauffer)

Additions:
- LAST-MODIFIED attribute support (thanks @Timic3)
- Support for Organizers to Events (thanks @danieltellez and kayluhb)
- Support for Attendees to Events (thanks @danieltellez and kayluhb)
- Support for Event and Todo status (thanks @johnnoone)

Bugfixes:
- Fix all-day events lasting multiple days by using a DTEND with a date and not a datetime (thanks @raspbeguy)
- Fix off by one error on the DTEND on all day events (issues #92 and #150)
- Adds support for Organizers to Events
- Adds support for Attendees to Events
- Added LAST-MODIFIED attribute support
- Event equality now checks all fields (except uid)
- alarms in Event and Todo are now consistently lists and not a mix between set() and list()
- Fix SEQUENCE in VTIMEZONE error
- Fixed NONE type support for Alarms (thanks @zagnut007)

Known issues:
- There are known problems with all-day events. This GitHub issue summarizes them
well: https://github.com/C4ptainCrunch/ics.py/issues/155. You can expect them to
be fixed in 0.6 but not before.

Misc:
- Improve TRIGGER DURATION parsing logic (thanks @jessejoe)
- Event equality now checks all fields (except uid)
- Alarms in Event and Todo are now consistently lists and not a mix between set() and list()

Thanks also to @t00n, @aureooms, @chauffer, @seants, @davidjb, @xaratustrah, @Philiptpp

**************
0.4
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -24,7 +24,7 @@ It should be able to parse every calendar that respects the `rfc5545 <http://too
iCalendar (file extension `.ics`) is used by Sunbird, Google Calendar, Apple Calendar, Android…


Ics.py is available for Python>=3.4 and is Apache2 Licensed.
Ics.py is available for Python>=3.5 and is Apache2 Licensed.



Expand Down
4 changes: 3 additions & 1 deletion dev/release-workflow.rst
Expand Up @@ -5,8 +5,9 @@ Release HOWTO
* Bump version
* pyroma .
* check-manifest
* `rm dist/*`
* `python3 setup.py egg_info bdist_egg bdist_wheel`
* Test the package
* Test the packages in dist/
* Upload `twine upload dist/*`
* Check PyPI release page for obvious errors
* `git commit`
Expand All @@ -16,3 +17,4 @@ Release HOWTO
* `git push --tags && git push`
* Build documentation for the tag v{version} on rtfd.org
* Set the default rtfd version to {version}
* Bump again the version to <version+1>-indev
4 changes: 2 additions & 2 deletions ics/__meta__.py
@@ -1,5 +1,5 @@
__title__ = 'ics'
__version__ = '0.5.dev0'
__version__ = '0.5'
__author__ = 'Nikita Marchant'
__license__ = 'Apache License, Version 2.0'
__copyright__ = 'Copyright 2013-2018 Nikita Marchant and individual contributors'
__copyright__ = 'Copyright 2013-2019 Nikita Marchant and individual contributors'
9 changes: 3 additions & 6 deletions setup.py
Expand Up @@ -34,12 +34,9 @@ def run_tests(self):


def readme():
if sys.version_info.major > 2:
with open('README.rst', encoding='utf-8') as f:
return f.read()
else:
with open('README.rst') as f:
return f.read()
with open('README.rst', encoding='utf-8') as f:
return f.read()


setup(
name=__title__,
Expand Down

0 comments on commit 74d7b24

Please sign in to comment.