Subtext 2.0 Released

It’s been a long time coming, but we are finally ready to release Subtext 2.0. As I mentioned in April (was it that long ago!?), this is scaled down a bit from our original 2.0 plans. But even so, we have a lot of new goodness in here. It’s not just a bug fix release, though there are plenty of those too.

Highlights

With this release, Subtext has top notch support for Windows Live Writer thanks to some check-ins from Tim Heuer.

  • Enhanced MetaWeblog API implementation to support providing a "slug" URL name for the post.  This gives the user the option to use the default URL naming, the "auto-friendly" or now to override that with your own slug name.
  • Fixed a bug in the SiteMap handler for blogs not hosted at root domains.  Would love people to test this out.
  • Added support for WordPress API functions of: newPage, editPage, getPages, newCategory
  • Simple modification to the Windows Live Writer manifest to prevent those who think they can future post :-)
  • Tag-based RSS syndicator

Other highlights

  • New CSS-Based Admin Design That Makes Better Use of Space
  • Ability to set a separate skin for mobile devices
  • Streamlined Installation Process. I tried to remove unnecessary steps and make this more robust.
  • Support for Enclosures (See Simo’s great post on this for more details)
  • CSS and JS optimizations (Simo has more interesting details on this).
  • Setting a date in the future for publishing posts (again, Simo has more details).
  • Login to your blog using OpenID, as well as use your blog as an OpenId Delegate

Notes for new installations

The install package includes a default Subtext2.0.mdf file for SQL 2005. If you plan to run your blog off of SQL Express, installation is as easy as copying the install files to your webroot. If you’re not using SQL Express, but plan to use SQL Server 2005, you can attach to the supplied .mdf file and use it as your database.

Notes for upgrading

In the app_data folder of the install package, feel free to delete the database files there. They only apply to new installs.

We also include a zip file with just the SQL upgrade scripts. This is sometimes useful for those who run into problems with the upgrade procedure.

Full upgrade notes are on the Subtext project website.

So what’s next for Subtext?

The Subtext team is fired up to get their feet wet using ASP.NET MVC, and I can’t blame them. So at this point, we’re starting preliminary planning work for Subtext 3.0, the next major version of Subtext which will be a ground-up rewrite pulling in as much code from 2.0 along the way of course.

But that doesn’t mean we’re abandoning the 2.0 line immediately. I would expect to see several small incremental releases of the 2.* line even as we start on 3.0 with fires lit under our butts. Subtext 3.0 is in the very early stages of planning taking a long term look into the future.

After all, there’s still a lot of infrastructure decisions to be made, as well as requirements gathering. In what ways do we want to be just like Subtext 2.0? In what ways do we want to completely change the architecture?

Some of the decisions we need to make, just as a start:

  1. Where do we host? Do we stick with SourceForge or go elsewhere?
  2. What data access layer/ORM tooling should we use?
  3. What DI framework do we choose?
  4. What do we use for communication and documentation?
  5. What should our database design look like?
  6. Should we change how we handle multi-tenancy?

In any case, it’s been a fun ride so far, and I hope we can keep our momentum going in producing a great blogging platform for ASP.NET.

And before I forget, here’s the download page link.

Tags:

What others have said

Requesting Gravatar... Robert G Aug 10, 2008 5:07 PM
# re: Subtext 2.0 Released
Sweet. Congrats to the team. Looks great.
Requesting Gravatar... Simone Aug 10, 2008 5:15 PM
# re: Subtext 2.0 Released
We already discussed about that in the ML, but I should say:
1 - Google Code?
2 - NHibernate
3 - Go Ninject Go!!!
4 - Google Groups?
5 - A real DDD, with no backward compatibility: then a bunch of TSQL statements to migrate from the old schema to the new one
6 - We have a lot of communities using Subtext to provide blogs to their users: we cannot let them down going back to one instance-one blog

