Skip to content

Commit 0e519d1

Browse files
authored
Update version to 1.0.0 (#269)
* Update version to 1.0.0 * Update wheel version * Improve examples * Remove webpack-split-by-path * Fix get_chunk_url * Add more versions for testing * Add CSS loader example * Update hot-reload example * Update supported versions on README * Update changelog * Remove db.sqlite3 files * Adjust badges * Add coveralls
1 parent 7802555 commit 0e519d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+599
-5541
lines changed

.circleci/config.yml

Lines changed: 177 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,72 @@ workflows:
33
version: 2
44
test:
55
jobs:
6-
- test-3.4-18
7-
- test-3.4-19
8-
- test-3.4-110
9-
- test-3.4-111
10-
11-
- test-3.5-18
12-
- test-3.5-19
13-
- test-3.5-110
14-
- test-3.5-111
15-
16-
- test-3.6-18
17-
- test-3.6-19
18-
- test-3.6-110
19-
- test-3.6-111
6+
- test-3.5-20
7+
- test-3.5-21
8+
- test-3.5-22
9+
10+
- test-3.6-20
11+
- test-3.6-21
2012
- test-3.6-22
13+
- test-3.6-30
14+
- test-3.6-31
15+
- test-3.6-32
2116

22-
- test-3.7-18
23-
- test-3.7-19
24-
- test-3.7-110
25-
- test-3.7-111
17+
- test-3.7-20
18+
- test-3.7-21
2619
- test-3.7-22
20+
- test-3.7-30
21+
- test-3.7-31
22+
- test-3.7-32
2723

24+
- test-3.8-20
25+
- test-3.8-21
2826
- test-3.8-22
27+
- test-3.8-30
28+
- test-3.8-31
29+
- test-3.8-32
30+
31+
- test-3.9-20
32+
- test-3.9-21
33+
- test-3.9-22
34+
- test-3.9-30
35+
- test-3.9-31
36+
- test-3.9-32
37+
38+
- done:
39+
requires:
40+
- test-3.5-20
41+
- test-3.5-21
42+
- test-3.5-22
43+
44+
- test-3.6-20
45+
- test-3.6-21
46+
- test-3.6-22
47+
- test-3.6-30
48+
- test-3.6-31
49+
- test-3.6-32
50+
51+
- test-3.7-20
52+
- test-3.7-21
53+
- test-3.7-22
54+
- test-3.7-30
55+
- test-3.7-31
56+
- test-3.7-32
57+
58+
- test-3.8-20
59+
- test-3.8-21
60+
- test-3.8-22
61+
- test-3.8-30
62+
- test-3.8-31
63+
- test-3.8-32
64+
65+
- test-3.9-20
66+
- test-3.9-21
67+
- test-3.9-22
68+
- test-3.9-30
69+
- test-3.9-31
70+
- test-3.9-32
71+
2972
jobs:
3073
base: &test-template
3174
docker:
@@ -71,121 +114,183 @@ jobs:
71114
source venv/bin/activate
72115
cd tests
73116
coverage run --source=webpack_loader manage.py test
74-
test-3.4-18:
75-
<<: *test-template
76-
docker:
77-
- image: circleci/python:3.4-stretch-node
78-
environment:
79-
DJANGO_VERSION: "18"
80-
test-3.4-19:
81-
<<: *test-template
82-
docker:
83-
- image: circleci/python:3.4-stretch-node
84-
environment:
85-
DJANGO_VERSION: "19"
86-
test-3.4-110:
87-
<<: *test-template
88-
docker:
89-
- image: circleci/python:3.4-stretch-node
90-
environment:
91-
DJANGO_VERSION: "110"
92-
test-3.4-111:
93-
<<: *test-template
94-
docker:
95-
- image: circleci/python:3.4-stretch-node
96-
environment:
97-
DJANGO_VERSION: "111"
117+
coveralls
118+
environment:
119+
COVERALLS_PARALLEL: 1
98120

99-
test-3.5-18:
121+
test-3.5-20:
100122
<<: *test-template
101123
docker:
102124
- image: circleci/python:3.5-stretch-node
103125
environment:
104-
DJANGO_VERSION: "18"
105-
test-3.5-19:
126+
DJANGO_VERSION: "20"
127+
test-3.5-21:
106128
<<: *test-template
107129
docker:
108130
- image: circleci/python:3.5-stretch-node
109131
environment:
110-
DJANGO_VERSION: "19"
111-
test-3.5-110:
132+
DJANGO_VERSION: "21"
133+
test-3.5-22:
112134
<<: *test-template
113135
docker:
114136
- image: circleci/python:3.5-stretch-node
115137
environment:
116-
DJANGO_VERSION: "110"
117-
test-3.5-111:
138+
DJANGO_VERSION: "22"
139+
140+
test-3.6-20:
118141
<<: *test-template
119142
docker:
120-
- image: circleci/python:3.5-stretch-node
143+
- image: circleci/python:3.6-stretch-node
121144
environment:
122-
DJANGO_VERSION: "111"
123-
124-
test-3.6-18:
145+
DJANGO_VERSION: "20"
146+
test-3.6-21:
125147
<<: *test-template
126148
docker:
127149
- image: circleci/python:3.6-stretch-node
128150
environment:
129-
DJANGO_VERSION: "18"
130-
test-3.6-19:
151+
DJANGO_VERSION: "21"
152+
test-3.6-22:
131153
<<: *test-template
132154
docker:
133155
- image: circleci/python:3.6-stretch-node
134156
environment:
135-
DJANGO_VERSION: "19"
136-
test-3.6-110:
157+
DJANGO_VERSION: "22"
158+
test-3.6-30:
137159
<<: *test-template
138160
docker:
139161
- image: circleci/python:3.6-stretch-node
140162
environment:
141-
DJANGO_VERSION: "110"
142-
test-3.6-111:
163+
DJANGO_VERSION: "30"
164+
test-3.6-31:
143165
<<: *test-template
144166
docker:
145167
- image: circleci/python:3.6-stretch-node
146168
environment:
147-
DJANGO_VERSION: "111"
148-
test-3.6-22:
169+
DJANGO_VERSION: "31"
170+
test-3.6-32:
149171
<<: *test-template
150172
docker:
151173
- image: circleci/python:3.6-stretch-node
152174
environment:
153-
DJANGO_VERSION: "22"
175+
DJANGO_VERSION: "32"
154176

155-
test-3.7-18:
177+
test-3.7-20:
156178
<<: *test-template
157179
docker:
158180
- image: circleci/python:3.7-stretch-node
159181
environment:
160-
DJANGO_VERSION: "18"
161-
test-3.7-19:
182+
DJANGO_VERSION: "20"
183+
test-3.7-21:
162184
<<: *test-template
163185
docker:
164186
- image: circleci/python:3.7-stretch-node
165187
environment:
166-
DJANGO_VERSION: "19"
167-
test-3.7-110:
188+
DJANGO_VERSION: "21"
189+
test-3.7-22:
168190
<<: *test-template
169191
docker:
170192
- image: circleci/python:3.7-stretch-node
171193
environment:
172-
DJANGO_VERSION: "110"
173-
test-3.7-111:
194+
DJANGO_VERSION: "22"
195+
test-3.7-30:
174196
<<: *test-template
175197
docker:
176198
- image: circleci/python:3.7-stretch-node
177199
environment:
178-
DJANGO_VERSION: "111"
179-
test-3.7-22:
200+
DJANGO_VERSION: "30"
201+
test-3.7-31:
180202
<<: *test-template
181203
docker:
182204
- image: circleci/python:3.7-stretch-node
183205
environment:
184-
DJANGO_VERSION: "22"
206+
DJANGO_VERSION: "31"
207+
test-3.7-32:
208+
<<: *test-template
209+
docker:
210+
- image: circleci/python:3.7-stretch-node
211+
environment:
212+
DJANGO_VERSION: "32"
185213

214+
test-3.8-20:
215+
<<: *test-template
216+
docker:
217+
- image: circleci/python:3.8-buster-node
218+
environment:
219+
DJANGO_VERSION: "20"
220+
test-3.8-21:
221+
<<: *test-template
222+
docker:
223+
- image: circleci/python:3.8-buster-node
224+
environment:
225+
DJANGO_VERSION: "21"
186226
test-3.8-22:
187227
<<: *test-template
188228
docker:
189229
- image: circleci/python:3.8-buster-node
190230
environment:
191231
DJANGO_VERSION: "22"
232+
test-3.8-30:
233+
<<: *test-template
234+
docker:
235+
- image: circleci/python:3.8-buster-node
236+
environment:
237+
DJANGO_VERSION: "30"
238+
test-3.8-31:
239+
<<: *test-template
240+
docker:
241+
- image: circleci/python:3.8-buster-node
242+
environment:
243+
DJANGO_VERSION: "31"
244+
test-3.8-32:
245+
<<: *test-template
246+
docker:
247+
- image: circleci/python:3.8-buster-node
248+
environment:
249+
DJANGO_VERSION: "32"
250+
251+
test-3.9-20:
252+
<<: *test-template
253+
docker:
254+
- image: circleci/python:3.9-buster-node
255+
environment:
256+
DJANGO_VERSION: "20"
257+
test-3.9-21:
258+
<<: *test-template
259+
docker:
260+
- image: circleci/python:3.9-buster-node
261+
environment:
262+
DJANGO_VERSION: "21"
263+
test-3.9-22:
264+
<<: *test-template
265+
docker:
266+
- image: circleci/python:3.9-buster-node
267+
environment:
268+
DJANGO_VERSION: "22"
269+
test-3.9-30:
270+
<<: *test-template
271+
docker:
272+
- image: circleci/python:3.9-buster-node
273+
environment:
274+
DJANGO_VERSION: "30"
275+
test-3.9-31:
276+
<<: *test-template
277+
docker:
278+
- image: circleci/python:3.9-buster-node
279+
environment:
280+
DJANGO_VERSION: "31"
281+
test-3.9-32:
282+
<<: *test-template
283+
docker:
284+
- image: circleci/python:3.9-buster-node
285+
environment:
286+
DJANGO_VERSION: "32"
287+
288+
done:
289+
docker:
290+
- image: circleci/python:3.9-buster-node
291+
steps:
292+
- run:
293+
name: Finish Coveralls
294+
command: |
295+
pip install coveralls
296+
coveralls --finish

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
venv/
2+
*.sqlite3
23

34
# auto generated
45
README.rst

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ For more general information, view the [readme](README.md).
55
Releases are added to the
66
[github release page](https://github.com/ezhome/django-webpack-loader/releases).
77

8+
## [1.0.0] -- 2021-05-12
9+
10+
- Added support for custom loader classes
11+
- Added compatibility with `[email protected]`
12+
- Updated and corrected examples
13+
- Updated Python and Django supported versions on tests
814
## [0.6.0] -- 2018-02-22
915

1016
- Added support for 'Access-Control-Allow-Origin' header

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ install:
2727
@$(ENV)/bin/pip install $(requirements)
2828

2929
publish: build
30-
@echo "Publishing to pypi..."
30+
@echo "Publishing to $(REPOSITORY)..."
3131
@$(ENV)/bin/twine upload -r $(REPOSITORY) dist/*
3232

3333
register:
34-
@echo "Registering package on pypi..."
34+
@echo "Registering package on $(REPOSITORY)..."
3535
@$(ENV)/bin/twine register -r $(REPOSITORY)

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# Looking for maintainers
2-
3-
This repository is unmaintained as I don't have any free time to dedicate to this effort. If you or your organisation are heavy users of this library along with it's JS cousin (webpack-bundle-tracker), I'd be happy to add you as maintainers or even transfer the repo to you. Feel free to email me and we'll take it on from there. Thanks.
4-
51
# django-webpack-loader
62

7-
[![Join the chat at https://gitter.im/owais/django-webpack-loader](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/owais/django-webpack-loader?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
8-
[![Build Status](https://circleci.com/gh/owais/django-webpack-loader/tree/master.svg?style=svg)](https://circleci.com/gh/owais/django-webpack-loader/tree/master)
9-
[![Coverage Status](https://coveralls.io/repos/owais/django-webpack-loader/badge.svg?branch=master&service=github)](https://coveralls.io/github/owais/django-webpack-loader?branch=master)
3+
[![Build Status](https://circleci.com/gh/django-webpack/django-webpack-loader/tree/master.svg?style=svg)](https://circleci.com/gh/django-webpack/django-webpack-loader/tree/master)
4+
[![Coverage Status](https://coveralls.io/repos/github/django-webpack/django-webpack-loader/badge.svg?branch=master)](https://coveralls.io/github/django-webpack/django-webpack-loader?branch=master)
5+
![pyversions](https://img.shields.io/pypi/pyversions/django-webpack-loader)
6+
![djversions](https://img.shields.io/pypi/djversions/django-webpack-loader)
107

118
<br>
129

@@ -23,7 +20,7 @@ A [changelog](CHANGELOG.md) is also available.
2320

2421
## Compatibility
2522

26-
Test cases cover Django>=1.6 on Python 2.7 and Python>=3.4. 100% code coverage is the target so we can be sure everything works anytime. It should probably work on older version of django as well but the package does not ship any test cases for them.
23+
Test cases cover Django>=2.0 on Python>=3.5. 100% code coverage is the target so we can be sure everything works anytime. It should probably work on older version of django as well but the package does not ship any test cases for them.
2724

2825

2926
## Install

0 commit comments

Comments
 (0)