Skip to content

Commit 1e89693

Browse files
feat(*): Prepare version 0.16.0
1 parent a804c96 commit 1e89693

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ updates:
33
- package-ecosystem: composer
44
directory: "/"
55
schedule:
6-
interval: weekly
6+
interval: monthly
77
open-pull-requests-limit: 10

.github/workflows/release.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,19 @@ name: Create Release
22
# example: gh workflow run release.yml -f tag_name=v1.1.4 -f draft=true
33
on:
44
workflow_dispatch:
5+
branches:
6+
- main
57
inputs:
68
tag_name:
7-
default: ""
9+
type: string
10+
required: true
811
draft:
12+
type: boolean
13+
description: Draft release
914
default: false
1015
prerelease:
16+
type: boolean
17+
description: Prerelease
1118
default: false
1219

1320
jobs:

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77

8+
## [0.16.0] - 2022-03-10
9+
### Added
10+
- Add geolocation feature to get remediation from `Country` scoped decisions (using MaxMind databases)
11+
- Add end-to-end tests GitHub actions
12+
- Add GitHub action to check links in markdown and update TOC
13+
14+
### Changed
15+
- *Breaking change*: Remove `live_mode` occurrences and use `stream_mode` instead
16+
- Change PHP scripts for testing examples (auto-prepend, cron)
17+
- Update docs
18+
19+
### Fixed
20+
- Fix debug log in `no-dev` environment
21+
- Fix empty logs in Unit Tests
22+
823
## [0.15.0] - 2022-02-24
924
### Added
1025
- Add tests for PHP 8.1 (memcached is excluded)

src/Constants.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Constants
2020
public const CAPI_URL = 'https://api.crowdsec.net/v2/';
2121

2222
/** @var string The last version of this library */
23-
public const VERSION = 'v0.15.0';
23+
public const VERSION = 'v0.16.0';
2424

2525
/** @var string The user agent used to send request to LAPI or CAPI */
2626
public const BASE_USER_AGENT = 'PHP CrowdSec Bouncer/'.self::VERSION;

0 commit comments

Comments
 (0)