Skip to content

Latest commit

 

History

History
283 lines (179 loc) · 19.4 KB

CHANGELOG.md

File metadata and controls

283 lines (179 loc) · 19.4 KB

Changelog

For more recent versions, please refer to the corresponding release on GitHub: https://github.com/stphivos/django-mock-queries/releases

v2.1.7 (2021-09-12)

Full Changelog

Closed issues:

  • Release date 2.1.6 #131
  • Loosen model-bakery dependency #130
  • Support for QuerySet.iterator() #94

Merged pull requests:

v2.1.6 (2021-02-21)

Full Changelog

Closed issues:

  • MockSet constructor limited to 11 elements on Python 3.8 #125
  • Error if use order_by random #119
  • MockModel never "in" MockSet in Python 2.7 #117
  • Limit in MockModel number inside MockSet? #113
  • README.md typo #106
  • Filter with empty Q object doesn't work as expected #102

Merged pull requests:

v2.1.5 (2020-05-04)

Full Changelog

Closed issues:

  • Build is broken with pip 20.1 #111
  • Add support for Django 3 #104

Merged pull requests:

v2.1.4 (2020-03-02)

Full Changelog

Closed issues:

  • Values list doesn't act as expected #103

Merged pull requests:

v2.1.3 (2019-05-04)

Full Changelog

Closed issues:

  • Breaking changes in 2.1.2: ignored filtered elements #96

Merged pull requests:

  • Use compatible release clause in tox deps versions #100 (stphivos)
  • Add failing test with falsy comparable value #99 (stphivos)
  • Django Dependency Issues #98 (ish-vasa)
  • Fix 96: check if value is None, and do not rely on boolean conversion #97 (dannywillems)

v2.1.2 (2019-04-27)

Full Changelog

Closed issues:

  • Mocking serializer: ListSerializer object is not callable #91

Merged pull requests:

v2.1.1 (2018-08-09)

Full Changelog

v2.1.0 (2018-08-09)

Full Changelog

Closed issues:

  • MockSet doesn't seem to copy all of its related model's properties. #88

Merged pull requests:

  • Bump django version lock #89 (dmastylo)
  • Fix MockSet empty querysets evaluated to False when converted to bool in py27 #87 (stphivos)
  • Fix: Empty querysets should be evaluated to False when converted to boolean #86 (mannysz)
  • Missing range in comparisons list #85 (rbusquet)

v2.0.1 (2018-05-18)

Full Changelog

Closed issues:

  • Filter by attribute with False value is not working #83
  • Plans for releasing MockSet as a child of MagicMock? #81

Merged pull requests:

  • Fixing filtering with boolean fields. #84 (zuzelvp)

v2.0.0 (2018-04-21)

Full Changelog

Closed issues:

  • Incompatible with pip 10.0.0 #80
  • .distinct\(\) when using a regular model: 'ModelName has no attribute items` #77

Merged pull requests:

  • ISSUE-80 Added pip==10.0 compatibility #82 (khudyakovavi)
  • Adds support for update_or_create #79 (rbusquet)
  • Fix hash_dict to use concrete fields with django models #78 (stphivos)
  • Refactor maintainability issues on complexity part 2 #76 (stphivos)
  • Refactor maintainability issues on complexity part 1 #75 (stphivos)
  • Refactor more maintainability issues on duplication #74 (stphivos)
  • Refactor maintainability issues on duplication #73 (stphivos)
  • Attempt to improve performance of MockSet by reducing the use of MagicMock. #71 (zuzelvp)

v1.0.7 (2018-03-03)

Full Changelog

Closed issues:

  • Support for Django 2.0 #69
  • values().distinct()fails with TypeError: unhashable type: 'dict' #65

Merged pull requests:

  • Add support for Django 2 #72 (stphivos)
  • Add MockSet write event triggers, improve model mocker orm simulation. #70 (stphivos)
  • Feature/qs update delete #68 (stphivos)
  • Omit call to save in MockSet.create #67 (stphivos)
  • Improving implementation for distinct() #66 (zuzelvp)

v1.0.6 (2018-02-13)

Full Changelog

Closed issues:

  • AND operator is not handled properly causing random tests #60

Merged pull requests:

  • Add python 3.5 to build matrix #64 (stphivos)
  • Carta issues 60 and false positives #63 (stphivos)
  • Fix failing test due to hardcoded year value 2017 #62 (stphivos)
  • Issues 60 AND false positives #61 (zuzelvp)
  • Keep the previous name for decorated methods, functions and classes #58 (grabekm90)

v1.0.5 (2017-11-30)

Full Changelog

v1.0.4 (2017-11-30)

Full Changelog

Fixed bugs:

  • Support filtering on a values list subquery. #54 (donkirkby)

Merged pull requests:

  • MockSet earliest/latest fields args #57 (stphivos)
  • Not obligatory field parameter in latest and earliest query function #56 (grabekm90)
  • Fix a missed model parameter for MockSet in ModelMocker #55 (grabekm90)

v1.0.2 (2017-10-16)

Full Changelog

Merged pull requests:

  • Fix hardcoded requirement to six library #53 (stphivos)

v1.0.0 (2017-10-15)

Full Changelog

Closed issues:

  • Model.objects.create can't take an instance parameter #50
  • Q objects with negation #48

Merged pull requests:

  • Verify support of Django 1.11 #52 (stphivos)
  • Use function find_field_names to determine appropriate field names fo… #51 (stphivos)
  • Add support for Q objects with negation #49 (stphivos)
  • Added missing lookups #47 (szykin)
  • dates() and datetimes() support #46 (szykin)
  • Feature/range requirements #45 (stphivos)
  • Update model-mommy req #44 (orf)

v0.0.16 (2017-03-14)

Full Changelog

Merged pull requests:

  • Upload v0.0.16 to pypi #43 (stphivos)
  • Comparisons: regex, iregex, date, datetime rework. #42 (szykin)
  • Fix one-to-many field lookup to use model name #41 (stphivos)

v0.0.15 (2017-03-06)

Full Changelog

Merged pull requests:

  • Update missing qs methods, lookups, aggregations. #39 (stphivos)
  • Add support for nested fields to values and values_list #38 (stphivos)
  • Add support for aggregate on related fields #37 (stphivos)
  • MockOptions, get_or_create_with defaults #36 (szykin)
  • Add docs todo, remove completed decorators todo. #35 (stphivos)
  • Add some quirky queries supported by Django: pk is in a subquery and child is equal. #34 (donkirkby)
  • Raise specific DoesNotExist exception for the model. #32 (donkirkby)
  • Add decorators for unified method patching/replacement #31 (stphivos)
  • _meta, values(), values_list() #30 (szykin)
  • Add mocked_relations decorator for all related models. #28 (donkirkby)

v0.0.14 (2016-12-15)

Full Changelog

Merged pull requests:

v0.0.13 (2016-06-08)

Full Changelog

* This Changelog was automatically generated by github_changelog_generator