Requesting Gravatar... Keith Elder Aug 10, 2008 5:16 PM
# re: Subtext 2.0 Released
Great to hear Phil. Looking forward to getting some time to upgrade.
Requesting Gravatar... haacked Aug 10, 2008 5:37 PM
# re: Subtext 2.0 Released
@Simo regarding #6, I didn't mean we might go "single blog", I meant would we try a different approach to multi-blogs?
Requesting Gravatar... Justice~! Aug 10, 2008 8:06 PM
# re: Subtext 2.0 Released
I know the people doing some stuff with DasBlog briefly discussed the possibility of doing a rewrite in ASP.NET MVC. Would it be at all worthwhile (this is dangerous territory I'm treading in, I'm sure) to perhaps make a Subtext/Dasblog "one blog to rule them all" codebase between the two?

Just an idle thought...
Requesting Gravatar... RumDood Aug 10, 2008 8:54 PM
# re: Subtext 2.0 Released
Huzzah! Thanks so much to the contributors for all their hard work on the 2.0 release.
Requesting Gravatar... Vern Gill Aug 10, 2008 9:24 PM
# re: Subtext 2.0 Released
Hey Phil! Wow, I can't tell you guys how happy I am for all of you for getting this out!

I wish my life still allowed me the time to play around with the project.

It may in the near future and if it does I can't wait to play with the new version!

YOU GUYS ROCK!
Requesting Gravatar... Vesta Aug 10, 2008 9:25 PM
# re: Subtext 2.0 Released
does subtext support multiple weblog in a single installation?
Requesting Gravatar... haacked Aug 10, 2008 10:08 PM
# re: Subtext 2.0 Released
@vesta yep.
Requesting Gravatar... Omer van Kloeten Aug 10, 2008 10:18 PM
# re: Subtext 2.0 Released
Congratulations :)
Requesting Gravatar... Willie Roberts Aug 11, 2008 12:04 AM
# re: Subtext 2.0 Released
Well done on the release. As for hosting provider, I have to ask why not move to CodePlex ?
Requesting Gravatar... Krzysztof Koźmic Aug 11, 2008 1:02 AM
# re: Subtext 2.0 Released
Manual upgrade db scripts zip package is empty.
Requesting Gravatar... Mike Swaim Aug 11, 2008 6:08 AM
# re: Subtext 2.0 Released
Are there release notes for 2.0? I don't see any on the download page, or in the install download.
Requesting Gravatar... Dugald Wilson Aug 11, 2008 6:23 AM
# re: Subtext 2.0 Released
Congratulations on the release - excited to check it out.

For previous versions of SubText, the recommended first step for getting on board with development was submitting bugfixes or tests. With the move to MVC, what would you recommend as first steps for someone interested in helping out on that, given that not necessarily all of what's out there now will be moving forward?
Requesting Gravatar... bunmi Aug 11, 2008 7:56 AM
# re: Subtext 2.0 Released
hello phil - great work on this! Do you know if there is an easy upgrade path for me from the original .Text? I forget the version I'm on. just wondering.
thanks in advance.
Requesting Gravatar... haacked Aug 11, 2008 8:54 AM
# re: Subtext 2.0 Released
@krzysztof I updated the release. Thanks for the heads up. It may take time to propagate.

@Mike, on the downloads page, there's a tiny icon for release notes that's easy to miss.

@Dugald Sign up for our subtext-devs mailing list on SourceForge. that's step 1. We'll figure out the rest as we go along.

@bunmi The manual install scripts includes a script to import .TEXT data into a subtext 1.0 database. So on your db, run Installation.01.00.00.sql and then run the ImportDotText095.sql script.

@Willie I really like CodePlex, but we need a source control system designed for distributed OSS projects, and TFS is not it. Subversion support is key to us. I know they have the SVN bridge, but I'm not convinced it's 100% there yet.
Requesting Gravatar... mike dopp Aug 11, 2008 9:00 AM
# re: Subtext 2.0 Released
Right on. been waiting on this. Even thought the project was dead. Thanks for the update and congrats.
!mike Dopp
Requesting Gravatar... bahadir Aug 11, 2008 10:15 AM
# re: Subtext 2.0 Released
Thanks for the new release. Already installed and using happily. :)

