What's new

4.0.9-patch-40054 - 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
  • [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
  • [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
  • [Linux] fixed temporary file deletion issue
  • [SQL ETL] retying to open connection few times and properly disposing it

Client

  • [Conventions] added FindProjectionPropertyNameForIndex convention
  • [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
  • [Storage Report] recyclable journals are counted as temporary files

4.0.9-patch-40052 - 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
  • [Encryption] on database deletion secret key will be removed as well
  • [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
  • [Voron] fixed tree rebalacing on compressed pages, issue could result in map-reduce indexing error
  • [Voron] ensuring that disposed scratch files that are in recycable area are removed on database dispose

Client

  • [Memory] fixed memory leak that could occur due to invalid memory fragment size calculation
  • [Suggestions] fixed issue wit using suggestions in async session

Studio

  • [Backup] updated the list of S3 regions
  • [Traffic Watch] will display errors as errors

4.0.8 (40051) - 2018/10/15

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
  • [Certificates] better certificate handling
  • [Changes API] more graceful shutdown procedure
  • [ETL] optimized SQL ETL deletions, will now reduce the amount of deletions that needs to be send and processed
  • [ETL] properly handling multiple ETL scripts
  • [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 issues with the possibility to not preserve modified properties
  • [Patching] fixed issue with parsing and patching stored indexes values
  • [Patching] fixed null propagation on array methods
  • [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.5

Client

  • [Bulk Insert] fixed issues with escaping ' and " characters in document Id
  • [Operations] not setting 'DocumentStore.Database' will no longer cause DeleteByQueryOperation to throw
  • [Operations] 'ConfigureExpirationOperation' will now return proper result
  • [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
  • [Store] storing 'new object()' should not set any collection, it should go to '@empty' one

Studio

  • various performance and stability fixes
  • layout fixes

4.0.7 (40049) - 2018/08/31

Server

  • [Cluster] stability and performance improvements
  • [Encryption] fixed issues with encryption when 32 bit pager is used
  • [Encryption] updated libsodium to 1.0.16
  • [Indexing] fixed issue with grouping by multiple fields when a collection property is empty in Auto Map-Reduce indexes
  • [Indexing] fixed staleness detection for indexes that use LoadDocument
  • [Indexing] fixed staleness calculation when specific order of documents mixed with tombstones is in place
  • [Indexing] fixed issues with indexing references under low memory
  • [Indexing] fixed hash calculation for reduce key which could sometimes result in invalid Map-Reduce results
  • [Indexing] fixed issues with deploying Map-Reduce index with OutputReduceToCollection
  • [Indexing] Map-Reduce index with 'OutputReduceToCollection' will handle hash collisions properly
  • [Linux] fixed issue with supporting 4GB+ writes on 32-bit ARM
  • [macOS] fixed issues with database creation
  • [Patching] fixed issues with modified property not being preserved in certain situations
  • [Revisions] fixed possible issue with cleaning in-memory state of Revisions after transaction is rolled back
  • [.NET Core] bumped to 2.1.3

Client

  • [Conventions] new convention 'TopologyCacheLocation'
  • [Patching] fixed issues with adding items to collection when method with 'params' is used
  • [Projections] not supported methods (e.g. Single or SingleOrDefault) will throw instead of silently failing
  • [Projections] fixed issues with projecting property named 'Group'
  • [Projections] support for formatting using .ToString(format) and .ToString(format, culture)
  • [Subscriptions] filter conversion should not be culture specific

Studio

  • various performance and stability fixes
  • layout fixes

4.0.6 (40048) - 2018/08/03

Server

  • [Backups] database will no longer be unloaded when there is a backup task scheduled
  • [Backups] fixed restore backup operation to use default db location if not provided
  • [Certificates] various fixed and improvements in handling certificates
  • [Cluster] stability improvements
  • [CSV Export] add @id column to export file when no fields are provided
  • [Documents] throwing better exception if cannot delete a document due to recent change of its collection
  • [ETL] fixed handling of attachment deletions in Raven ETL by tracking attachment tombstones and sending 'AttachmentDELETE' command
  • [Indexing] fixed the issue with resetting index that had 'Output reduce to the collection' set
  • [Indexing] fixed possible index compilation errors caused by usage of 'SelectMany'
  • [Indexing] give indexing some time to finalize the batch on database unload
  • [Indexing] fixed possible issue when having two the same indexes using CreateField()
  • [Licensing] fixed issue with updating expired license when license service is temporary unavailable
  • [Linux] fixed pipes
  • [Querying] fixed possible ODE when querying during index replacement
  • [Querying] sorting by score by default if there are boosted fields and no ordering is specified
  • [Querying] when 'RQL load' is used, properly detect that value should be taken from index and not from document
  • [Replication] added the support for sending missing attachments
  • [Replication] fixed issue with preserving document ID casing after resolving a conflict
  • [Replication] fixed revisions replication issue
  • [Replication & Smuggler] fixed deletion of documents with attachments after import or replication
  • [Revisions] properly creating an attachment revision on revision put
  • [Setup] fixed PlatformNotSupported when registering a certificate on OSX
  • [Subscriptions] preventing race condition between one subscription finishing work and the other starting it
  • [TCP] fixed TCP protocol version negotiation
  • [.NET Core] updated to .NET Core 2.1.2

Client

  • [Conventions] added convention OperationStatusFetchMode
  • [HTTP] switched to SocketsHttpHandler
  • [HTTP] exposed 'RemoteCertificateValidationCallback' and marked 'ServerCertificateCustomValidationCallback' as obsolete
  • [Indexes] fixed various indexing function bugs caused by LINQ conversion
  • [LINQ] fixed handling of a query with multiple nested lets
  • [LINQ] fixed query generation when simple member projection is used
  • [Patching] support for patching 'uint', 'ulong', 'short' and 'byte'
  • [Querying] fixed caching issue for queries having LOAD or INCLUDE
  • [Session] session.Advanced.Exists should check already deleted ID in a given session

Studio

  • various performance and stability fixes
  • layout fixes