Skip to content

Latest commit

 

History

History
415 lines (313 loc) · 15.9 KB

CHANGELOG.md

File metadata and controls

415 lines (313 loc) · 15.9 KB

3.0.0-alpha1

  • [NEW] #215: Upgrade to Sitecore 9.3

2.0.1

  • [FIX] #210: Standard field contains old values

2.0.0

  • [NEW] #205: Sitecore 9.1-9.2 support

2.0.0-beta2

  • [FIX] #172: [Breaking] Unable to add an item to the Media Library

2.0.0-beta1

  • [NEW] #202: Upgrade to Sitecore 9

2.0.0-alpha1

  • [NEW] #199: Updated references to AutoFixture and xUnit (thanks to @Tchami)

1.7.4

  • [NEW] #175: Obsolete FakeDb Provider Switchers
  • [FIX] #188: SC9: MediaManager no Provider property
  • [FIX] #195: Content search config in SC9 uses incorrect class name (restored)

1.7.3

  • [FIX] #200: Unable to set to the ValidFrom of the latest version

1.7.2

  • [FIX] #195: Content search config in SC9 uses incorrect class name

1.7.1

  • [FIX] #191: Added references to Sitecore pipelines necessary for testing updates to layout fields with Sitecore 9 (thanks to @AndyButland)

1.7.0

  • [FIX] #184: Restore obsoleted FakeDb Provider Switchers

1.6.1

  • [FIX] #181: Adding a meaningful error message if FakeDb.Serialization encounters a duplicated Item ID (thanks to @jermdavis)

1.6.0

  • [NEW] #175: Obsolete FakeDb Provider Switchers
  • [FIX] #173: Remove dependency from Sitecore SwitchingAuthenticationProvider

1.5.0

  • [NEW] #168: Switch from DataEngine Commands to DataProvider
  • [FIX] #166: Disposing Language Switcher fails if current Switcher<> is empty
  • [FIX] #165: Certain template inheritance combinations throw "field not found" error

1.4.1

  • [FIX] #163: Wildcard items issue

1.4.0

  • [NEW] #161: Add new languages to context database

1.3.5

  • [FIX] #158: Unable to substitute IDTable.GetKeys("prefix") by prefix method

1.3.4

  • [FIX] #156:Generate item statistics for all the specified languages (#155)

1.3.3

  • [FIX] #154: Upgrade FakeDb to Sitecore 8.2 Update-1

1.3.2

  • [FIX] #149: Toggle ZeroConfiguration property to fix config merging logic

1.3.1

  • [FIX] #148: GetPublishQueue returns empty IDList if no thread local value specified

1.3.0

  • [NEW] #147: Implement AddToPublishQueue and GetPublishQueue data provider methods

1.2.2

  • [FIX] #144: Fix DataEngine so that blob streams are set to position zero (thanks to mikeedwards83)

1.2.1

  • [FIX] #143: Blobs from FakeDB have different behaviour to SC

1.2.0

  • [NEW] #142: Introduce 'databaseType' config variable for switching to Sitecore 8.2

1.1.4

  • [FIX] #138: Adding item in non-en language doesn't work (thanks to @pveller)

1.1.3

  • [FIX] #136: Setting BranchID is not supported

1.1.2

  • [FIX] #133: nunitlite-runner.exe not exiting at the end of a test run

1.1.1

  • [FIX] #130: FakeDb.Serialization: Set proper ParentId when deserializing items
  • [FIX] #131: Unable to set a non-standard field value if the field name starts with '__'

1.1.0

  • [NEW] #129: Adding DbFields with standard values to DbTemplates

1.0.2

  • [FIX] #128: Unable to remove a specific item version

1.0.1

  • [FIX] #126: Remove Tracking field from the default configuration

1.0.0

  • [NEW] #125: Embed Sitecore configuration into FakeDb assembly

0.38.0

  • [NEW] #123: Context Site should be visible through Factory.GetSite()

0.37.0

  • [NEW] #118: Missing workflow initialisation
  • [FIX] #121: Issue with removing all versions of a second language

0.36.2

  • [FIX] #120: Cloning of a multi-language item

0.36.1

  • [FIX] #119: Adding Version/Cloning a language without a version creates 2 versions

