Skip to content

Commit

Permalink
Update version to 1.0.0 (#269)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
rvlb authored May 12, 2021
1 parent 7802555 commit 0e519d1
Show file tree
Hide file tree
Showing 67 changed files with 599 additions and 5,541 deletions.
249 changes: 177 additions & 72 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,72 @@ workflows:
version: 2
test:
jobs:
- test-3.4-18
- test-3.4-19
- test-3.4-110
- test-3.4-111

- test-3.5-18
- test-3.5-19
- test-3.5-110
- test-3.5-111

- test-3.6-18
- test-3.6-19
- test-3.6-110
- test-3.6-111
- test-3.5-20
- test-3.5-21
- test-3.5-22

- test-3.6-20
- test-3.6-21
- test-3.6-22
- test-3.6-30
- test-3.6-31
- test-3.6-32

- test-3.7-18
- test-3.7-19
- test-3.7-110
- test-3.7-111
- test-3.7-20
- test-3.7-21
- test-3.7-22
- test-3.7-30
- test-3.7-31
- test-3.7-32

- test-3.8-20
- test-3.8-21
- test-3.8-22
- test-3.8-30
- test-3.8-31
- test-3.8-32

- test-3.9-20
- test-3.9-21
- test-3.9-22
- test-3.9-30
- test-3.9-31
- test-3.9-32

- done:
requires:
- test-3.5-20
- test-3.5-21
- test-3.5-22

- test-3.6-20
- test-3.6-21
- test-3.6-22
- test-3.6-30
- test-3.6-31
- test-3.6-32

- test-3.7-20
- test-3.7-21
- test-3.7-22
- test-3.7-30
- test-3.7-31
- test-3.7-32

- test-3.8-20
- test-3.8-21
- test-3.8-22
- test-3.8-30
- test-3.8-31
- test-3.8-32

- test-3.9-20
- test-3.9-21
- test-3.9-22
- test-3.9-30
- test-3.9-31
- test-3.9-32

jobs:
base: &test-template
docker:
Expand Down Expand Up @@ -71,121 +114,183 @@ jobs:
source venv/bin/activate
cd tests
coverage run --source=webpack_loader manage.py test
test-3.4-18:
<<: *test-template
docker:
- image: circleci/python:3.4-stretch-node
environment:
DJANGO_VERSION: "18"
test-3.4-19:
<<: *test-template
docker:
- image: circleci/python:3.4-stretch-node
environment:
DJANGO_VERSION: "19"
test-3.4-110:
<<: *test-template
docker:
- image: circleci/python:3.4-stretch-node
environment:
DJANGO_VERSION: "110"
test-3.4-111:
<<: *test-template
docker:
- image: circleci/python:3.4-stretch-node
environment:
DJANGO_VERSION: "111"
coveralls
environment:
COVERALLS_PARALLEL: 1

test-3.5-18:
test-3.5-20:
<<: *test-template
docker:
- image: circleci/python:3.5-stretch-node
environment:
DJANGO_VERSION: "18"
test-3.5-19:
DJANGO_VERSION: "20"
test-3.5-21:
<<: *test-template
docker:
- image: circleci/python:3.5-stretch-node
environment:
DJANGO_VERSION: "19"
test-3.5-110:
DJANGO_VERSION: "21"
test-3.5-22:
<<: *test-template
docker:
- image: circleci/python:3.5-stretch-node
environment:
DJANGO_VERSION: "110"
test-3.5-111:
DJANGO_VERSION: "22"

test-3.6-20:
<<: *test-template
docker:
- image: circleci/python:3.5-stretch-node
- image: circleci/python:3.6-stretch-node
environment:
DJANGO_VERSION: "111"

test-3.6-18:
DJANGO_VERSION: "20"
test-3.6-21:
<<: *test-template
docker:
- image: circleci/python:3.6-stretch-node
environment:
DJANGO_VERSION: "18"
test-3.6-19:
DJANGO_VERSION: "21"
test-3.6-22:
<<: *test-template
docker:
- image: circleci/python:3.6-stretch-node
environment:
DJANGO_VERSION: "19"
test-3.6-110:
DJANGO_VERSION: "22"
test-3.6-30:
<<: *test-template
docker:
- image: circleci/python:3.6-stretch-node
environment:
DJANGO_VERSION: "110"
test-3.6-111:
DJANGO_VERSION: "30"
test-3.6-31:
<<: *test-template
docker:
- image: circleci/python:3.6-stretch-node
environment:
DJANGO_VERSION: "111"
test-3.6-22:
DJANGO_VERSION: "31"
test-3.6-32:
<<: *test-template
docker:
- image: circleci/python:3.6-stretch-node
environment:
DJANGO_VERSION: "22"
DJANGO_VERSION: "32"

test-3.7-18:
test-3.7-20:
<<: *test-template
docker:
- image: circleci/python:3.7-stretch-node
environment:
DJANGO_VERSION: "18"
test-3.7-19:
DJANGO_VERSION: "20"
test-3.7-21:
<<: *test-template
docker:
- image: circleci/python:3.7-stretch-node
environment:
DJANGO_VERSION: "19"
test-3.7-110:
DJANGO_VERSION: "21"
test-3.7-22:
<<: *test-template
docker:
- image: circleci/python:3.7-stretch-node
environment:
DJANGO_VERSION: "110"
test-3.7-111:
DJANGO_VERSION: "22"
test-3.7-30:
<<: *test-template
docker:
- image: circleci/python:3.7-stretch-node
environment:
DJANGO_VERSION: "111"
test-3.7-22:
DJANGO_VERSION: "30"
test-3.7-31:
<<: *test-template
docker:
- image: circleci/python:3.7-stretch-node
environment:
DJANGO_VERSION: "22"
DJANGO_VERSION: "31"
test-3.7-32:
<<: *test-template
docker:
- image: circleci/python:3.7-stretch-node
environment:
DJANGO_VERSION: "32"

test-3.8-20:
<<: *test-template
docker:
- image: circleci/python:3.8-buster-node
environment:
DJANGO_VERSION: "20"
test-3.8-21:
<<: *test-template
docker:
- image: circleci/python:3.8-buster-node
environment:
DJANGO_VERSION: "21"
test-3.8-22:
<<: *test-template
docker:
- image: circleci/python:3.8-buster-node
environment:
DJANGO_VERSION: "22"
test-3.8-30:
<<: *test-template
docker:
- image: circleci/python:3.8-buster-node
environment:
DJANGO_VERSION: "30"
test-3.8-31:
<<: *test-template
docker:
- image: circleci/python:3.8-buster-node
environment:
DJANGO_VERSION: "31"
test-3.8-32:
<<: *test-template
docker:
- image: circleci/python:3.8-buster-node
environment:
DJANGO_VERSION: "32"

test-3.9-20:
<<: *test-template
docker:
- image: circleci/python:3.9-buster-node
environment:
DJANGO_VERSION: "20"
test-3.9-21:
<<: *test-template
docker:
- image: circleci/python:3.9-buster-node
environment:
DJANGO_VERSION: "21"
test-3.9-22:
<<: *test-template
docker:
- image: circleci/python:3.9-buster-node
environment:
DJANGO_VERSION: "22"
test-3.9-30:
<<: *test-template
docker:
- image: circleci/python:3.9-buster-node
environment:
DJANGO_VERSION: "30"
test-3.9-31:
<<: *test-template
docker:
- image: circleci/python:3.9-buster-node
environment:
DJANGO_VERSION: "31"
test-3.9-32:
<<: *test-template
docker:
- image: circleci/python:3.9-buster-node
environment:
DJANGO_VERSION: "32"

done:
docker:
- image: circleci/python:3.9-buster-node
steps:
- run:
name: Finish Coveralls
command: |
pip install coveralls
coveralls --finish
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
venv/
*.sqlite3

# auto generated
README.rst
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ For more general information, view the [readme](README.md).
Releases are added to the
[github release page](https://github.com/ezhome/django-webpack-loader/releases).

## [1.0.0] -- 2021-05-12

- Added support for custom loader classes
- Added compatibility with `[email protected]`
- Updated and corrected examples
- Updated Python and Django supported versions on tests
## [0.6.0] -- 2018-02-22

- Added support for 'Access-Control-Allow-Origin' header
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ install:
@$(ENV)/bin/pip install $(requirements)

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

register:
@echo "Registering package on pypi..."
@echo "Registering package on $(REPOSITORY)..."
@$(ENV)/bin/twine register -r $(REPOSITORY)
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# Looking for maintainers

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.

# django-webpack-loader

[![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)
[![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)
[![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)
[![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)
[![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)
![pyversions](https://img.shields.io/pypi/pyversions/django-webpack-loader)
![djversions](https://img.shields.io/pypi/djversions/django-webpack-loader)

<br>

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

## Compatibility

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.
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.


## Install
Expand Down
Loading

0 comments on commit 0e519d1

Please sign in to comment.