1. 04 5月, 2021 2 次提交
  2. 03 5月, 2021 8 次提交
    • D
      Merge pull request #3991 from pallets/release-2.0.0rc2 · d7ac6f5b
      David Lord 提交于
      release version 2.0.0rc2
      d7ac6f5b
    • D
      release version 2.0.0rc2 · e2b7d105
      David Lord 提交于
      e2b7d105
    • D
      Merge pull request #3989 from pgjones/async · 47f0e799
      David Lord 提交于
      Async improvements
      47f0e799
    • P
      Remove the async helper method · 2889da67
      pgjones 提交于
      It is better to encourage users to utilise the app ensure_sync method
      (or the newely added async_to_sync method) so that any extensions that
      alter these methods take affect throughout the users code.
      
      With the helper method users code fix parts of their code to the
      asgiref async_to_sync ignoring any extension changes.
      2889da67
    • P
      Simplify the async handling code · 7f87f3dd
      pgjones 提交于
      Firstly `run_sync` was a misleading name as it didn't run anything,
      instead I think `async_to_sync` is much clearer as it converts a
      coroutine function to a function. (Name stolen from asgiref).
      
      Secondly trying to run the ensure_sync during registration made the
      code more complex and brittle, e.g. the _flask_async_wrapper
      usage. This was done to pay any setup costs during registration rather
      than runtime, however this only saved a iscoroutne check. It allows
      the weirdness of the Blueprint and Scaffold ensure_sync methods to be
      removed.
      
      Switching to runtime ensure_sync usage provides a method for
      extensions to also support async, as now documented.
      7f87f3dd
    • P
      Remove context copying from run_async function · cb13128c
      pgjones 提交于
      This was required with the previous implementation of Werkzeug's
      locals which didn't persist across threads. However as the current
      implementation uses ContextVars which do persist the context copying
      is no longer required.
      cb13128c
    • G
      Merge pull request #3976 from greyli/update-changelog · 188f4785
      Grey Li 提交于
      Update changelog for #3932
      188f4785
    • J
      Minor docs fixes. (#3988) · 8bfce88e
      Joshua Bronson 提交于
      8bfce88e
  3. 01 5月, 2021 2 次提交
  4. 30 4月, 2021 1 次提交
  5. 29 4月, 2021 5 次提交
  6. 28 4月, 2021 1 次提交
  7. 27 4月, 2021 9 次提交
  8. 24 4月, 2021 1 次提交
  9. 22 4月, 2021 1 次提交
  10. 17 4月, 2021 3 次提交
  11. 16 4月, 2021 7 次提交