Skip to content

Releases: crate/cratedb-django

v0.1.0

02 Jan 16:18
a395868

Choose a tag to compare

What's Changed

  • fix: Narrow the size of UUIDField to length 36 by @surister in #44
  • feat: Add support for different column policies in ObjectField by @surister in #45
  • feat: Add support for AutoUUIDField by @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 CrateModel to CrateDBModel by @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

Full Changelog: v0.0.8...v0.1.0

v0.0.8

19 Dec 16:52

Choose a tag to compare

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 DEFAULT instead 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

15 Dec 20:22

Choose a tag to compare

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_by in 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_shards and clustered_by by @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 OFF syntax on column's db_index by @surister in #31

Full Changelog: v0.0.6...v0.0.7

v0.0.6

21 Jul 09:59
55eccd4

Choose a tag to compare

What's Changed

  • Relax logging from warning to info
  • CI: Run software tests each night to cover integration with CrateDB nightly by @amotl in #4

New Contributors

  • @amotl made their first contribution in #4

Full Changelog: v0.0.5...v0.0.6

v0.0.5

01 May 11:28
f6194b7

Choose a tag to compare

  • 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

29 Apr 18:02
73d6043

Choose a tag to compare

  • Add more tests and implement captured_queries utils to improve testing.
  • Make auto_refresh meta options to only refresh on inserts.
  • Automatically refresh any UPDATE statement.
  • 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

25 Apr 20:52

Choose a tag to compare

  • Implement CrateModel.Meta.auto_refresh, it sends a refresh table statement when the model is create or updated.
    Usage:
class MyModel(CrateModel):
    field = models.TextField()

    class Meta:
        auto_refresh = True # Default false

Full Changelog: v0.0.2...v0.0.3

v0.0.2

25 Apr 19:54
272ecf7

Choose a tag to compare

  • Add custom test setup, add some tests on models.
  • Update crate dependency to the latest
  • Refactor field and models submodule 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 = 10

Note: shards and auto_refresh are not implemented, only the mechanism to have them.

Full Changelog: v0.0.1...v0.0.2

v0.0.1

23 Apr 10:08
958c68a

Choose a tag to compare

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