Skip to content

Commit

Permalink
Release 0.3.0 (#8)
Browse files Browse the repository at this point in the history
* Release 0.3.0

* Publish on tags
  • Loading branch information
florimondmanca committed Jul 5, 2020
1 parent f5eb8a4 commit 126fcde
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 14 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## 0.3.0 - 2020-07-05

This release changes the approach from "scrape the ASGI app to gather URLs" to a programmatic class-based API inspired by Django's sitemap framework.

As such, the command line application does not exist anymore. Users are expected to define `Sitemap` classes, compose them into a `SitemapApp` endpoint, and add that to their ASGI app routing table.

See the new `README.md` documentation for more information.

### Changed

- Switch to a class-based dynamic endpoint API. (Pull #4)

## 0.2.0 - 2020-06-01

### Changed
Expand Down
39 changes: 26 additions & 13 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,39 @@ resources:
type: github
endpoint: github
name: florimondmanca/azure-pipelines-templates
ref: refs/tags/3.1
ref: refs/tags/3.2

trigger:
- master
- refs/tags/*

pr:
- master

variables:
CI: true
PIP_CACHE_DIR: $(Pipeline.Workspace)/.cache/pip
- name: CI
value: "true"
- name: PIP_CACHE_DIR
value: $(Pipeline.Workspace)/.cache/pip
- group: pypi-credentials

jobs:
- template: job--python-check.yml@templates
parameters:
pythonVersion: "3.8"
stages:
- stage: test
jobs:
- template: job--python-check.yml@templates
parameters:
pythonVersion: "3.8"

- template: job--python-test.yml@templates
parameters:
jobs:
py37:
py38:
coverage: true
- template: job--python-test.yml@templates
parameters:
jobs:
py37:
py38:
coverage: true

- stage: publish
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
jobs:
- template: job--python-publish.yml@templates
parameters:
token: $(pypiToken)
2 changes: 1 addition & 1 deletion src/asgi_sitemaps/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.3.0"

0 comments on commit 126fcde

Please sign in to comment.