Skip to content

Commit b51a75a

Browse files
Bump version, add changelog.
This release fixes #7 - support non-integer PKs.
1 parent 064a8cd commit b51a75a

File tree

5 files changed

+47
-10
lines changed

5 files changed

+47
-10
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Prerequisites
1919

2020
This project uses `django.contrib.postgres.JSONField`, and as such, you need:
2121

22-
* at least Django 1.10
22+
* at least Django 1.11
2323
* at least PostgreSQL 9.4
2424
* at least psycopg2 2.5.4
2525

@@ -31,7 +31,7 @@ Install from PyPI by running
3131

3232
pip install django-timeline-logger
3333

34-
Add `'timeline_logger'` to your `INSTALLED_APPS`.
34+
Add ``'timeline_logger'`` to your ``INSTALLED_APPS``.
3535

3636
Run the migrations:
3737

@@ -65,4 +65,4 @@ Documentation
6565

6666
The extended documentation is available on `Read the Docs`_.
6767

68-
.. _`Read the Docs`: http://django-timeline-logger.readthedocs.io/en/latest/
68+
.. _Read the Docs: http://django-timeline-logger.readthedocs.io/en/latest/

docs/changelog.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
=========
2+
Changelog
3+
=========
4+
5+
1.0 (2018-03-15)
6+
================
7+
8+
Breaking changes
9+
----------------
10+
11+
* Changed the GFK object_id field to a text field, so that non-integer primary
12+
keys are supported. This may come at a (small) performance hit. Depending
13+
on the data you're storing, the backwards migration may break.
14+
15+
* Dropped Django 1.10 support, per Django's version support policy. If you're
16+
still on Django 1.10, you should upgrade, but other than that the app
17+
probably still works.
18+
19+
New features
20+
------------
21+
22+
* You can now create log entries without referring to a specific object
23+
(thanks @tsiaGeorge).
24+
25+
* Support non-integer PKs for objects (see #7, thanks for the feedback @holms)
26+
27+
Other
28+
-----
29+
30+
* first pass at better supporting internationalization
31+
32+
* cleaned up package a bit, added isort etc.
33+
34+
Pre 1.0
35+
=======
36+
37+
Best guess is looking at the git log, sorry.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
# built documents.
5959
#
6060
# The short X.Y version.
61-
version = '0.8'
61+
version = '1.0'
6262
# The full version, including alpha/beta/rc tags.
63-
release = '0.8.0'
63+
release = '1.0.0'
6464

6565
# The language for content autogenerated by Sphinx. Refer to documentation
6666
# for a list of supported languages.

docs/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Requirements
3636
Django Timeline Logger makes use of Django's ``contrib.postgres.JSONField``,
3737
then your backend will need:
3838

39-
- At least Django-1.10_.
39+
- At least Django-1.11_.
4040
- At least PostgreSQL-9.4_.
4141
- At least psycopg2-2.5.4_.
4242

@@ -52,6 +52,7 @@ Contents
5252
sending_log_reports
5353
settings
5454
contributing
55+
changelog
5556

5657

5758
License
@@ -77,7 +78,7 @@ Indices and tables
7778
* :ref:`search`
7879

7980

80-
.. _Django-1.10: https://docs.djangoproject.com/en/1.10/releases/1.10/
81+
.. _Django-1.11: https://docs.djangoproject.com/en/1.11/releases/1.11/
8182
.. _PostgreSQL-9.4: https://www.postgresql.org/docs/9.4/static/release-9-4.html
8283
.. _psycopg2-2.5.4: https://pypi.python.org/pypi/psycopg2/2.5.4
8384
.. _MIT License: https://opensource.org/licenses/MIT

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
setup(
1616
name='django-timeline-logger',
17-
version='0.8.0',
17+
version='1.0',
1818
description='Generic event logger for Django models.',
1919
long_description=long_description,
2020
author='Maykin Media',
2121
author_email='[email protected]',
2222
url='https://github.com/maykinmedia/django-timeline-logger',
2323
install_requires=[
24-
'Django>=1.10',
24+
'Django>=1.11',
2525
'django-appconf',
2626
],
2727
packages=find_packages(exclude=['tests*']),
@@ -41,7 +41,6 @@
4141
],
4242
classifiers=[
4343
'Development Status :: 5 - Production/Stable',
44-
'Framework :: Django :: 1.10',
4544
'Framework :: Django :: 1.11',
4645
'Framework :: Django :: 2.0',
4746
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)