Skip to content

Commit 9c0efb5

Browse files
chore(changelog): add changelog for v23 release (#197)
* add changelog for v23 release (#197)
1 parent 866d317 commit 9c0efb5

File tree

9 files changed

+46
-16
lines changed

9 files changed

+46
-16
lines changed

.github/workflows/cd-pydgraph.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
- uses: actions/checkout@v3
1414
with:
1515
ref: '${{ github.event.inputs.releasetag }}'
16+
- name: Get Python Version
17+
run: |
18+
#!/bin/bash
19+
cd pydgraph
20+
PYTHON_VERSION=$({ [ -f .python-version ] && cat .python-version; })
21+
echo "PYTHON_VERSION=$PYTHON_VERSION" >> $GITHUB_ENV
1622
- name: Set up Python
1723
uses: actions/setup-python@v4
1824
with:

CHANGELOG.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,40 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
9-
===================
8+
## [v23.0.0] - 2023-05-15
9+
10+
### Breaking
11+
- Minimum required Python now 3.7 (CI runs against 3.11)
12+
- deprecated from_slash_endpoint function (#190)
13+
14+
### Added
15+
- accept grpc endpoint or /graphql endpoint in from_cloud function
16+
- `pyproject.toml` as the source of truth for dependency requirements
17+
- `.python-version` file to keep track of supported Python version
18+
19+
### Chore
20+
- Github Actions for CI/CD pipelines
21+
- chore(ci): test against latest dgraph on main (#196)
22+
- chore(ci): fix test script & use latest docker image (#195)
23+
- chore(ci/cd): add pipelines + modernize repo (#193)
24+
- chore(ci): add ci to pydgraph (#192)
25+
- Add example for datetime parsing (#170)
26+
- cleanup README, compose files and doc links (#194)
27+
- fix the TLS examples in examples/tls (#198)
28+
- update docs and fix flaky tests (#199)
29+
30+
## [v21.3.2] - 2021-08-05
31+
32+
### Added
33+
- Missing variable in from_cloud (#174)
34+
35+
## [v21.3.1] - 2021-08-04
36+
37+
### Added
38+
- Add from_cloud method (#169)
39+
- Refresh examples (#171)
40+
- test: Update test setup to use randomized Docker ports (picking up the port from `TEST_SERVER_ADDR`)
41+
- test: Use `--guardian-creds` superflags in ACL tests
1042

1143
## [v21.03.0] - 2020-04-09
1244

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pydgraph
22

3-
This is the official Dgraph database client implementation for Python (>= v3.11), using [gRPC][grpc].
3+
This is the official Dgraph database client implementation for Python (Python >= v3.7), using [gRPC][grpc].
44

55
[grpc]: https://grpc.io/
66

examples/simple/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Start by spinning up a Dgraph cluster locally. Run `docker compose up`.
1212
Note that the security flag uses a blanket whitelist. This is for convenience when testing locally.
1313
Do not use this in a production environment.
1414

15-
## Install the Dependencies
15+
## Install pydgraph
1616

1717
```sh
18-
pip install -r requirements.txt
18+
pip install pydgraph
1919
```
2020

2121
## Run the Sample Code

examples/simple/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/tls/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ docker compose up
8484

8585
### Run Example Code
8686
```
87-
python3 tls_example.py
87+
python tls_example.py
8888
```

examples/tls/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

pydgraph/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
"""Metadata about this package."""
1616

17-
VERSION = '23.0.0rc1'
17+
VERSION = '23.0.0'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
license = {file = "LICENSE" }
1111
description = "Official Dgraph client implementation for Python"
1212
readme = "README.md"
13-
requires-python = ">=3.11"
13+
requires-python = ">=3.7"
1414
classifiers=[
1515
'Intended Audience :: Developers',
1616
'License :: OSI Approved :: Apache Software License',

0 commit comments

Comments
 (0)