lightapi 0.1.2__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lightapi-0.1.2 → lightapi-0.1.3}/.github/workflows/python-publish.yml +53 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/PKG-INFO +1 -1
- {lightapi-0.1.2 → lightapi-0.1.3}/pyproject.toml +1 -1
- {lightapi-0.1.2 → lightapi-0.1.3}/.github/workflows/pages-publish.yml +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/.github/workflows/test-dev.yml +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/.gitignore +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/.idx/dev.nix +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/LICENSE +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/README.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/.pages +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/advanced/.pages +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/advanced/authentication.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/advanced/caching.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/advanced/filtering.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/advanced/middleware.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/advanced/pagination.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/advanced/validation.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/.pages +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/auth.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/cache.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/core.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/database.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/exceptions.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/filters.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/index.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/models.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/pagination.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/rest.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/swagger.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/api-reference/validation.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/deployment/.pages +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/deployment/docker.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/deployment/production.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/deployment/security.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/.pages +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/auth.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/basic-crud.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/basic-rest.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/caching.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/custom-application.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/filtering-pagination.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/middleware.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/examples/validation.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/getting-started/.pages +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/getting-started/configuration.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/getting-started/first-steps.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/getting-started/installation.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/getting-started/introduction.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/getting-started/quickstart.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/index.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/technical-reference/.pages +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/technical-reference/cache.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/technical-reference/core-api.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/technical-reference/endpoints.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/technical-reference/handlers.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/technical-reference/middleware.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/technical-reference/models.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/troubleshooting.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/tutorial/.pages +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/tutorial/basic-api.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/tutorial/database.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/tutorial/endpoints.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/tutorial/requests.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/docs/tutorial/responses.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/README.md +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/__init__.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/auth_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/basic_rest_api.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/caching_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/custom_snippet.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/filtering_pagination_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/middleware_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/relationships_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/swagger_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/user_goal_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/examples/validation_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/__init__.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/auth.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/base_endpoint.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/cache.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/config.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/core.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/database.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/exceptions.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/filters.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/handlers.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/lightapi.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/models.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/pagination.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/rest.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/lightapi/swagger.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/mkdocs.yml +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/pytest.ini +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/requirements.txt +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/test_simple_response.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/__init__.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/conftest.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_additional_features.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_auth.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_auth_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_basic_rest_api.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_cache.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_caching_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_clients.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_core.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_custom_snippet.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_filtering_pagination_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_filters.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_helpers.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_integration.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_middleware.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_middleware_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_pagination.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_rest.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_swagger.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/tests/test_validation_example.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/update_version.py +0 -0
- {lightapi-0.1.2 → lightapi-0.1.3}/uv.lock +0 -0
|
@@ -127,3 +127,56 @@ jobs:
|
|
|
127
127
|
git add pyproject.toml
|
|
128
128
|
git commit -m "Bump version to ${{ steps.update_version.outputs.new_version }}" || exit 0
|
|
129
129
|
git push
|
|
130
|
+
|
|
131
|
+
- name: Create Git Tag
|
|
132
|
+
run: |
|
|
133
|
+
git tag v${{ steps.update_version.outputs.new_version }}
|
|
134
|
+
git push origin v${{ steps.update_version.outputs.new_version }}
|
|
135
|
+
|
|
136
|
+
- name: Generate Release Notes
|
|
137
|
+
id: release_notes
|
|
138
|
+
run: |
|
|
139
|
+
# Get commits since last tag
|
|
140
|
+
LAST_TAG=$(git describe --tags --abbrev=0 HEAD~1 2>/dev/null || echo "")
|
|
141
|
+
if [ -z "$LAST_TAG" ]; then
|
|
142
|
+
# First release - get all commits
|
|
143
|
+
COMMITS=$(git log --pretty=format:"- %s (%h)" --no-merges HEAD~10..HEAD)
|
|
144
|
+
else
|
|
145
|
+
# Get commits since last tag
|
|
146
|
+
COMMITS=$(git log --pretty=format:"- %s (%h)" --no-merges $LAST_TAG..HEAD~1)
|
|
147
|
+
fi
|
|
148
|
+
|
|
149
|
+
# Create release notes file
|
|
150
|
+
cat > release_notes.md << EOF
|
|
151
|
+
## 🚀 Release v${{ steps.update_version.outputs.new_version }}
|
|
152
|
+
|
|
153
|
+
### What's Changed
|
|
154
|
+
$COMMITS
|
|
155
|
+
|
|
156
|
+
### 📦 Installation
|
|
157
|
+
\`\`\`bash
|
|
158
|
+
pip install lightapi==${{ steps.update_version.outputs.new_version }}
|
|
159
|
+
\`\`\`
|
|
160
|
+
|
|
161
|
+
### 📖 Documentation
|
|
162
|
+
- [Getting Started](https://iklobato.github.io/lightapi/getting-started/installation/)
|
|
163
|
+
- [API Reference](https://iklobato.github.io/lightapi/api-reference/core/)
|
|
164
|
+
- [Examples](https://iklobato.github.io/lightapi/examples/basic-rest/)
|
|
165
|
+
|
|
166
|
+
**Full Changelog**: https://github.com/iklobato/lightapi/compare/${LAST_TAG}...v${{ steps.update_version.outputs.new_version }}
|
|
167
|
+
EOF
|
|
168
|
+
|
|
169
|
+
echo "Generated release notes for v${{ steps.update_version.outputs.new_version }}"
|
|
170
|
+
|
|
171
|
+
- name: Create GitHub Release
|
|
172
|
+
uses: softprops/action-gh-release@v1
|
|
173
|
+
with:
|
|
174
|
+
tag_name: v${{ steps.update_version.outputs.new_version }}
|
|
175
|
+
name: "LightAPI v${{ steps.update_version.outputs.new_version }}"
|
|
176
|
+
body_path: release_notes.md
|
|
177
|
+
draft: false
|
|
178
|
+
prerelease: false
|
|
179
|
+
files: |
|
|
180
|
+
dist/lightapi-${{ steps.update_version.outputs.new_version }}-py3-none-any.whl
|
|
181
|
+
dist/lightapi-${{ steps.update_version.outputs.new_version }}.tar.gz
|
|
182
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lightapi
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A lightweight framework for building API endpoints using Python's native libraries.
|
|
5
5
|
Project-URL: Repository, https://github.com/henriqueblobato/LightApi
|
|
6
6
|
Project-URL: Issues, https://github.com/henriqueblobato/LightApi/issues
|
|
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "lightapi"
|
|
9
|
-
version = "0.1.
|
|
9
|
+
version = "0.1.3"
|
|
10
10
|
description = "A lightweight framework for building API endpoints using Python's native libraries."
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
requires-python = ">=3.8.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|