Skip to content

Commit 4a21fd1

Browse files
authored
Merge pull request #484
Release v0.11.0
2 parents 8874288 + cbff150 commit 4a21fd1

26 files changed

+416
-184
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424

2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v3.3.0
27+
uses: actions/checkout@v3.6.0
2828

2929
- name: Set up Python 3.10
30-
uses: actions/setup-python@v4.5.0
30+
uses: actions/setup-python@v4.7.0
3131
with:
3232
python-version: '3.10'
3333

@@ -64,10 +64,10 @@ jobs:
6464

6565
steps:
6666
- name: Checkout code
67-
uses: actions/checkout@v3.3.0
67+
uses: actions/checkout@v3.6.0
6868

6969
- name: Set up Python 3.10
70-
uses: actions/setup-python@v4.5.0
70+
uses: actions/setup-python@v4.7.0
7171
with:
7272
python-version: '3.10'
7373

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,19 @@ jobs:
5959
# versions by django-environ will continue for as long as possible,
6060
# and may be discontinued at any time.
6161
include:
62-
- python: '3.5'
63-
os: ubuntu-20.04
6462
- python: '3.6'
6563
os: ubuntu-20.04
6664
- python: '3.7'
6765
os: ubuntu-20.04
6866

6967
steps:
7068
- name: Checkout code
71-
uses: actions/checkout@v3.3.0
69+
uses: actions/checkout@v3.6.0
7270
with:
7371
fetch-depth: 5
7472

7573
- name: Set up Python ${{ matrix.python }}
76-
uses: actions/setup-python@v4.5.0
74+
uses: actions/setup-python@v4.7.0
7775
with:
7876
python-version: ${{ matrix.python }}
7977

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v3.3.0
48+
uses: actions/checkout@v3.6.0
4949

5050
# Initializes the CodeQL tools for scanning.
5151
- name: Initialize CodeQL

.github/workflows/cs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v3.3.0
28+
uses: actions/checkout@v3.6.0
2929

3030
- name: Set up Python 3.10
31-
uses: actions/setup-python@v4.5.0
31+
uses: actions/setup-python@v4.7.0
3232
with:
3333
python-version: '3.10'
3434

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v3.3.0
29+
uses: actions/checkout@v3.6.0
3030

3131
- name: Set up Python 3.10
32-
uses: actions/setup-python@v4.5.0
32+
uses: actions/setup-python@v4.7.0
3333
with:
3434
python-version: '3.10'
3535

BACKERS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Thank you to all our backers!
2121
|ocbackerimage|
2222

2323
.. |ocsponsor0| image:: https://opencollective.com/django-environ/sponsor/0/avatar.svg
24-
:target: https://triplebyte.com/
24+
:target: https://opencollective.com/triplebyte
2525
:alt: Sponsor
2626
.. |ocsponsor1| image:: https://images.opencollective.com/static/images/become_sponsor.svg
2727
:target: https://opencollective.com/django-environ/contribute/sponsors-3474/checkout

