Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dev360/django-nats-consumer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: dev360/django-nats-consumer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feature/uvloop-and-reloading
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 8 files changed
  • 1 contributor

Commits on Feb 9, 2025

  1. Work in progress ..

    dev360 committed Feb 9, 2025
    Configuration menu
    Copy the full SHA
    3c1e19f View commit details
    Browse the repository at this point in the history
  2. feature(consumer)!: Reload argument to ensure better Dx

    - When DEBUG=True, you can pass the `--reload` flag to your consumer to have it hot-reload the code
    - BREAKING CHANGE: Due to compatibility with reloading libraries, I had to bump the min supported python
      version to 3.9; it seemed like a reasonable trade-off since python 3.8 reached end of life October of 2024.
    
    feature(consumer): Pluggable Event-loop policy
    - You can now install it with uvloop: `pip install django-nats-consumer[uvloop]`
    - By specifying the `event_loop_policy` option, you can set it to `uvloop.EventLoopPolicy` and it will use uvloop instead of basic asyncio.
    dev360 committed Feb 9, 2025
    Configuration menu
    Copy the full SHA
    4dfd30c View commit details
    Browse the repository at this point in the history
Loading