Skip to content

Releases: QueraTeam/django-nextjs

v3.1.0

24 Jun 10:55
Compare
Choose a tag to compare

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

v3.0.0

20 May 09:33
Compare
Choose a tag to compare

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

  • Do not include cookies with empty key by @jvdboog in #31

Full Changelog: v2.4.0...v3.0.0

Version 2.4.0

02 Sep 07:32
Compare
Choose a tag to compare

Version 2.3.1

12 Aug 09:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.3.1

Version 2.3.0

12 Jun 18:56
Compare
Choose a tag to compare

What's Changed

  • The function render_nextjs_page_to_string_async has been renamed to render_nextjs_page_to_string.
  • The function render_nextjs_page_async has been renamed to render_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

28 May 15:23
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.2...v2.2.3

Version 2.2.2

12 Jan 20:42
Compare
Choose a tag to compare

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

18 Sep 06:33
Compare
Choose a tag to compare

What's Changed

  • Drop Python 3.6
  • Add support for Django 4.1

Version 2.1.5

29 Jul 11:20
Compare
Choose a tag to compare

What's Changed

  • Pass allow_redirects parameter to render function by @SeokEunJu in #8

New Contributors

Full Changelog: v2.1.4...v2.1.5

Version 2.1.4

10 May 19:51
Compare
Choose a tag to compare

What's Changed