I think it will be a good time to ask , whether you are able to plan future roadmap(i love this words:) of subtext or not ?

After I saw the easiness of Subtext installation , I would like to see a ASP.NET CMS in a similar way. Do you have suggestions what should I use as a CMS ?

Thank you very much! Please let me know if anything I can help / contribute / carry . (btw my native language is Turkish , may be a language translation ? )
Requesting Gravatar... David Nelson Aug 11, 2008 10:42 AM
# re: Subtext 2.0 Released
Just to comment on SvnBridge, I have used it for a number of CodePlex projects and have not had a problem yet. My only complaint is that it seems to be pretty slow, but I don't know if that is the bridge or CodePlex in general.
Requesting Gravatar... Braden Aug 11, 2008 11:06 AM
# re: Subtext 2.0 Released
Does this release require SQL 2005? I am running 1.9.5
Requesting Gravatar... Braden Aug 11, 2008 11:14 AM
# re: Subtext 2.0 Released
Allow me to clarify, I am running SQL 2000, does this new release require SQL 2005?

Many thanks
Requesting Gravatar... Sameer Alibhai Aug 11, 2008 11:28 AM
# re: Subtext 2.0 Released
There seems to be a problem with exporting to blogML in the previous version. Any idea if this is fixed yet? Pls see www.ageektrapped.com/.../exporting-blog-posts-f... for more details.
Requesting Gravatar... haacked Aug 11, 2008 2:00 PM
# re: Subtext 2.0 Released
@Braden I *think* you should still be able to run this on SQL 2000, but, I did not test on SQL 2000.

@Sameer I fixed a couple of bugs with our export. Try it out. However, I do know there are a few remaining. We've filed a few bugs at the BlogML site. However, BlogML development has stalled in the past couple of years. It may pick up again, but I think we may have to fix those bugs ourselves and contribute them to BlogML. BlogML is open source after all.
Requesting Gravatar... Dragan Panjkov Aug 11, 2008 3:33 PM
# re: Subtext 2.0 Released
i've tried to upgrade from 1.9.3 to 2.0.0 and got stuck with message "... is curently upgrading... if you are a host admin click here..." and when I click, I am redirected to same page again. would it be better to do a new install? in that case I need to find a way to copy all data from my old install to new one. I am on shared hosting on qsh.eu
Requesting Gravatar... haacked Aug 11, 2008 9:52 PM
# re: Subtext 2.0 Released
@Dragan, you can download the manual install scripts from SourceForge and run Installation.2.0.sql and StoredProcedures.sql. You'll then need to add a row to the subtext_Version table with the version number (2.0.0). Sorry for the issues.
Requesting Gravatar... Dragan Panjkov Aug 12, 2008 12:39 AM
# re: Subtext 2.0 Released
thanks, phil. Problem is, I only have user instance of my db on my hosting plan, and cannot access database using some GUI.
Requesting Gravatar... Braden Aug 12, 2008 4:42 AM
# re: Subtext 2.0 Released
Hi Phil, I had to modify the connection string, but I got 2.0 working flawlessly with SQL 2000.

Requesting Gravatar... Vu Nguyen Aug 13, 2008 6:46 AM
# re: Subtext 2.0 Released
Congratulations on the release, Phill. Can't wait to check it out ;)
Requesting Gravatar... Sameer Alibhai Aug 13, 2008 8:07 AM
# re: Subtext 2.0 Released
Thanks for the update :)
Requesting Gravatar... haacked Aug 13, 2008 9:10 AM
# re: Subtext 2.0 Released
@Dragan can't you connect to your db from SQL Management Studio running locally? I'd check with your hosting provider. Usually they allow some means of running SQL Scripts. Perhaps through the web admin.
Requesting Gravatar... Dragan Panjkov Aug 13, 2008 9:54 AM
# re: Subtext 2.0 Released
it's sql express 2005 db in my app_data. I tried to download and attach db locally, but no luck. i'm not persistent enough to do it now... (read: lazy)
Requesting Gravatar... raffaeu Aug 16, 2008 6:58 PM
# re: Subtext 2.0 Released
I have been updated tonight but some troubles.
You can read in my blog a detailed post about.
I'm not able to use the new section in the web config










