Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.0 #33

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- master
- develop
tags:
- '*'
pull_request:
Expand All @@ -17,14 +16,11 @@ jobs:
strategy:
matrix:
python: ['3.10', '3.11', '3.12']
django: ['3.2', '4.2']
exclude:
- python: ['3.11', '3.12']
django: '3.2'
django: ['4.2']

services:
postgres:
image: postgres:12
image: postgres:15
env:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- master
- develop
tags:
- '*'
paths:
Expand Down
11 changes: 11 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
Changelog
=========

5.0.0 (2024-10-30)
==================

Feature release

* Dropped support for Django 3.2
* The package is now distributed with the ``py.typed`` marker
* Added manager method ``TimelineLog.objects.for_object``, making it easier to get all
log records related to a particular object.
* Added python utility and management command to prune log records.

4.0.0 (2024-02-22)
==================

Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "django-timeline-logger"
version = "4.0.0"
version = "5.0.0"
description = "Generic event logger for Django models."
authors = [
{name = "Maykin Media", email = "support@maykinmedia.nl"}
Expand All @@ -15,7 +15,6 @@ keywords = ["django", "generic logging"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"Operating System :: Unix",
Expand Down Expand Up @@ -84,11 +83,9 @@ testpaths = ["tests"]
DJANGO_SETTINGS_MODULE = "tests.settings_pg"

[tool.bumpversion]
current_version = "4.0.0"
current_version = "5.0.0"
files = [
{filename = "pyproject.toml"},
{filename = "README.rst"},
{filename = "docs/changelog.rst"},
]

[tool.coverage.run]
Expand Down
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tox]
envlist =
py{310}-django32
py{310,311,312}-django{42}
isort
black
Expand All @@ -10,7 +9,6 @@ skip_missing_interpreters = true

[gh-actions:env]
DJANGO =
3.2: django32
4.2: django42

[testenv]
Expand All @@ -26,7 +24,6 @@ extras =
tests
coverage
deps =
django32: Django~=3.2.0
django42: Django~=4.2.0
commands =
py.test tests \
Expand Down
Loading