Releases: crate/cratedb-django
Releases · crate/cratedb-django
v0.1.0
What's Changed
- fix: Narrow the size of
UUIDFieldto length 36 by @surister in #44 - feat: Add support for different column policies in ObjectField by @surister in #45
- feat: Add support for
AutoUUIDFieldby @surister in #47 - feat: Add authentication by @surister in #52
- chore: Replace black with ruff and fix import declarations and f string by @Dvdandrades in #54
- feat: Support CompositePrimaryKey by @surister in #58
- chore: Rename
CrateModeltoCrateDBModelby @surister in #59 - feat: Implement scalar functions: abs, upper, lower, reverse by @talhakiriiss-cyber in #61
- chore: Align integer field ranges with CrateDB limits by @vidhiii1711 in #60
New Contributors
- @Dvdandrades made their first contribution in #54
- @talhakiriiss-cyber made their first contribution in #61
- @vidhiii1711 made their first contribution in #60
Full Changelog: v0.0.8...v0.1.0
v0.0.8
What's Changed
- Feat/generated columns by @surister in #34
- chore: improve DEVELOPMENT.md instructions by @surister in #33
- fix: Fix generated columns not being inserted correctly by @surister in #40
- tests: Add method to compile insert statements by @surister in #39
- fix: Use
DEFAULTinstead of generated columns to avoid non-deterministic scalar re-hydration by @surister in #41 - feat: Add support for bigint/smallint autofields by @surister in #43
Full Changelog: v0.0.7...v0.0.8
v0.0.7
What's Changed
- docs: Add more details on how to use the project in README.md by @surister in #8
- chore: Fix formatting issues by @surister in #11
- chore: Update Python versions in GitHub Actions workflow by @surister in #10
- fix: conftest cleanup now doesn't pick up abstract model classes class by @surister in #15
- fix: Set default values when Model does not specify cratedb attributes. by @surister in #18
- feat: implement
partition_byin class meta options by @surister in #20 - test: Add tests on auto id generation by @surister in #23
- feat: Implement clustered tables' options in Meta:
number_of_shardsandclustered_byby @surister in #22 - feat: First implementation of arrays by @surister in #26
- fix: Implement a base field for all django fields. by @surister in #30
- feat: Implement CrateDB's
INDEX OFFsyntax on column'sdb_indexby @surister in #31
Full Changelog: v0.0.6...v0.0.7
v0.0.6
v0.0.5
- Disable commits
- Add more tests
- Add UUID database function, we can now do:
class SomeModel(CrateModel):
id = models.TextField(primary_key=True, db_default=UUID())
some = models.TextField()Full Changelog: v0.0.4...v0.0.5
v0.0.4
- Add more tests and implement
captured_queriesutils to improve testing. - Make
auto_refreshmeta options to only refresh on inserts. - Automatically refresh any
UPDATEstatement. - Fix PK not being assigned to the model on newly created objects.
- Add CONTRIBUTING.md.
Full Changelog: v0.0.3...v0.0.4
v0.0.3
- Implement CrateModel.Meta.auto_refresh, it sends a
refresh tablestatement when the model is create or updated.
Usage:
class MyModel(CrateModel):
field = models.TextField()
class Meta:
auto_refresh = True # Default falseFull Changelog: v0.0.2...v0.0.3
v0.0.2
- Add custom test setup, add some tests on models.
- Update
cratedependency to the latest - Refactor
fieldandmodelssubmodule path - Add custom Metaclass to add custom settings to the model's meta class, example
class MyModel(CrateModel):
name = models.TextField()
class Meta:
app_label = 'myapp'
auto_refresh = True
shards = 10Note: shards and auto_refresh are not implemented, only the mechanism to have them.
Full Changelog: v0.0.1...v0.0.2
v0.0.1
First release of cratedb-django connector.
Django system migrations run successfully.
Inserts/Deletes/Updates in the ORM work.
Full Changelog: https://github.com/surister/cratedb-django/commits/v0.0.1