What's new

4.1.3 (41007) - 2018/11/19

Server

  • [Cluster] Fixed unexpected ConcurrencyException when using optimistic concurrency with deletions
  • [Cluster] Fixed possible high CPU issue when cluster loses the leader
  • [Configuration] Renamed Storage.OnCreateDirectory options to Storage.OnDirectoryInitialize
  • [Debug] Added more details to Debug Package
  • [ETL] Improved validation of added ETL tasks
  • [Indexing] Fixed indexing of large terms when using collation analyzer
  • [Indexing] Fixed index replacement handling
  • [Indexing] Better handling of EarlyOutOfMemoryException in indexing process
  • [Indexing] Improved memory allocation detection in indexing process
  • [Indexing] Fixed disposal of temp files created during indexing
  • [Logging] Disabled logging warning when reducing the size of compression buffers file when db is idle
  • [Patching] Clearing script runners cache when running in low memory
  • [Querying] Fixed not contains queries on empty collections
  • [Querying] Fixed in and between queries to take into account if index does not have 'exact' set on field
  • [Querying] Fixed loading of empty stored fields in projections
  • [Querying] Removed optimization of sort only queries
  • [Subscriptions] Protocol version detection to properly work against 4.0 version of the client
  • [Traffic Watch] Better tracking of failed queries
  • [Smuggler] Fixed @flags metadata when migrating from another database but skipping revisions or counters
  • [Smuggler] Fixed export of large counter values
  • [Voron] Fixed condition allowing to flushing when we a database is idle
  • [Voron] Fixed cleanup of recycled scratch buffers only when there is no open read transaction that is still using it
  • [Smuggler] Added the ability to filter out attachments or counters when doing smuggler import or export
  • [.NET Core] Updated to .NET Core 2.1.6

Client

  • [Cache] Fixed aggressive caching for POST requests
  • [Patching] Added BatchPatchCommandData command
  • [Projections] Fixed JS projections with dates
  • [Smuggler] Fixed returning progress of operations

Studio

  • [Connection Strings] Fixed detection of connection string can be removed
  • [Notifications] Delete by collection will display details in notification panel
  • [Setup Wizard] Setup Wizard was failing when we were not creating a new cluster but Studio Environment was set

4.1.3-patch-41006 - 2018/11/05

Server

  • [Cluster] node can be added to cluster only if both nodes can establish a connection to each other
  • [Compaction] Map-Reduce indexes cannot be compacted any longer because Map-Reduce mechanism relies on data format and position
  • [Compaction] index compaction can be properly stopped when database is shutting down or user cancels the operation
  • [Configuration] added Storage.OnCreateDirectory.Exec,Storage.OnCreateDirectory.Exec.ArgumentsandStorage.OnCreateDirectory.Exec.TimeoutInSec
  • [Configuration] added Indexing.TransactionSizeLimitInMb,Indexing.ScratchSpaceLimitInMb,Indexing.GlobalScratchSpaceLimitInMb and Indexing.MaxTimeToWaitAfterFlushAndSyncWhenExceedingScratchSpaceLimit
  • [Conflicts] fixed exception that could occur in suggest conflict resolution endpoint related to the invalid array detection
  • [Disk] fixed disk space calculation for symbolic links
  • [Embedded] support for old csproj format
  • [JSON] fixed Blittable JSON hash code calculation
  • [JSON] fixed escape char handling
  • [Indexing] better memory handling
  • [Indexing] better error handling
  • [Indexing] fixed collection name detection when WhereEntityIs is used
  • [Indexing] added the ability to limit the amount of scratch space that is used in indexing (locally and globally)
  • [Indexing] fixed issue with map-reduce not handling IDs with culture-specific characters properly
  • [Linux] fixed temporary file deletion issue
  • [Memory] better memory handling
  • [Migration] added 'SkipServerCertificateValidation' option
  • [Migration] added 'TransformScript' option
  • [SQL ETL] retying to open connection few times and properly disposing it
  • [Traffic Watch] better handling for failed queries
  • [Voron] added the ability to execute user-defined script before voron directory is created

Client

  • [Conventions] added FindProjectionPropertyNameForIndex convention
  • [Projections] fixed the issue with projecting single array field
  • [Request Executor] fixed possible NRE in timer inside Request Executor
  • [Serializer] fixed issue with using the serializer by multiple threads at once

Studio

  • [Cluster] added 'Test Connection' button to test if both nodes can establish a proper connection between each other
  • [Documents] clone with take into account attachments and counters from now on
  • [Storage Report] recyclable journals are counted as temporary files
  • [SQL ETL] added the ability to test deletion
  • better error handling

4.1.3-patch-41005 - 2018/10/22

Server

  • [Backup] fixed issue with sending backups to S3 eu-west-1
  • [Backup] backup restore operation will use proper inherited paths during execution
  • [Cluster] stability improvements
  • [Compaction] fixed issues with compaction crashing the Studio due to large amount of notifications sent at once
  • [Encryption] on database deletion secret key will be removed as well
  • [JSON] optimized JSON equals() implementation
  • [Memory] better memory management
  • [Memory] better memory management on x86
  • [Querying] proper support for Count when doing a collection query with starts with
  • [Querying] proper support for using comments inside 'update' and 'select' in RQL
  • [Querying] better invalid alias detection in RQL queries
  • [Notifications] fixed possible NRE during Notification storage initialization sequence
  • [Voron] fixed tree rebalacing on compressed pages, issue could result in map-reduce indexing error
  • [Voron] ensuring that disposed scratch files that are in recyclable area are removed on database dispose

