Skip to content

Commit

Permalink
chore(*): Prepare release 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Feb 7, 2024
1 parent 0c9833e commit 6ced3bd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 19 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Upload Python Package
on:
release:
types: [released]
workflow_dispatch:

jobs:
deploy:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ functions provided by the `src/cscapi` folder.

---

## [0.0.2](https://github.com/crowdsecurity/python-capi-sdk/releases/tag/v1.1.0) - 2024-02-07
[_Compare with previous release_](https://github.com/crowdsecurity/python-capi-sdk/compare/v0.0.1...v0.0.2)


### Fixed

- Enable foreign key constraints only in SQLite connections ([#13](https://github.com/crowdsecurity/python-capi-sdk/pull/13))

---

## [0.0.1](https://github.com/crowdsecurity/python-capi-sdk/releases/tag/v0.0.1) - 2024-02-06

- Initial release
18 changes: 0 additions & 18 deletions examples/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,6 @@
machine_id=generate_machine_id_from_key("myMachineKeyIdentifier"),
context=[{"key": "scenario-version", "value": "1.0.0"}],
message="test message to see where it is written",
decisions=[
{
"origin": "crowdsec",
"duration": "1h",
"scenario": "crowdsec/ssh-bf",
"scope": "ip",
"type": "ban",
"value": "81.81.81.81",
},
{
"origin": "pysdk",
"duration": "2h",
"scenario": "crowdsec/ssh-bf",
"scope": "ip",
"type": "ban",
"value": "81.81.81.81",
},
],
)
]

Expand Down

0 comments on commit 6ced3bd

Please sign in to comment.