Deprecated code paths removed in 8.0

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

We are aiming to remove code paths deprecated in earlier Confluence versions. This page lists the classes and methods we've removed in Confluence 8.0.

We will continue to update this page as we work towards the final version release.


Deprecated since 5.x

Status: REMOVED IN 8.0

  • com.atlassian.confluence.pages.AttachmentDownloadPathCache$AttachmentDownloadPathCacheKey
  • com.atlassian.confluence.pages.AttachmentUtils#getConfluenceAttachmentDirectory
  • com.atlassian.confluence.pages.persistence.dao.DraftDao#getDraft
  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateBlogPostDao#getBlogPost
  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateBlogPostDao#getBlogPosts
  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateDraftDao#getDraft
  • com.atlassian.confluence.pages.persistence.dao.SessionDraftDao#getDraft
  • com.atlassian.confluence.spaces.Space.BlogPostDao#getBlogPost
  • com.atlassian.confluence.spaces.Space.BlogPostDao#getBlogPosts
  • com.atlassian.confluence.spaces.Space.BlogPostDao#getBlogPostDates

Deprecated since 6.x

Status: REMOVED IN 8.0

Javascript globals:

  • $.fn.sizeToFit
  • AJS.Editor
  • AJS.PagePermissions.updateEditPageRestrictions
  • AJS.Rte.Content
  • AJS.Rte.TablePicker
  • Confluence.EditorNotification replaced by AMD confluence-editor/notifications
  • Confluence.Editor
  • Confluence.Editor.defaultInsertImageDialog
  • Confluence.Editor.Drafts
  • Confluence.Editor.ImageDialog
  • Confluence.Editor.insertImageDialog
  • Confluence.Editor.PageLayoutToolbar
  • Confluence.Editor.SearchManager
  • Confluence.Editor.UI
  • tinyMCEPopup, AMD tinymce/popup
  • tinymce.plugins.PageLayoutPlugin
  • tinymce.plugins.PageLayoutPlugin.PageLayout
  • tinymce.plugins.PageLayoutPlugin.PageLayout2

AMD modules:

  • confluence/editor-notifications
  • confluence-editor/editor/page-editor
  • confluence-editor/editor/page-editor-permissions
  • confluence-editor/editor/page-editor-ui
  • confluence-editor/insert-image-dialog/insert-image-dialog
  • confluence-editor/panel-components/panel-components-init
  • confluence-page-layout/pagelayout/page-layout
  • confluence-page-layout/pagelayout/page-layout-2
  • confluence-page-layout/pagelayout/tinymce-page-layout-toolbar
  • confluence-page-layout/pagelayout/tinymce-page-layout


Deprecated since 7.0.x

Status: REMOVED IN 8.0

  • com.atlassian.confluence.plugins.lookandfeel.SiteLogo#createFromAttachment
  • com.atlassian.confluence.pages.AttachmentDataStorageType#fromConfigurationString


Deprecated since 7.5.x

Status: REMOVED IN 8.0

  • com.atlassian.confluence.pages.attachments.CachingAttachmentDao

  • com.atlassian.confluence.pages.attachments.AttachmentCache

  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDaoFactoryBean#setIndexer

  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDaoFactoryBean#setAttachmentCache

  • com.atlassian.confluence.pages.AttachmentDownloadPathCache.java


Deprecated since 7.12.x

Status: REMOVED IN 8.0

  • com.atlassian.confluence.pages.persistence.dao.filesystem.UpdateAttachmentsOnFilesystemOnPageMoveListener
  • com.atlassian.confluence.pages.persistence.dao.filesystem.HierarchicalMultiStreamAttachmentDataFileSystem
  • com.atlassian.confluence.pages.persistence.dao.filesystem.FileSystemAttachmentDataDao
  • com.atlassian.confluence.pages.persistence.dao.filesystem.AttachmentDataFileSystemMigrationBackupHelper
  • com.atlassian.confluence.pages.persistence.dao.filesystem.AttachmentDataFileSystem
  • com.atlassian.confluence.pages.persistence.dao.filesystem.AttachmentDataFile
  • com.atlassian.confluence.upgrade.upgradetask.attachmentceo.AttachmentIdClashResolver$AttachmentIdClashResolver
  • com.atlassian.confluence.upgrade.upgradetask.attachmentceo.LegacyAttachmentDataFilesystems


Deprecated since 7.14.x

Status: REMOVED IN 8.0

  • com.atlassian.confluence.pages.persistence.dao.VersionedFileLocationResolver

  • com.atlassian.confluence.pages.persistence.dao.BootstrapAttachmentLocationResolver


Deprecated since 7.16.x