0.36.0

  • [NEW] #71: Configure ContentSearchManager in unit tests (Sitecore 8.1 or later)
  • [NEW] #117: Unversioned fields
  • [NEW] #47: Wish: Add support of versioned/unversioned fields with a type

0.35.0

  • [NEW] #65: Add all the Sitecore Standard fields to the FakeDb Standard Template
  • [FIX] #115: Cloning support

0.34.0

  • [NEW] #113: Setting Database.Properties

0.33.0

  • [NEW] #103: FakeDb should support multiple parallel databases and not be affected by mocked HttpContext (thanks to @pveller)
  • [NEW] #107: FakeDb should treat workflow fields as standard template fields and don't generate templates and field items for them (thanks to @pveller)
  • [NEW] #104: Mocking the Bucket Manager (thanks to @michaelthyregod)

0.32.0

  • [NEW] #102: Add support for template field's Source field (thanks to @pveller)

0.31.6

  • [FIX] #100: Item.Template.Fields randomly fails assertions for generated templates (thanks to @pveller)

0.31.5

  • [FIX] #99: Adding an item under /sitecore/templates

0.31.4

  • [FIX] #97: Generating items using the 'modest' constructor prevents dependencies from being instantiated using AutoFixture

0.31.3

  • [FIX] #96: Referencing latest versions of AutoFixture causes version conflicts when updating Nuget packages

0.31.2

  • [FIX] #95: Auto generated item properties ignore [Frozen] attribute
  • [FIX] #94: The [Content] attribute adds all DbItem patameters to database
  • [FIX] #92: Common methods to maintain DbItem versions

0.31.1

  • [FIX] #90: Database.GetItem() should return latest version
  • [FIX] #91: item.Versions[Version.Latest] should return latest version

0.31.0

  • [NEW] #89: Mocking the LinkProvider

0.30.0

  • [FIX] #84: Changing a fake item's template does not work correctly
  • [NEW] #85: Rename ContentItemCustomization into AutoContentCustomization
  • [FIX] #86: AutoContentCustomization generates wrong item template

0.29.3

  • [FIX] #83:Calling item.Recycle() results in missing config node exception
  • [FIX] #78: Cannot read items from 'outer' db if 'inner' db is disposed

0.29.2

  • [FIX] #81: GetVersionsCommand fails with NullReferenceException if no DbItem found
  • [FIX] #82: Unable to set a cloned item source

0.29.1

  • [FIX] #80: Creating an Template Field item

0.29.0

  • [NEW] #43: AutoFixture integration

0.28.1

  • [NEW] #76: Register the __Page Level Test Set Definition analytics field
  • [FIX] #77: Standard Template should return empty BaseTemplates collection
  • [FIX] #79: Cannot set a field value for an item in Invariant language
  • [FIX] Revert "Merge pull request #73 from maxshell/issue/45-constructor-children"

0.28.0

  • [NEW] #45: DbItem constructor with children params (thanks to @maxshell)
  • [NEW] #75: FakeDb should try to 'guess' a field Id trying to parse an item name
  • [FIX] #68: Register the getFieldValue pipeline
  • [FIX] #69: Unclear exception message when creates an item using template id which is already in use
  • [FIX] #72: Cannot get a child item by path if the item is added using the Children collection

0.27.2

  • [FIX] #64: Cannot set and get the __Final Renderings field value (Sitecore 7.2)
  • [FIX] #67: Exception when trying to retrieve BaseTemplates

0.27.1

  • [FIX] #64: Cannot set and get the __Final Renderings field value

0.27.0

  • [NEW] #63: Deserialize tree of items with templates

0.26.2

  • [FIX] #59: Unable to get an item if there is a missing base template
  • [FIX] #61: Implement db.GetEnumerator()
  • [FIX] #62: NullReference exception when trying to add an item to a parent that does not exists

0.26.1

  • [FIX] #58: Versioned field value is not empty for item in Invariant language

0.26.0

  • [NEW] #26: Include configs
  • [NEW] #46: Wish: Add default field types to app.config
  • [NEW] #34: Automatic template generation needs to be a little smarter
  • [NEW] #52: Allow reuse of generated templates across all items, not only siblings
  • [FIX] #54: Adding a duplicated item throws an exception with a helpless message
  • [FIX] #55: Deserialize item fails if there is an item with the same id
  • [FIX] #56: Deserializing a linked template throws an error if the '__BaseTemplates' field is null