And I'm running SubText with NET 3.5
Do you know what?
Requesting Gravatar... Dave Sussman Aug 17, 2008 4:03 AM
# re: Subtext 2.0 Released
Phil

I've a few problems upgrading too, on IIS7. Most of it's working fine (although not yet live), but some of the admin links don't work. For example, blogs.ipona.com/davids/Admin/Posts gives a 404, almost as though the default document isn't set up in IIS, but I've checked this and it definitely is. Typing in default.asx on the end of the url works. The same happens for the Articles and Feedback links.

Any ideas?

Thanks

Dave
Requesting Gravatar... Jim Aug 17, 2008 10:48 AM
# re: Subtext 2.0 Released
Great job guys! I look forward to findigng the time ot upgrade my site.
Requesting Gravatar... Michael Cook Aug 18, 2008 3:26 PM
# re: Subtext 2.0 Released
I appreciate the hard work you guys put into this project, but I don't think this one was ready to be release just yet.

I'm upgrading my blog(s) from the previous version, on my Crystal Tech site (shared hosting). First, I got his with the infinite "click here to upgrade" (which I got last upgrade too).

So I resorted to the sql scripts, which weren't in a state to run and after editing still didn't catch all of the changes. So I attached to the new install db and sql diffed and worked back from there.

After all that, I fire it up and immediately hit a Security Exception and that's where I'm currently stuck.

I just have to wonder if anyone actually tested this on a medium trust site, which I'd imagine many of your users are trying to run it on.

I know I'm being harsh -and once these issues are ironed out, I'm sure it will be rock solid - but the out-of-box experience is just terrible right now.
Requesting Gravatar... Michael Cook Aug 19, 2008 2:20 PM
# re: Subtext 2.0 Released
Just wanted to post an update that I was able to get past the security exceptions by checking out the latest source from svn and building it.
Requesting Gravatar... Michele Aug 20, 2008 3:35 AM
# re: Subtext 2.0 Released
Great job! Looking for some time to upgrade and port some db customization. How can I propose them to you?
Requesting Gravatar... fisher Aug 21, 2008 12:38 AM
# re: Subtext 2.0 Released
does subtext support multiple weblog in a single installation?

what should i do?
thanks
Requesting Gravatar... haacked Aug 21, 2008 8:30 AM
# re: Subtext 2.0 Released
@Michele Go to the Subtext project on SourceForge and use the issue tracker there to propose them.

@fisher yes, log into the /HostAdmin section.
Requesting Gravatar... Jon Galloway Aug 21, 2008 9:25 AM
# re: Subtext 2.0 Released
I wrote up a post on the OpenID features in Subtext 2.0. Please feel free to link it from the feature list above, as my website policies now allow for deep linking provided you sign a disclosure form.
Requesting Gravatar... Gary Davis Aug 30, 2008 5:01 PM
# re: Subtext 2.0 Released
I have dragon's problem:

>> i've tried to upgrade from 1.9.3 to 2.0.0 and got stuck with message "... is curently upgrading... if you are a host admin click here..." and when I click, I am redirected to same page again.

However, before I got to that problem, I had several element deletes I had to do to the web.config related do duplicate entries that seemed to be due to Ajax 1.0 according to the comments. After several attempts of deleteing lines, I finally got to the "...is currently upgrading..." page.

I downloaded the manual scripts but am not sure how or which to run. I am upgrading from 1.9.5 to 2.0.

I am using IIS7 and SQL 2008.

I first tried using Installation 2.0 which got errors like this:

The specified schema name "" either does not exist or you do not have permission to use it.

I looked at some tables and the TABLE_SCHEMA column had 'dbo' and not '' as some of your statements are looking for.

I had upgraded SubText a few times before up to my current 1.9.5.

How can I fix this?

Thanks,
Gary Davis
Requesting Gravatar... Gary Davis Aug 30, 2008 5:10 PM
# re: Subtext 2.0 Released
Some text from above got lost due to brackets:

