GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

  1. 12 Jun, 2021 5 commits
  2. 11 Jun, 2021 3 commits
    • pgjones's avatar
      Fix formatting · ac5d0ad7
      pgjones authored
    • pgjones's avatar
      Fix issues with the latest mypy · 1d64826d
      pgjones authored
    • pgjones's avatar
      Bugfix registering a blueprint twice with differing names · b006227c
      pgjones authored
      Previously the blueprint recorded aspects (before request, after
      request etc) would only be added to the app if it was the first
      registration of the blueprint instance. However only the record-once
      aspects (app-before requests, app-after request) should be added once
      on registration of the instance, whereas everything else should be
      added on every unique name registration. This ensures that these
      trigger under the new name as well as the old.
  3. 07 Jun, 2021 3 commits
  4. 06 Jun, 2021 1 commit
  5. 01 Jun, 2021 1 commit
  6. 25 May, 2021 1 commit
  7. 24 May, 2021 2 commits
  8. 21 May, 2021 5 commits
    • pgjones's avatar
      Bugfix blueprint renaming · 066e10ce
      pgjones authored
      This ensures that if a blueprint is renamed at the time of
      registration that name is used when constructing endpoints, as
    • pgjones's avatar
      Bugfix blueprint self registration · 6f776506
      pgjones authored
      By raising a ValueError if attempted. I don't see a use case that
      makes this worth supporting.
    • pgjones's avatar
      Bugfix allow blueprints to be registered with a different name · 94e760ab
      pgjones authored
      This allows the same blueprint to be registered multiple times at the
      same level, but with differing url_prefixes and names.
    • pgjones's avatar
      Bugfix blueprint naming · 93981f80
      pgjones authored
      Following discussions for Flask we've decided to name blueprints based
      on how they are registered. This allows for two different blueprints
      to have the same self-name as long as they are registered in different
      nested positions. This helps users choose better blueprint names.
    • pgjones's avatar
      Bugfix improve the typing · d3a0778e
      pgjones authored
      This fixes a blueprint before serving bug as well.
  9. 17 May, 2021 2 commits
  10. 16 May, 2021 2 commits
  11. 15 May, 2021 1 commit
    • pgjones's avatar
      Fix the request blueprint method · beccfa12
      pgjones authored
      Previously for a nested blueprint it would return the
      rather than the name of the current blueprint. This is fixed and
      another blueprints method is added in order to get the parent_name and
      name. The latter is made use of in the app.
      I've used a cached_property as this method is called a few times per
      request (by the app methods).
  12. 14 May, 2021 3 commits
    • pgjones's avatar
      Bugfix Flask Patch sync wrapping async · 4ef7f52a
      pgjones authored
      Flask extensions will often have sync wrappers that when used with
      Quart wrap async functions. This often results in the sync function
      returning a coroutine (or an error if the extension cannot be used
      with Quart). This coroutine should then be awaited, which is what
      this fix ensures in Flask-Patch's ensure_async.
    • pgjones's avatar
      Blueprint name may not contain a dot · dacd6aa2
      pgjones authored
      dots are used to identify blueprint hierarchy.
    • pgjones's avatar
      Ensure the session is created before url matching · 171e6c28
      pgjones authored
      This allows the session to be used in the url converters, as expected
      from Flask.
  13. 13 May, 2021 4 commits
  14. 12 May, 2021 2 commits
  15. 11 May, 2021 3 commits
  16. 09 May, 2021 1 commit
  17. 04 May, 2021 1 commit
    • pgjones's avatar
      Support while_serving functionality · 2e5684cf
      pgjones authored
      This allows for a generator that yields whilst the app serves requests
      to be used instead of the before_serving and after_serving functions.