0.25.3

  • [FIX] #49: Unable to edit an empty item field inherited from a base template
  • [FIX] #50: Update tests to xunit2

0.25.2

  • [FIX] #48: Deserialization of base templates broken in latest version

0.25.1

  • [FIX] #44: Fix Template.OwnFields

0.25.0

  • [NEW] #40: Create a protected item
  • [NEW] #41: Auto-translate should be disabled by default
  • [NEW] #42: Move database commands configuration out of the App.conifg file

0.24.0

  • [NEW] #36: Introduce strongly typed LinkField configuration
  • [NEW] #37: Added support for shortened paths in serialized data. (thanks to @hermanussen)
  • [FIX] #35: Item.DeleteChildren() throws NullReferenceException if no fake item found in DataStorage
  • [FIX] #39: Encapsulate thread local datastorage management in the DataEngineCommand class
  • [FIX] #38: Get rid of the DataStorage dependency in the PipelineWatcher class
  • [FIX] #30: Using provided NUnit runner in JetBrains TeamCity. Partially fixed, waiting for Sitecore update

0.23.0

  • [NEW] #32: Introduce IDTable provider switching
  • [NEW] #33: Specify item branch id
  • [FIX] #31: Use a higher level ItemManager.CopyItem() instead of ItemManager.Provider

0.22.0

  • [NEW] Implemented blob streams
  • [FIX] Fixed "Item Versions #28". Method ItemManager.AddFromTemplate() should create an item with a single version while ItemManager.CreateItem() just creates an item with no versions

0.21.0

  • [NEW] Switching database when initializing new Db context
  • [NEW] Introduced simple FakeSiteContext
  • [NEW] Published Symbol Packages
  • [FIX] Locked config to avoid race conditions when deals with in-memory settings or pipelines
  • [FIX] Fixed error when regestering the same pipeline twice
  • [FIX] #25: Ensure Shared property of a field is properly propagated when FakeDb generates a template and also ensure copying an item carries it over (along with the Type property). Thanks to Pavel Veller

0.20.0

  • [NEW] Added possibility to register and call mocked pipeline processor
  • [NEW] Introduced 'addDbItem' pipeline
  • [FIX] Serialization pipeline configuration moved to the Serialization nuget package
  • [FIX] Fixed field value loosing when creating an item via ItemManager
  • [FIX] Fixed versions count updating when adding/removing versions

0.19.0

  • [NEW] #21: Added DsDbItem and DsDbTemplate for using deserialized data in tests (thanks to Robin Hermanussen)
  • [NEW] #22: Add field propagation from all inherited templates and refactor the way FakeDb works with fields (thanks to Pavel Veller)

0.18.1

  • [FIX] Added Link Manager registration

0.18.0

  • [NEW] Introduced Item Statistics
  • [FIX] Share auto-generated templates for siblings only
  • [FIX] Fixed item version removing
  • [FIX] Fixed item languages retrieving

0.17.0

  • [NEW] Implemented limited Sitecore Fast Query support

0.16.1

  • [FIX] Fixed issue when template data might be lost
  • [FIX] Clean CorePipelineFactory cache on db disposing
  • [FIX] Fixed item children deleting

0.16.0

  • [NEW] Implemented security settings inheritance. Ingroduced "__Secutiry" standard field
  • [NEW] Implemented Shared fields support
  • [NEW] Implemented Fake Membership Provider
  • [FIX] FakeDataProvider has got thread local DataStorage to solve concurrency issues
  • [FIX] Fixed item versioning issue

0.15.0

  • [NEW] Implemented Fake Authorization Provider
  • [NEW] Implemented Fake Role Provider
  • [NEW] Implemented Fake RolesInRoles Provider
  • [FIX] DataEngine commands became thread local to solve concurrency issue

0.14.0

  • [NEW] Implemented context user switching
  • [NEW] Reconfigured authentication provider
  • [NEW] Introduced FakeUserProfile. Thanks to Pavel Veller
  • [NEW] Implemented item locking

