Ravendb

Latest version: v5.2.6

Safety actively analyzes 691168 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

5.2.6

Breaking changes 🔥

**Session methods - lazily.load() and include().load() - https://github.com/ravendb/ravendb-python-client/pull/210**
- set `object_type` argument as optional
- inverted the `object_type` and `key` arguments order
- `lazily.load()` now takes a **list** of `str` document IDs, not `*ids`

**'Id' property won't be stored at the server anymore - https://github.com/ravendb/ravendb-python-client/pull/211**
- Document id is still available as a value of the Id property, but the value is set after serialization
- Documents loaded as dict objects won't contain the Id key (still available via `session.advanced.get_metadata_for(...)["id"]` or `session.advanced.get_document_id()`)
- Custom from_json methods that have been setting the Id property should skip that step, as the Id property will be set to a valid value after the serialization

What's new 🌬️
- Added include time series API to subscription includes builder
- Storing a `dict`-document while providing document id collection prefix (e.g. `session.store({"Name":"Graziano"}, "Users/"}`) stores the document under valid collection (e.g. Users), not `"dicts"`
- Made `object_type` argument in `get_compare_exchange_values()` optional
- Fixed `load_starting_with_into_stream()` and made it return `bytes` stream, instead of passing it as an argument to be modified within the method itself
- Marked `object_type` argument as optional in many methods across the API
- Fixed a bug that caused an error when disposing uninitialized `RequestExecutor`
- Improved `session.time_series_for()` error messages

5.2.5

What's New

- Ensured **full compatibility** with RavenDB 6.0.x ⚡
- Time Series
- Session API (https://github.com/ravendb/ravendb-python-client/pull/186)
- Operations (https://github.com/ravendb/ravendb-python-client/pull/186)
- Time series indexes (https://github.com/ravendb/ravendb-python-client/pull/196)
- Including (https://github.com/ravendb/ravendb-python-client/pull/195)
- Rollups (https://github.com/ravendb/ravendb-python-client/pull/196)
- Creation of a document with server-generated GUID (https://github.com/ravendb/ravendb-python-client/pull/199)
- Revisions (https://github.com/ravendb/ravendb-python-client/pull/201)
- Configuration
- Crud
- Force revision creation
- Bulk insert (https://github.com/ravendb/ravendb-python-client/pull/202)
- Counters bulk insert
- Time series bulk insert
- HTTPS
- Secured changes API (https://github.com/ravendb/ravendb-python-client/pull/204)
- Multiple new useful operations & commands (https://github.com/ravendb/ravendb-python-client/pull/200, https://github.com/ravendb/ravendb-python-client/pull/203)
- ResetIndexOperation
- GetStatisticsOperation
- DeleteIndexErrorsOperation
- CreateSampleDataOperation
- ConfigureExpirationOperation
- ReorderDatabaseMembersOperation
- PromoteDatabaseNodeOperation
- NextIdentityForOperation
- SeedIdentityForOperation
- CompactDatabaseOperation
- ExplainQueryCommand
- GetIdentitiesOperation
- ToggleDatabasesStateOperation
- PutSortersOperation
- DeleteSorterOperation
- PutServerWideAnalyzersOperation
- DeleteServerWideAnalyzerOperation
- PutServerWideBackupConfigurationOperation
- GetServerWideBackupConfigurationsOperation
- GetServerWideBackupConfigurationOperation
- DeleteServerWideTaskOperation
- UpdateDocumentsCompressionConfigurationOperation
- GetLogsConfigurationOperation
- SetLogsConfigurationOperation
- SetDatabasesLockOperation
- PutServerWideSortersOperation
- DeleteServerWideSorterOperation



Breaking changes 💔
* Changed method name in spatial options - *GeographySpatialOptionsFactory.quad_prefix_tree_level* to *quad_prefix_tree_index* - https://github.com/ravendb/ravendb-python-client/pull/191/commits/243b2920db983a8fbbd7be4413861ddabd5e073d
* Removed duplicated `FacetTermSortMode` - [here](https://github.com/ravendb/ravendb-python-client/pull/191/commits/2f4ece21db4f8c1d3e06a9e7ad2c9d923c2d8395)
* aggregate_by_facets now takes a list of Facets - https://github.com/ravendb/ravendb-python-client/pull/191/commits/02346f52af69dbc82509c1b1ec7892fad45e4663

Improved typehints for:
- `LoaderWithInclude.load()`
- `attachments.store()`
- `session.advanced.attachments.get()`

Minor fixes for:
- Facets queries
- Spatial queries

The client is now being tested using **Embedded RavenDB Server** as a package!
https://github.com/ravendb/ravendb-python-embedded
It's a great tool for so many scenarios!



**Full Changelog**: https://github.com/ravendb/ravendb-python-client/compare/5.2.4...5.2.5

5.2.4

- Bulk insert dependencies [bugfix ](https://github.com/ravendb/ravendb-python-client/pull/184)

Available here https://pypi.org/project/ravendb/5.2.4/

5.2.3

- New feature - **Counters**
- [Counters indexes](https://github.com/ravendb/ravendb-python-client/pull/179)

Available here https://pypi.org/project/ravendb/5.2.3/

5.2.2

- **New feature - [Bulk insert](https://github.com/ravendb/ravendb-python-client/pull/161)**
- Bugfixes - Cluster-wide operations ([here](https://github.com/ravendb/ravendb-python-client/pull/166))

Available here https://pypi.org/project/ravendb/5.2.2/

5.2.1

- All previous changes mentioned in the [readme](https://github.com/ravendb/ravendb-python-client/blob/v5.2/README.md)
- Fixed plenty of serialization bugs while loading/querying

Available here https://pypi.org/project/ravendb/5.2.1/

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.