Skip to content

v20 Release

Compare
Choose a tag to compare
@dj-nitehawk dj-nitehawk released this 11 Sep 05:24
· 532 commits to master since this release

MAJOR VERSION JUMP WITH ASYNC ONLY API

upgrading to this version won't be straight-forward if you've been using the sync api. please see the links below for the reasoning behind the decision to move to an async-only api. please open an issue if you need help migrating your applications to v20. an example project can be found here. it is highly recommended to use v20 for new projects if scalability is a concern.

CHANGES:

  • removed all sync methods making the library async-only
  • removed support for DB instances
  • removed [Database] attribute in favor of DB.DatabaseFor()
  • removed .net ioc container registration shortcuts
  • renamed DB.GetDatabase() to DB.Database() to be consistent with collection methods
  • renamed DB.Aggregate() to DB.PipelineAsync()
  • added DB.PipelineCursorAsync() method
  • added DB.PipelineSingleAsync() method
  • added DB.PipelineFirstAsync() method
  • adedd transaction support for the new PipeLine* methods
  • added Find().ExecuteSingleAsync() method
  • added Find().ExecuteFirstAsync() method
  • added Template().Paths() method
  • added Prop.Collection() method
  • added Prop.Property() method
  • added DB.NewID() method
  • added DB.DatabaseFor() method
  • optimized FileEntity internals
  • upgraded driver to latest