0.13.0

  • [NEW] Implemented Link Database, Task Database and Media Provider switchers
  • [NEW] Implemented fake text translation
  • [NEW] Introduced Sitecore Query support
  • [FIX] Implemented deep copy
  • [FIX] Default language is set to "en-US"
  • [FIX] Settings return empty string as default value
  • [FIX] Fixed pipeline watcher initialization which allows to use "WhenCall" and "Then" blocks ignoring "WithArgs" part

0.12.0

  • [NEW] Implemented item moving
  • [NEW] Implemented item copying
  • [NEW] Added Link and Task database stubs
  • [FIX] Db disposing actions have been moved to "releaseFakeDb" pipeline
  • [FIX] Fixed settings resetting

0.11.1

  • [FIX] Fixed monitroing of multiple pipeline calls

0.11.0

  • [NEW] Added the ability to work with fields by ID. Resolve names automatically for certain standard fields. Add a test showing how standard values work on the layout fields (layout deltas). Thanks to Pavel Veller
  • [NEW] Added support for GetLanguages() to FakeDataProvider and make it return only one "en" language. Thanks to Pavel Veller
  • [NEW] Added '/sitecore/media library' and '/sitecore/system' items as part of initial DataStorage setup. Thanks to Pavel Veller
  • [NEW] Added support for field types. Thanks to Pavel Veller
  • [NEW] Added basic support for templates hierarchies. No fields propagation, just BaseIDs and Template.InheritsFrom(). Thanks to Pavel Veller
  • [NEW] Implemented RemoveVersionCommand
  • [FIX] Fixed creating and editing items of predefined templates
  • [FIX] Fixed adding first item version

0.10.4

  • [FIX] Hidden setter for DbField.ID property
  • [FIX] Fixed Folder template name
  • [FIX] Added temporary fix which resets global templates that might be shared across unit tests

0.10.3

  • [FIX] Fixed field name loosing in some scenarios
  • [FIX] Fixed getting children of the content root item

0.10.2

  • [FIX] Fixed template id setting via DbItem constructor

0.10.1

  • [FIX] Clean up received calls for provider mocks
  • [NEW] Added Folder template

0.10.0

  • [NEW] Introduced NSubstitute-based mocks for authentication, authorization and bucket providers
  • [FIX] db.GetItem() can return an item by id passed as a string value

0.9.1

  • [FIX] Fixed database initialization exception appeared when adding two items with two similar set of multiple fields
  • [FIX] Simplified standard values implementation

0.9.0

  • [NEW] Implemented versioned item initialization. Implemented version adding
  • [NEW] Added Standard Values support (thanks to Pavel Veller)
  • [NEW] Implemented fakes for System.Web.*Provider (thanks to Pavel Veller)
  • [FIX] Restored single instance configuration for databases

0.8.0

  • [NEW] Added possibility to configure and call pipelines

0.7.1

  • [FIX] Updated installation instructions
  • [FIX] Updated Getting Started code samples
  • [FIX] Changed default license.xml file path. Now it is set to the root of a test project

0.7.0

  • [NEW] Added possibility to configure settings in memory

0.6.4

  • [FIX] Fixed concurrency issues caused by a single database instance shared across tests

0.6.3

  • [FIX] Fixed creating and configuring of items in a specific language

0.6.2

  • [FIX] Removed inheritance from Sitecore Database class
  • [FIX] Fixed item path updating after rename
  • [FIX] Default item language is set to 'en'

0.6.1

  • [FIX] Fixed namespace conflict in DbItem constructors

0.6.0

  • [NEW] Can create an item of specific template
  • [NEW] Share templates between items with similar fields
  • [NEW] Db.GetItem() can now get items by id

0.5.0

  • [NEW] Introduced basic item access confuguration
  • [NEW] Readme with examples included into package

0.4.0

  • [NEW] Configured switching authorization provider so that it can be substituted with a mock

0.3.0

  • [NEW] Introduced multilingual item configuration

0.2.0

  • [NEW] Added possibility to set database name in FakeDb constructor
  • [NEW] Added content search confguration so that one can mock search indexes in unit tests
  • [NEW] Added analytics visitor configuration so that one can set current visitor mock in unit tests
  • [NEW] Added authentication provider stub so that any request to AuthenticationManager returns dummy data

0.1.0

  • Initial release