Client

  • [Compare Exchange] identity properties should not be stripped when compare exchange is used
  • [Memory] fixed memory leak that could occur due to invalid memory fragment size calculation
  • [Suggestions] fixed issue wit using suggestions in async session
  • [Querying] fixed issue when OfType is used in projection and the identity property is fetched from wrong base type
  • [Querying] fixed issue with invalid RQL generation when Where+Any is used on a primitive type collection

Studio

  • [Backup] updated the list of S3 regions
  • [Custom Columns] custom columns order will be saved in local storage
  • [Traffic Watch] will display errors as errors
  • various fixes and stability improvements

4.1.2 (41004) - 2018/10/15

Server

  • [Backups] added the ability to skip indexes importing during creation database from backup
  • [Certificates] better certificate handling
  • [Configuration] new 'Storage.PrefetchBatchSizeInKb' and 'Storage.PrefetchResetThresholdInGb' configuration option
  • [Cluster] stability improvements
  • [CPU] fixed high CPU usage during idle state
  • [Embedded] on start command line arguments are cloned to avoid adding internal arguments to user defined options
  • [Embedded] in ASP.NET the 'AppContext.BaseDirectory' is not poiting to 'bin' folder, because of that if server file is not found in that location, also 'bin' will be checked
  • [ETL] properly handling multiple ETL scripts
  • [ETL] better detection for empty transformations
  • [ETL] better SQL ETL database connection handling
  • [ETL] added 'deleteDocumentsBehavior' method for generic deletion handling
  • [Indexing] added 'CreateField' that contains all variety of options for advanced usage
  • [Indexing] when 'default field options' are defined then 'default field values' will not be removed per each field for proper inheritance handling
  • [Indexing] fixed possible IndexOutOfRange in 'LastIndexOf' and 'LastIndexOfAny' string extensions in indexing functions
  • [Indexing] support for grouping by nested field values
  • [Indexing] fixed possible map-reduce error due to unhandled case in the reduce phase
  • [Indexing] fixed the possibility of skipping documents during indexing when in low memory condition and references are changed in meanwhile
  • [Linux] retry on EINVAL pwrite fail if cifs/nfs mount
  • [Memory] adjustments in memory utilization and management
  • [Patching] fixed issue with parsing and patching stored indexes values
  • [Patching] fixed null propagation on array methods
  • [Querying] fixed issues with sort-only queries not returning proper number of results or returning duplicates
  • [Querying] using 'group by' on an index query will result in an error
  • [Querying] support for 'fuzzy'
  • [Querying] support for 'proximity'
  • [Storage] better prefetching behavior
  • [Traffic Watch] added request body content
  • [Transactions] support for transaction recording
  • [.NET Core] updated to 2.1.5

Experimental

  • [Cluster Transactions] fixed issue with executing transaction on a database that was created in version 4.0.x
  • [JavaScript Indexes] added 'CreateField' that contains all variety of options for advanced usage

Client

  • [JSON] fixed change detection when original value was an array and new one is an object with '$type' property
  • [Operations] not setting 'DocumentStore.Database' will no longer cause DeleteByQueryOperation to throw
  • [Patching] 'session.Advanced.Increment' will generate a patch that checks if the original value is 'null' before concatenating the string
  • [Projections] support for a predicate in LINQ Count
  • [Projections] fixed Min/Max behavior on filtered empty collections
  • [Projections] ensure 'null' coalescing has parenthesis
  • [Smuggler] fixed issues in smuggler when no default database is set in 'DocumentStore'
  • [Store] storing 'new object()' should not set any collection, it should go to '@empty' one

Studio

  • various performance and stability fixes
  • layout fixes

4.1.1 (41003) - 2018/09/14

Server

  • [Backups] support for creation of database from legacy 'ravendb-incremental-dump' files
  • [Certificates] fixed cluster connection issues that could occur after automatic certificate replacement
  • [Changes API] more graceful shutdown procedure
  • [Embedded] fixed issues with accessing Studio when embedding in an ASP.NET Core application
  • [ETL] optimized SQL ETL deletions, will now reduce the amount of deletions that needs to be send and processed
  • [Indexing] fixed Map-Reduce performance degradation
  • [Indexing] added 'AttachmentsFor' and 'CounterNamesFor' methods to static indexes
  • [Linux] added 'PrivateClean' smap memory type to available memory calculations
  • [Memory] fixed low memory handling in 'ByteStringContext'
  • [Memory] better memory management
  • [Querying] fixed issues with optimized sort-only queries returning duplicate results
  • [Querying] added support for using @metadata.@last-modified in RQL for dynamic queries
  • [Voron Recovery] fixed issues with using the recovery tool an an empty database
  • [Voron Recovery] fixed issues with loading the database after recovery was done
  • [.NET Core] updated to 2.1.4

Experimental

  • [Counters] fixed issues with counter replication
  • [Counters] fixed issues with not cleaning up JavaScript patching engine from added counters, which would result in unwanted additions for next patching operations when engine would come from cache

Client

  • [BulkInsert] fixed issues with escaping ' and " characters in document Id
  • [Indexing] added 'AttachmentsFor' and 'CounterNamesFor' methods to AbstractIndexCreationTask
  • [Operations] not setting 'DocumentStore.Database' will no longer cause DeleteByQueryOperation<TEntity> to throw

Studio

  • support for downloading 'Additional Sources' in Index Edit View
  • better validation message for when disallowed characters are used in database name during database creation
  • hovering over database name on storage pie chart will highlight relevant record in the table
  • various performance and stability fixes
  • layout fixes