CHANGELOG.rst

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,41 @@ All notable changes to this project will be documented in this file.
55
The format is inspired by `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_
66
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
77

8-
`v0.10.0`_ - 2-March-2023
8+
`v0.11.0`_ - 30-August-2023
99
-------------------------------
1010
Added
1111
+++++
12+
- Added support for Django 4.2
13+
`#456 <https://github.com/joke2k/django-environ/pull/456>`_.
14+
- Added support for secure Elasticsearch connections
15+
`#463 <https://github.com/joke2k/django-environ/pull/463>`_.
16+
- Added variable expansion
17+
`#468 <https://github.com/joke2k/django-environ/pull/468>`_.
18+
- Added capability to handle comments after #, after quoted values,
19+
like ``KEY= 'part1 # part2' # comment``
20+
`#475 <https://github.com/joke2k/django-environ/pull/475>`_.
21+
- Added support for ``interpolate`` parameter
22+
`#415 <https://github.com/joke2k/django-environ/pull/415>`_.
23+
24+
Changed
25+
+++++++
26+
- Used ``mssql-django`` as engine for SQL Server
27+
`#446 <https://github.com/joke2k/django-environ/pull/446>`_.
28+
- Changed handling bool values, stripping whitespace around value
29+
`#475 <https://github.com/joke2k/django-environ/pull/475>`_.
30+
- Use ``importlib.util.find_spec`` to ``replace pkgutil.find_loader``
31+
`#482 <https://github.com/joke2k/django-environ/pull/482>`_.
32+
33+
34+
Removed
35+
+++++++
36+
- Removed support of Python 3.5.
37+
38+
39+
`v0.10.0`_ - 2-March-2023
40+
-------------------------
41+
Added
42+
+++++
1243
- Use the core redis library by default if running Django >= 4.0
1344
`#356 <https://github.com/joke2k/django-environ/issues/356>`_.
1445
- Value of dict can now contain an equal sign
@@ -29,7 +60,7 @@ Deprecated
2960
Changed
3061
+++++++
3162
- Used UTF-8 as a encoding when open ``.env`` file.
32-
- Provided access to ```DB_SCHEMES`` through ``cls`` rather than
63+
- Provided access to ``DB_SCHEMES`` through ``cls`` rather than
3364
``Env`` in ``db_url_config``
3465
`#414 <https://github.com/joke2k/django-environ/pull/414>`_.
3566
- Correct CI workflow to use supported Python versions/OS matrix
@@ -341,7 +372,8 @@ Added
341372
- Initial release.
342373

343374

344-
.. _v0.10.0: https://github.com/joke2k/django-environ/compare/v0.9.0...develop
375+
.. _v0.11.0: https://github.com/joke2k/django-environ/compare/v0.10.0...develop
376+
.. _v0.10.0: https://github.com/joke2k/django-environ/compare/v0.9.0...v0.10.0
345377
.. _v0.9.0: https://github.com/joke2k/django-environ/compare/v0.8.1...v0.9.0
346378
.. _v0.8.1: https://github.com/joke2k/django-environ/compare/v0.8.0...v0.8.1
347379
.. _v0.8.0: https://github.com/joke2k/django-environ/compare/v0.7.0...v0.8.0

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ Resources
7474
---------
7575

7676
* `How to Contribute to Open Source <https://opensource.guide/how-to-contribute/>`_
77-
* `Using Pull Requests <https://help.github.com/articles/about-pull-requests/>`_
78-
* `Writing good commit messages <http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html>`_
77+
* `Using Pull Requests <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests>`_
78+
* `Writing good commit messages <https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html>`_

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ its documentation lives at `Read the Docs <https://django-environ.readthedocs.io
126126
the code on `GitHub <https://github.com/joke2k/django-environ>`_,
127127
and the latest release on `PyPI <https://pypi.org/project/django-environ/>`_.
128128

129-
It’s rigorously tested on Python 3.5+, and officially supports
130-
Django 1.11, 2.2, 3., 3.1, 3.2, 4.0 and 4.1.
129+
It’s rigorously tested on Python 3.6+, and officially supports
130+
Django 1.11, 2.2, 3.0, 3.1, 3.2, 4.0, 4.1 and 4.2.
131131

132132
If you'd like to contribute to ``django-environ`` you're most welcome!
133133

docs/conf.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of the django-environ.
22
#
3-
# Copyright (c) 2021-2022, Serghei Iakovlev <[email protected]>
3+
# Copyright (c) 2021-2023, Serghei Iakovlev <[email protected]>
44
# Copyright (c) 2013-2021, Daniele Faraglia <[email protected]>
55
#
66
# For the full copyright and license information, please view
@@ -12,12 +12,10 @@
1212

1313
import codecs
1414
import os
15-
import sys
1615
import re
17-
16+
import sys
1817
from datetime import date
1918

20-
2119
PROJECT_DIR = os.path.abspath('..')
2220
sys.path.insert(0, PROJECT_DIR)
2321

@@ -71,7 +69,7 @@ def find_version(meta_file):
7169
# The suffix of source filenames.
7270
source_suffix = ".rst"
7371

74-
# Allow non-local URIs so we can have images in CHANGELOG etc.
72+
# Allow non-local URIs, so we can have images in CHANGELOG etc.
7573
suppress_warnings = [
7674
"image.nonlocal_uri",
7775
]

0 commit comments

Comments
 (0)