Status: REMOVED IN 8.0

  • com.atlassian.confluence.pages.DefaultAttachmentManager$DefaultAttachmentManager(com.atlassian.confluence.internal.pages.persistence.AttachmentDaoInternal,com.atlassian.confluence.core.persistence.ContentEntityObjectDao,com.atlassian.event.api.EventPublisher,com.atlassian.confluence.user.UserAccessor,com.atlassian.confluence.mail.notification.NotificationManager,com.atlassian.confluence.internal.relations.RelationManager,com.atlassian.confluence.api.service.retention.RetentionFeatureChecker,com.atlassian.confluence.internal.content.collab.ContentReconciliationManager)

  • com.atlassian.confluence.pages.DefaultAttachmentManager$DefaultAttachmentManager(com.atlassian.confluence.internal.pages.persistence.AttachmentDaoInternal,com.atlassian.confluence.core.persistence.ContentEntityObjectDao,com.atlassian.event.api.EventPublisher,com.atlassian.confluence.user.UserAccessor,com.atlassian.confluence.mail.notification.NotificationManager,com.atlassian.confluence.internal.relations.RelationManage,com.atlassian.confluence.api.service.retention.RetentionFeatureChecker)


Deprecated since 7.20.x

Status: REMOVED IN 8.0

  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDaoFactoryBean$HibernateAttachmentDaoFactoryBean
  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDaoFactoryBean#setSessionFactory
  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDaoFactoryBean#setEventPublisher
  • com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDaoFactoryBean#setCacheFactory
  • com.atlassian.confluence.search.v2.ContentSearch(SearchQuery query, SearchSort sort, SearchFilter searchFilter, ResultFilter resultFilter)

  • com.atlassian.confluence.search.v2.ContentSearch(SearchQuery query, SearchSort sort, SearchFilter searchFilter, int startOffset, int limit)

  • bucket.core.persistence.hibernate.HibernateHandle (will be relocated to com.atlassian.confluence.core.persistence.hibernate in 8.0)

  • com.atlassian.confluence.search.lucene.DocumentFieldName (replaced with com.atlassian.confluence.search.v2.SearchFieldNames in 8.0)

  • com.atlassian.confluence.search.v2.searchfilter (use the equivalent class that extends SearchQuery in 8.0)

  • com.atlassian.confluence.search.v2.SearchFilter (in favour of com.atlassian.confluence.search.v2.query.SearchQuery in 8.0)

  • com.atlassian.confluence.search.v2.AbstractChainableSearchFilter (use com.atlassian.confluence.search.v2.query.BooleanQuery as a replacement in 8.0)

  • com.atlassian.confluence.search.v2.lucene.mapper

  • com.atlassian.confluence.search.lucene.extractor (all Extractor classes will be relocated to com.atlassian.confluence.impl.search.v2.extractor in 8.0)

  • com.atlassian.confluence.search.lucene.extractor.BulkExtractor (relocated to com.atlassian.confluence.search.v2.extractor.BulkExtractor in 8.0)

  • com.atlassian.confluence.search.lucene.queryparser.QueryUtil (relocated to com.atlassian.confluence.search.v2 in 8.0)

