Releases: QueraTeam/django-nextjs
Releases Β· QueraTeam/django-nextjs
Version 3.2.0
Version 3.1.0
What's Changed
- 1314b02: After 3.1.0 we send Set-Cookie header from NextJS response to browser
Full Changelog: v3.0.0...v3.1.0
Version 3.0.0
Release Notes
New Features and Enhancements
Add Support: e0b1f5b
- Python 3.12
- Django 5.0
Breaking Changes
Drop Support: e0b1f5b
- Django 3.2, 4.0, and 4.1: These older versions are no longer supported, encouraging users to upgrade to more recent versions for better security and functionality.
Remove Deprecated Render Functions: cccd8ed
render_nextjs_page_to_string_async
render_nextjs_page_async
render_nextjs_page_to_string_sync
render_nextjs_page_sync
Use render_nextjs_page_to_string
and render_nextjs_page
in an async views and utilize async_to_sync
to use same functions in sync views.
New API
Add New views.nextjs_page
API: 9f15da1
- Example Usage:
from django_nextjs.views import nextjs_page urlpatterns = [ path("/items/pinned", nextjs_page(template_name="django_nextjs/document_dev.html"), name="jobs_pinned"), ]
- This new API simplifies the creation of views, enhancing the development workflow with a more straightforward for rendering pages.
Bug Fixes
Full Changelog: v2.4.0...v3.0.0
Version 2.4.0
What's Changed
- Remove content_type override option from render func
- Related issue: #28
- Remove override_status arg from render func
- Exclude reserved cookies in nextjs_request_cookies
- Related issue: #29
Full Changelog: v2.3.1...v2.4.0
Version 2.3.1
What's Changed
- Fix NextJS 13 + AppRouter client-side navigation by @RobbieFernandez in #28
New Contributors
- @RobbieFernandez made their first contribution in #28
Full Changelog: v2.3.0...v2.3.1
Version 2.3.0
What's Changed
- The function
render_nextjs_page_to_string_async
has been renamed torender_nextjs_page_to_string
. - The function
render_nextjs_page_async
has been renamed torender_nextjs_page
. - The old render functions have been deprecated and will be removed in the next major release.
- Support for Python 3.7 has been dropped.
- Django 4.2 is now supported.
- The dependency on the "requests" library has been removed.
Full Changelog: v2.2.3...v2.3.0
Version 2.2.3
Version 2.2.2
What's Changed
This release is completely backward compatible. Just fixes some type annotations.
Full Changelog: v2.2.1...v2.2.2
Version 2.2.1
What's Changed
- Drop Python 3.6
- Add support for Django 4.1
Version 2.1.5
What's Changed
- Pass allow_redirects parameter to render function by @SeokEunJu in #8
New Contributors
- @SeokEunJu made their first contribution in #8
Full Changelog: v2.1.4...v2.1.5