SubSonic 2.0.3

July 11, 2007 17:32

In the spirit of attempting to make for frequent, incremental releases, the SubSonic team is proud to present SubSonic 2.0.3. Following 2.0.2 by less than three weeks, SubSonic 2.0.3 is primarily a maintenance release, with a few significant enhancements.

What's New and Changed

  • The template execution engine has undergone a complete overhaul with an emphasis on optimizing execution performance, with improvements of up to 800%. If you've used 2.0.2 or earlier, you're definitely going to feel the difference.
  • Three new provider configuration parameters:
    • enableTrace - Allows tracing to be enabled or disabled, addressing certain performance and medium trust issue. Defaults to false.
    • fixDatabaseObjectCasing - Allows case transformations on database objects to be enabled or disabled, preserving the original database casing. Default is true.
    • additionalNamespaces - An optional comma-separated list of namespaces to be added to using/Imports blocks at the top of generated code.
  • The PreUpdate() and PostUpdate() virtual methods in ActiveRecord.Save() have been deprecated and will be removed in the next release. They have been replaced and enhanced with:
    • BeforeValidate() - Executes before any record validation is performed.
    • BeforeInsert() - Executes before the insert command is generated for  new records.
    • BeforeUpdate() - Executes before the update command is generated for existing records.
    • BeforeCommit() - Executes just prior to execution of INSERT/UPDATE command.

Fixes and Work Items

Work Item 9495 - Allow User-Specified Namespace References in Generated Code
Work Item 10237 - StarterSite Default Permissions Allow Administrator Access to All Users
Work Item 10924 - All StarterSite Pages and UserControls Should Inherit from a Single Base Class
Work Item 11228 - ExecuteJoinedDataset Doesn't Fully Qualify Table Reference with Schema Owner
Work Item 11306 - Logical Deletes do not Properly Deal with Null Values
Work Item 11330 - VB Scaffold Templates v. 2.0.2
Work Item 11359 - QuickTable Generates Errors when Used with Views
Work Item 11361 - ODS Controller Templates Generate Code with Logical and Physical Deletes both Marked as Default
Work Item 11370 - BuildProvider doesn't Properly Identify Current Language
Work Item 11379 - VB Classes aren't Generated with Nullable Properties
Work Item 11449 - Scaffold Improvements and Fixes: GUID PK, Hiding ID Column, Fully-qualified Table Names
Work Item 11484 - Column Values not Properly Initialized When Wrapped in TransactionScope
Work Item 11496 - Allow User-Specified Columns to be Hidden in Scaffold Editor
Work Item 11517 - PreUpdate() called too late when saving
Work Item 11557 - QuickTable Does not Prevent Sorting of Large or Binary Data Types
Work Item 11583 - Incorrect Type Mapping in OracleDataProvider for CLOB/NCLOB Data Types
Work Item 11595 - Paged query is not sorted
Work Item 11606 - Sugar.Validation Does not Properly Validate Credit Card Numbers
Work Item 11627 - Non-nullable Reserved Columns Fail Validation
Work Item 11630 - Collection.ToDataTable Does not Set TableName
Work Item 11630 - AbstractRecord TableName Property is Never Set

Download


8 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

Related posts

Comments

July 11. 2007 16:05

James

Do you actually have a job? Other than serving your Subsonic public?

Thanks for your efforts, again.

James

July 11. 2007 16:43

really good job, this is one of the best news before vacation !

thanks for your work

Pierre

July 11. 2007 17:11

Gavin Joyce

Great work, checking out as we speak.

Gavin Joyce

July 11. 2007 18:09

David S.

Thanks for fixing the issue with the quick tables Eric.

David S.

July 11. 2007 18:47

Stuart Allen (photoz)

congrats on the release... and thanks for the awesome quick fixes!

so when will SubSonic be ready for WPF??
Smile

Stuart Allen (photoz)

July 12. 2007 13:53

kevin

great stuff. i'll be upgrading asap.

kevin

July 12. 2007 13:57

kevin

great stuff eric. i look forward to getting the lastest source and putting it to work.

kevin

July 13. 2007 03:09

Geri Langlois

Great job -- I use subsonic every day and it makes it a pleasure to program and this version is incredibly fast.
Thanks again.

Geri Langlois

Comments are closed