Some implementation classes under com.atlassian.confluence.search.lucene may be moved to the internal package in 8.0 without a grace period.

  • com.atlassian.confluence.search.v2.query.ExistsQuery (replaced with com.atlassian.confluence.search.v2.query.FieldExistsQuery in 8.0)

  • com.atlassian.confluence.content.CustomContentSearchExtractor

  • com.atlassian.confluence.hosted.search.v2.searchfilter.ExcludePersonalInformationSearchFilter (use com.atlassian.confluence.search.v2.query.TermQuery(SearchFieldNames.CLASS_NAME, PersonalInformation.class.getName()) in 8.0)

  • com.atlassian.confluence.cache.hibernate.HibernateCacheFactory

  • com.atlassian.confluence.core.persistence.confluence.SessionFactoryTypeEnum

  • com.atlassian.confluence.core.persistence.confluence.SessionFactoryTypeThreadLocal

  • com.atlassian.confluence.core.persistence.hibernate.HibernateSessionManager

  • com.atlassian.confluence.core.persistence.hibernate.SimpleHibernateBatchOperationManager

  • com.atlassian.confluence.core.persistence.hibernate.TransientHibernateHandle#get(net.sf.hibernate.Session)

  • com.atlassian.confluence.content.persistence.hibernate.HibernateContentQueryFactory#getQuery(net.sf.hibernate.Session, java.lang.Object[])

  • com.atlassian.confluence.core.persistence.schema.hibernate.HibernateSchemaComparisonService#HibernateSchemaComparisonService(org.hibernate.engine.spi.SessionFactoryImplementor, com.atlassian.confluence.impl.core.persistence.hibernate.schema.ConfluenceSchemaHelper)

  • com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateConfig

  • com.atlassian.confluence.impl.propertyset.CacheAwarePropertySet

  • com.atlassian.confluence.impl.core.persistence.hibernate.ConfigurableLocalSessionFactoryBean#ConfigurableLocalSessionFactoryBean(com.atlassian.confluence.impl.core.persistence.hibernate.ConnectionProviderSupplier)

  • com.atlassian.confluence.impl.core.persistence.hibernate.ConfigurableLocalSessionFactoryBean#ConfigurableLocalSessionFactoryBean(java.util.function.Function)

  • com.atlassian.confluence.impl.core.persistence.hibernate.ConfigurableLocalSessionFactoryBean#getMetadata(org.hibernate.cfg.Configuration)

  • com.atlassian.confluence.impl.core.persistence.hibernate.ConfigurableLocalSessionFactoryBean#setLobHandler(org.springframework.jdbc.support.lob.LobHandler)

  • com.atlassian.confluence.importexport.impl.ConfluenceLocalSessionFactoryBeanForBackup#ConfluenceLocalSessionFactoryBeanForBackup()

  • com.atlassian.confluence.importexport.impl.ConfluenceLocalSessionFactoryBeanForBackup#ConfluenceLocalSessionFactoryBeanForBackup(com.atlassian.confluence.impl.core.persistence.hibernate.ConnectionProviderSupplier)

  • com.atlassian.confluence.importexport.impl.ConfluenceLocalSessionFactoryBeanForBackup#ConfluenceLocalSessionFactoryBeanForBackup(java.util.function.Function)

  • com.atlassian.confluence.importexport.xmlimport.persister.AbstractObjectPersister#getPrimitivePropertyValue(net.sf.hibernate.persister.ClassPersister, com.atlassian.confluence.importexport.xmlimport.model.PrimitiveProperty)

  • com.atlassian.confluence.importexport.xmlimport.persister.PersisterOperations#readId(java.lang.Class, java.lang.String, net.sf.hibernate.persister.ClassPersister)

  • com.atlassian.confluence.importexport.xmlimport.persister.PersisterOperations#literalTypeFromString(net.sf.hibernate.type.Type, java.lang.String)

  • com.atlassian.confluence.importexport.xmlimport.persister.ConfluenceUserPersisterFactory#ConfluenceUserPersisterFactory(com.atlassian.confluence.user.persistence.dao.ConfluenceUserDao, com.atlassian.crowd.embedded.api.CrowdDirectoryService, com.atlassian.crowd.embedded.hibernate2.InternalUserDao)

  • com.atlassian.confluence.upgrade.ddl.DropForeignKeyConstraintCommandFactory

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getSession(org.hibernate.SessionFactory)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getJdbcTemplate(org.hibernate.SessionFactory)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#isColumnPresent(java.lang.String, java.lang.String, org.springframework.transaction.PlatformTransactionManager, net.sf.hibernate.SessionFactory, com.atlassian.confluence.setup.BootstrapManager)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#isTablePresent(java.lang.String, org.springframework.transaction.PlatformTransactionManager, net.sf.hibernate.SessionFactory)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#runWithNewConnection(org.springframework.transaction.PlatformTransactionManager, net.sf.hibernate.SessionFactory, java.util.function.Function)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#withNewConnection(org.springframework.transaction.PlatformTransactionManager, net.sf.hibernate.SessionFactory, com.google.common.base.Function)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#withNewConnection(org.springframework.transaction.PlatformTransactionManager, org.hibernate.SessionFactory, com.google.common.base.Function)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getPrimaryKeyColumnName(org.springframework.transaction.PlatformTransactionManager, net.sf.hibernate.SessionFactory, java.lang.String)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getConnection(net.sf.hibernate.Session)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#filterToExistingTables(java.util.Set, org.springframework.transaction.PlatformTransactionManager, net.sf.hibernate.SessionFactory)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getSession(net.sf.hibernate.SessionFactory)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getDialect()

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getDialectV5()

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getJdbcTemplate(net.sf.hibernate.Session)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#getJdbcTemplate(net.sf.hibernate.SessionFactory)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#flush(net.sf.hibernate.Session)

  • com.atlassian.confluence.upgrade.upgradetask.DataAccessUtils#flushAndClear(net.sf.hibernate.Session)

  • com.atlassian.crowd.embedded.hibernate2.CriteriaFactory

  • com.atlassian.crowd.embedded.hibernate2.InternalUserDao

  • com.atlassian.crowd.embedded.hibernate2.batch.Hibernate2SessionFactory

  • com.atlassian.crowd.embedded.hibernate2.batch.SpringHibernate2SessionFactory

  • com.atlassian.crowd.embedded.hibernate2.batch.SpringHibernate2SessionFactory

Last modified on Nov 28, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.