With the release of Drupal Commerce RC1 I thought it was time to get the RC1 out as well.
I've done a major rewrite of the module, removing support for the old style shipping method implementation in favor of the ctools plugin type shipping method. The work in converting such a method is very limited, as you should be able to copy and paste the callback functions into a class implementing them instead.
During this effort of removing support for the old shipping method implementation I was able to remove a lot of code, making the module a more light weight and easier to maintain - Yay.
I've created update hooks that should take care of removing the old shipping method rules if you have any (these are useless now anyways), and some tweaks were needed to the existing plugin type rules, as the naming have been changed a bit. If you have settings you want to preserve from the old type rules you will need to copy it into the new ones you create before running the update function.
I have tested this but with limited data, so I would like to call out for users to test the upgrade and report any bugs or errors. If nothing blows up, I'll make a new release in a a few days.
In the last few days I've also rolled out a few new features, the latest i a shipping customer profile that can be used for shipping address and the ability for plugins to define their own price component that will be used for the shipping line items created by it.
To get an idea of the extent of the changes, you can see the diff of what I call the rewrite here: http://drupalcode.org/project/commerce_shipping.git/commitdiff/f7eae65?h...
Comments
Comment #1
kthullThe upgrade worked well for me. I had to reconfigure my methods, as advertised, but other than that, no issues here. Thanks much!
Comment #2
guy_schneerson commentedWorks great,
The flat rate shipping works perfectly with my multi currency site as it picks up the currency code from the balance (nice)
I like the new shipping customer profile
I had one small error when viewing a completed order will raise an issue
Thanks for a great module
Comment #3
pauleb commentedDocumentation in the example module is also a lot clearer - at least for me!
Updating was quite easy.
thanks!
Comment #4
googletorp commentedThe new release of commerce shipping will go online any time: http://drupal.org/node/1241568
Comment #5.0
(not verified) commentedAdded commit link