Confluence 4.0 introduces a new XHTML storage format, API, and migration process from wiki markup to the new format. Content and macros will be automatically migrated to the new format, but anything that cannot be migrated will be wrapped in a macro. A custom migration can also be implemented. The document demonstrates the new features and encourages feedback on the alpha release.