Hanalei, Hawaii Tuesday, February 09, 2010

SubSonic 3.0.0.1 Released

Early and often! Might as well get started on the right foot yah?

Early and often! Might as well get started on the right foot yah? I knew the first rev was going to come quickly, not sure if I thought it would happen within a week’s time but – well why not. There were a lot of things I missed in testing, and we had some nice contributions as well.

Here's the quick list of fixes and adds:
  • FIXED: Issue 2 - Out of date Classes.tt file for ActiveRecord. I fixed this within an hour of issuing the 3.0 download and reset the download.
  • FIXED: Issue 3 - “!=null” results in incorrect SQL
  • ADDED:  Issue 4 - SubSonicRepository should set PK on Add
  • CHANGED: Issue 5 - SPs should accept nullable type arguments by default
  • CHANGED: Issue 10 - Reset foreign key columns to use “CleanUp” method to avoid naming issues in ActiveRecord
  • ADDED: Issue 11- SimpleRepository.All<T>() and Exists<T>() now run migrations
  • FIXED: Issue 12 – There was a view error in the SimpleRepo example on Create.aspx.
  • FIXED: Issue 13 – Add() was not properly setting IsNew to false on Save/Add (ActiveRecord templates)
  • ADDED: Issue 14 – Merged fork from MBP to address a better way to handle Logical Delete column with Settings.tt (thank you!)
  • FIXED: Issue 15 – Migrations for SQLite were not setting “integer” for PK so AUTOINCREMENT was not being honored.
  • FIXED: Issue 20 – ActiveRecord templates were incorrectly setting “string” as system type for integer fields with MySQL. I also fixed issues with small and tinyint
  • ADDED: Merged fork from BlackMael which added VB Templates. Thanks!

Many, many thank you’s to the people who’ve helped with the issues and contributed code (Troels Thompson, John Sheehan, and Martin Harris).

GitHub is Awesome
I’m sure you’ve read this before about Git and Github with respect to Open Source projects and source control – but this system is really on fire. Within 2 days I was merging various forks and bug fixes – leveraging all that is good about Git – and it’s helped beyond measure.

For instance – John Sheehan merged one of his forks and I didn’t need to open a diff tool to figure out what he did – Github showed me precisely what was changed, and where. In addition I can leave comments on his stuff if I like – or change it right there if needed!

I’m working up a wiki page to show people how to fork/pull to help us fight bugs so if you want to know more about Git – hang tight I’ll have something in the next few days.

The download has been updated on our project site so if you’d like to grab these changes – they are ready to go.

A Note About The Wiki Being Down
As many may know, the wiki went down a few times over the last few days. MySQL is timing out on me – the service is just flat crashing. I’ve set it to restart when it crashes (after a wait of a minute or so) so this should stop happening. However I’m looking into alternatives to make it run a bit smoother. I’m on it – sorry for the problems.


Gecko