New BlogEngine.NET release coming up

Jul 21, 2008

Although it’s not more than three weeks since BlogEngine.NET 1.4 was released, we have no choice but to release a new version. There was a security issue which was fixed at made available for download and some huge edge case bugs as well. Also, the memory leak fix needed to be part of an official new release.

Fixes

Below are listed some major fixes and a description of what the problem was and who it effects.

The profile provider

If you we running in medium trust, the profile provider threw a security exception because medium trust doesn’t allow reflection. The ASP.NET build-in profile provider base class uses reflection, so we couldn’t just rewrite the feature without reflection. We had to totally recreate it without the ASP.NET profile provider model.

The widget framework

The medium trust issues continued in the widget framework, but only if you used the database provider. Again, this was due to the fact that medium trust environments doesn’t allow for reflection. Basically, we didn’t test the medium trust environment properly – if not at all – prior to release. The JavaScript that pops up the editor has also been tweaked so it now shows correctly in all browsers.

It wasn’t possible to write widgets that performs postbacks or client callbacks. It is now.

Create new user

When a new author was added they couldn't log in. This bug only figured in the XML membership provider when passwords where configured to be hashed in the web.config.

Broken links

In versions earlier than 1.4, the post links generated from a title could contain three hyphens in a row. In 1.4 it no longer did this because it made the URLs prettier and easier to read. However, it broke the old links from external sites. The upcoming release will also not generate URLs with three consecutive hyphens, but it will parse them correctly so no old links will break.

There are many other minor bugs that have been fixed.

New features

It’s not only bug fixes that made it into the upcoming release. Some new features have been added as well.

Filter by APML

As a semantic web freak, this is a feature I’m very proud to introduce to BlogEngine.NET. You can now filter the posts of a blog by your own APML file. An APML file is a prioritized list of your own interests represented in XML. All BlogEngine.NET 1.4+ users have such a file auto generated and it’s called /apml.axd. You only have to enter your blog URL and BlogEngine.NET will then find your APML using auto-discovery like the browser does for RSS feeds. Try it by clicking the APML filter link on the top right of this page.

File upload directories

Files and images uploaded will now be placed in new folders that are named by the year and month. This could be /files/2008/07/example.doc. This will make backup easier.

Use raw HTML editor by default

Some people don’t like the TinyMCE editor or any other editor and prefer to enter their own HTML. Now there is a switch that remembers your preferences and allows you to write your own HTML.

Force SSL in the MetaWeblog API

When you use Windows Live Writer or another editor through BlogEngine.NET’s MetaWeblog API you have always sent your username and password in clear text. This is the normal way that almost every blog platforms use. If you have a server certificate that allows you to run SSL, it is now possible to flip a switch that forces Windows Live Writer to send the data securely to your blog.

Other tweaks

  • Uncategorized posts are now shown in the archive
  • Calendar widget now works the first time it is added
  • Posting from Windows Live Writer now posts in the correct time zone
  • Users can now be edited again from the admin section
  • JavaScript removed from page and placed in blog.js for smaller page sizes
  • hCard microformat added to comments
  • HTTP compression of WebResource.axd (can be switched off)
  • Switch added to prefix post titles with blog name or not (SEO stuff)
  • Performance boost to CSS, image, file and JavaScript handlers by using 304 headers

I’m very sorry that this new release is necessary, because it is due to lack of a longer test phase. I do hope these new features will soften the fall a bit. Remember, if you are running the XML provider in full trust, then you might never have noticed any of the issues and might not need the upgrade. I do hope everybody will upgrade anyway, since it is a more stabile system with some new cool features. It's planned for download in a week.

* Only $4.95/month ASP.NET & Windows 2008 + IIS 7 Hosting! FREE SQL Included

Comments (14) -

Muhammad Mosa
Muhammad Mosa Egypt
7/21/2008 8:40:38 PM #

Great Mad, that would be a major release.
Thankfully I didn't face much troubles with the 1.4
Good job guys

Mike Borozdin
Mike Borozdin Russia
7/22/2008 11:38:16 AM #

Looking forward to get it.

Huu Bang
Huu Bang Singapore
7/22/2008 1:42:15 PM #

Are there many changes that I have to make to upgrade? I've just finished upgrading and it'll be painful to do it again. Anyway, I will upgrade when the new released comes

Mike van Zandwijk
Mike van Zandwijk Netherlands
7/23/2008 6:45:43 PM #

I apologize for the lack of medium trust testing from my side.

My home connection is still down (now due to ISP switching) which might take another 2-3 weeks. A slow GPRS connection is all I've got until then.

Again, I'm sorry and hope to be up & running soon.

Cheers,
Mike

Janko
Janko Serbia and Montenegro (Former)
7/24/2008 9:23:42 AM #

Great news!

aglaser
aglaser Switzerland
7/24/2008 6:50:09 PM #

Thank you guys for your work. Thats really great! Smile

Abe Cardenas
Abe Cardenas United States
7/26/2008 3:02:46 AM #

Thanks for the great work and for all your effort.

Some.Net(Guy)
Some.Net(Guy) United States
7/28/2008 3:21:54 PM #

Mads -

Around when will the new version be released? I'm building a site that is going to use this as its base, but I would like to wait for the new release if I could.  Also, will there ever be MySQL support for the database?

Thanks!

Mads Kristensen
Mads Kristensen Denmark
7/28/2008 5:37:44 PM #

@Some.Net(Guy)

It will be released in a few days time. It has support for MySQL already. You can check out how to implement it here nyveldt.com/.../...eNET-14-with-MySql-Why-not.aspx

Alex Tafoya
Alex Tafoya United States
7/29/2008 3:14:41 AM #

I've been using the latest source I could get my hands on, and I have a SQL install working well GoDaddy. For anyone thats interested, GoDaddy runs a "custom" medium trust that allows for (a few) more services than the default medium trust. It's kind of a pain rewriting/recompiling everything to accommodate their security, but it is definitely doable. Keep up the great work Mads!

mikedopp
mikedopp United States
7/30/2008 5:45:04 PM #

Will 1.4.1 be compatible with 1.3 themes? I know I am lazy and don't want to update my theme.
Thanks,
  Mike

Some.Net(Guy)
Some.Net(Guy) United States
7/31/2008 8:49:13 PM #

Thanks for the reply, Mads. I'll be anxiously awaiting the release!

Amr Elsehemy
Amr Elsehemy Egypt
8/2/2008 8:08:24 AM #

Works with godaddy shared hosting with no problems god job guys.

Tomi Yahya C
Tomi Yahya C Indonesia
8/22/2008 8:00:14 AM #

Good work guys.
Work fine on webhost4life, shared hosting, both on SQL and MYSQL.
Could we create 2 widget section(2 sidebar)?

Thank's.

Pingbacks and trackbacks (4)+

Comments are closed

About the author

Mads Kristensen

Mads Kristensen
Program Manager at the Microsoft Web Platform team and founder of BlogEngine.NET.

More...

Month List

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.