prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  New release
  Hi,
  
  When is coming new release, because I can't update to mongodb 4.2 because of this: https://github.com/MongoEngine/mongoengine/pull/2160/commits/47f8a126ca167cb8fe020e3cc5604b155dfcdebc.
  
  Thanks
  
  </issue>
  <code>
  [start of mongoengine/__init__.py]
  1 # Import submodules so that we can expose their __all__
  2 from mongoengine import connection
  3 from mongoengine import document
  4 from mongoengine import errors
  5 from mongoengine import fields
  6 from mongoengine import queryset
  7 from mongoengine import signals
  8 
  9 # Import everything from each submodule so that it can be accessed via
  10 # mongoengine, e.g. instead of `from mongoengine.connection import connect`,
  11 # users can simply use `from mongoengine import connect`, or even
  12 # `from mongoengine import *` and then `connect('testdb')`.
  13 from mongoengine.connection import *
  14 from mongoengine.document import *
  15 from mongoengine.errors import *
  16 from mongoengine.fields import *
  17 from mongoengine.queryset import *
  18 from mongoengine.signals import *
  19 
  20 
  21 __all__ = (
  22     list(document.__all__)
  23     + list(fields.__all__)
  24     + list(connection.__all__)
  25     + list(queryset.__all__)
  26     + list(signals.__all__)
  27     + list(errors.__all__)
  28 )
  29 
  30 
  31 VERSION = (0, 18, 2)
  32 
  33 
  34 def get_version():
  35     """Return the VERSION as a string.
  36 
  37     For example, if `VERSION == (0, 10, 7)`, return '0.10.7'.
  38     """
  39     return ".".join(map(str, VERSION))
  40 
  41 
  42 __version__ = get_version()
  43
  [end of mongoengine/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/mongoengine/__init__.py b/mongoengine/__init__.py
  --- a/mongoengine/__init__.py
  +++ b/mongoengine/__init__.py
  @@ -28,7 +28,7 @@
   )
   
   
  -VERSION = (0, 18, 2)
  +VERSION = (0, 19, 0)
   
   
   def get_version():
  
verification_info: {"golden_diff": "diff --git a/mongoengine/__init__.py b/mongoengine/__init__.py\n--- a/mongoengine/__init__.py\n+++ b/mongoengine/__init__.py\n@@ -28,7 +28,7 @@\n )\n \n \n-VERSION = (0, 18, 2)\n+VERSION = (0, 19, 0)\n \n \n def get_version():\n", "issue": "New release\nHi,\r\n\r\nWhen is coming new release, because I can't update to mongodb 4.2 because of this: https://github.com/MongoEngine/mongoengine/pull/2160/commits/47f8a126ca167cb8fe020e3cc5604b155dfcdebc.\r\n\r\nThanks\n", "before_files": [{"content": "# Import submodules so that we can expose their __all__\nfrom mongoengine import connection\nfrom mongoengine import document\nfrom mongoengine import errors\nfrom mongoengine import fields\nfrom mongoengine import queryset\nfrom mongoengine import signals\n\n# Import everything from each submodule so that it can be accessed via\n# mongoengine, e.g. instead of `from mongoengine.connection import connect`,\n# users can simply use `from mongoengine import connect`, or even\n# `from mongoengine import *` and then `connect('testdb')`.\nfrom mongoengine.connection import *\nfrom mongoengine.document import *\nfrom mongoengine.errors import *\nfrom mongoengine.fields import *\nfrom mongoengine.queryset import *\nfrom mongoengine.signals import *\n\n\n__all__ = (\n    list(document.__all__)\n    + list(fields.__all__)\n    + list(connection.__all__)\n    + list(queryset.__all__)\n    + list(signals.__all__)\n    + list(errors.__all__)\n)\n\n\nVERSION = (0, 18, 2)\n\n\ndef get_version():\n    \"\"\"Return the VERSION as a string.\n\n    For example, if `VERSION == (0, 10, 7)`, return '0.10.7'.\n    \"\"\"\n    return \".\".join(map(str, VERSION))\n\n\n__version__ = get_version()\n", "path": "mongoengine/__init__.py"}]}