debian-django-watson/CHANGELOG.markdown

5.4 KiB

django-watson changelog

1.5.0 - 21/12/2017

  • Added --slim option to buildwatson command. This only includes objects which satisfy the filter specified during model registration (Dustin Broderick).
  • Added --batch-size option to buildwatson command. This controls the batch size for bulk-inserting search entries (Dustin Broderick).
  • Added --non-atomic option to buildwatson command. This removes the transaction wrapper from buildwatson, which can prevent timeouts on huge datasets for some server setups.

1.4.4 - 27/11/2017

  • Fixed stringifying objects in Python 3 (@danielquinn).

1.4.3 - 28/09/2017

  • Fixed escaping of '<' and '>' characters in PostgreSQL backend.

1.4.2 - 22/09/2017

  • Fixed caching of default search backend.

1.4.1 - 22/08/2017

  • Allowing joins to UUID columns in search() (@etianen).
  • Django 1.11 compatibility (@alorence).

1.4.0 - 07/07/2017

  • Multiple database support (@sorokins).
  • Minor tweaks and bugfixes (@unaizalakain, @moggers87).

1.3.1 - 03/04/2016

  • Fixed SearchContextMiddleware for Django 1.10.0 (@blodone).

1.3.0 - 19/12/2016

  • Added WATSON_POSTGRES_SEACH_CONFIG setting (@devxplorer).
  • Modernised codebase (@amureki).

1.2.4 - 07/11/2016

  • Improved escaping of queries on different backends (@amureki).

1.2.3 - 23/08/2016

  • Django 1.10 compatibility (@SimonGreenhill).
  • Minor tweaks and bugfixes (@johnfraney).

1.2.2 - 04/06/2016

  • Fixing filter() to work with text-based primary keys in postgres (Jeppe Vesterbæk).
  • Improvements to query escaping (@amureki).
  • Disabling prefetch-related optimization in built-in views to avoid buggy Django behavior (@etianen).

1.2.1 - 07/03/2016

  • Fixing AppNotReady errors when registering django-watson (@etianen).
  • Minor tweaks and bugfixes (@SimonGreenhill, @etianen).

1.2.0 - 03/12/2015

  • Breaking: Updated the location of search and registration methods. Prior to this change, you could access the these methjods using the following import:

    # Old-style import for accessing the search and registration methods.
    import watson
    
    # Use register and search methods from the watson namespace.
    watson.register(YourModel)
    watson.search("foo")
    

    In order to support Django 1.9, the search and registration methods have been moved to the following import:

    # New-style import for accesssing the search and registration methods.
    from watson import search as watson
    
    # Use register and search methods from the watson namespace.
    watson.register(YourModel)
    watson.search("foo")
    
  • Breaking: Updated the location of admin classes.

    Prior to this change, you could access the SearchAdmin class using the following import:

    # Old-style import for accessing the admin class.
    import watson
    
    # Access admin class from the watson namespace.
    class YourModelAdmin(watson.SearchAdmin):
        ...
    

    In order to support Django 1.9, the admin class has been moved to the following import:

    # New-style import for accesssing admin class.
    from watson.admin import SearchAdmin
    
    # Use the admin class directly.
    class YourModelAdmin(SearchAdmin):
        ...
    
  • Django 1.9 compatibility (@etianen).

1.1.9 - 09/11/2015

  • Customization meta serialization (@samuelcolvin).
  • Minor bugfixes (@etianen, @Fitblip).

1.1.8 - 24/04/2015

  • Minor bugfixes.

1.1.7 - 06/04/2015

  • Included south_migrations in the source distribution.

1.1.6 - 01/04/2015

  • Added listwatson management command (@philippeowagner)
  • Added _format_query() hook to MySQL search backend (@alexey-grom)
  • Adding in Django 1.7 migrations.
  • Ability to specify a search backend name for the filter() and search() methods (@amin-pylot)
  • Bugfixes and tweaks (@thedrow, @dessibelle, @carltongibson, @philippeowagner)

1.1.5 - 08/11/2014

  • Fixing issue with indexing nullable ForeignKey fields.

1.1.4 - 14/10/2014

  • skip_index_update() context manager (@moggers87)
  • Improved Travis CI integration (@thedrow)
  • Minor bug fixes (@bdauvergne, @moggers87, @Gzing)

1.1.3 - 19/02/2014

  • Ability to search for terms with apostrophes.
  • Ability to rebuild watson indices for specific models.

1.1.2 - 05/10/2013

  • More memory-efficient buildwatson command using data chunking.
  • Python 3.3 compatibility (new and experimental!).
  • Various minor bugfixes.

1.1.1 - 19/07/2012

  • Ability to use a custom search adapter class in SearchAdmin.
  • Template tag helpers for search results.
  • Ability to specify search configuration for PostgreSQL backend.

1.1.0 - 05/04/2012

  • Django 1.4 admin compatibility.
  • Improved efficiency of large search index updates using update and bulk_create (when available).
  • Added in SearchContextMiddleware.
  • Removed potentially unreliable automatic wrapping of entire request in a search context.
  • Improved escaping of PostgreSQL query characters.

1.0.2 - 07/03/2012

  • Support for prefix matching in search queries.

1.0.1 - 06/02/2012

  • Removing hacky searchentry_set generic relation being applied to registered models, which was causing spurious deletion warnings in the admin interface.

1.0.0 - 10/10/2012

  • First production release.