The specified schema name "<dbUser,varchar,dbo>" either does not exist or you do not have permission to use it.

I looked at some tables and the TABLE_SCHEMA column had 'dbo' and not '<dbUser,varchar,dbo>' as some of your statements are looking for.

Gary
Requesting Gravatar... Cory Sep 01, 2008 7:35 AM
# re: Subtext 2.0 Released
Does Subtext support VistaDB databases?
Requesting Gravatar... haacked Sep 01, 2008 10:37 AM
# re: Subtext 2.0 Released
@Cory, we've never tested with VistaDB.
Requesting Gravatar... MHale Sep 01, 2008 1:37 PM
# re: Subtext 2.0 Released
Wicked nice! I did notice a few issues when using the source code and doing a "Publish"... a lot of the ascx files don't get copied to the server. I still haven't figured out the why, but it results in the behavior Dave reported above (404 errors on any subdir without the default.aspx) The homepage.ascx files don't get published, which the default handler relies on. Very small issue on an otherwise smooth transition. Love it!
Requesting Gravatar... MHale Sep 01, 2008 2:36 PM
# re: Subtext 2.0 Released
Turns out the 404 was actually because of the missing IIS custom error.... either way, it works great. :)
Requesting Gravatar... Gary Davis Sep 02, 2008 5:50 PM
# re: Subtext 2.0 Released
Well, I got the upgrade working. Basically, it all came down to the web.config. Using the source version and VS2008, I changed the target from Framework 2.0 to 3.5, published to my Win Server 2008 and that got Subtext 2.0 to work with a temporary fresh database.

I then changed the connection back to the old database and retried the upgrade and now the upgrade worked. The upgrade did a step that may not be in the manual zip file of sql scripts - it did a schema upgrade as the first step.

Thanks,
Gary
Requesting Gravatar... Daniel Chow Sep 02, 2008 11:14 PM
# re: Subtext 2.0 Released
Good job!
Requesting Gravatar... Daniel Chow Sep 02, 2008 11:46 PM
# re: Subtext 2.0 Released
I have a suggest for subtext to create static html files and to get dynamic access datas via ajax .
Requesting Gravatar... Wayne Sep 05, 2008 6:33 AM
# re: Subtext 2.0 Released
Great job! The feature that I most wanted when I first got on board is finally here: posting to a future date. Great job, guys!
Requesting Gravatar... Wayne L Sep 05, 2008 9:00 AM
# re: Subtext 2.0 Released
I tried to upgrade from 1.9.5 to 2.0 right after launch with no success. The problem seemed to stem from my blog being hosted on a shared environment (webhost4life). Has anyone had success in upgrading on a shared environment? If so, can you provide steps in overcoming any issues? I'd appreciate any tips you have. Thanks!
Requesting Gravatar... Chance Sep 10, 2008 6:11 AM
# re: Subtext 2.0 Released
Man you stay busy..

Have any plans on writing out subtext for MVC? :)
Requesting Gravatar... Tom Oct 03, 2008 11:30 AM
# re: Subtext 2.0 Released
Codeplex would be a great home for this project I think.
Requesting Gravatar... Arian Kulp Oct 16, 2008 3:30 PM
# re: Subtext 2.0 Released
I've just updated my site but it's just giving me SecurityPermission failed errors:

Request for the permission of type 'System.Security.Permissions.SecurityPermission' failed.

I'm not sure what to do now. I'm on a shared GoDaddy host. Any thoughts?

Thanks,
-Arian
Requesting Gravatar... Amrit Ray Nov 17, 2008 2:25 PM
# re: Subtext 2.0 Released
Can Subtext 2.0 be installed in a sub domain? I was reading through your release notes and it said you fixed some bugs for installing it in a sub domain. Does it mean it will work stable now in a sub domain?
Requesting Gravatar... Jayster Mar 16, 2010 2:53 AM
# re: Subtext 2.0 Released
Guys I just wanted to find out where the link is for this Subtext 2.0 I have been looking for it. And does it have roles and memeberships?

What do you have to say?

(will show your gravatar)
Please add 4 and 1 and type the answer here: