Skip to content

Releases: viur-framework/viur-core

v3.1.2

28 Apr 15:08
Compare
Choose a tag to compare

Added

  • Manage version number in version.py for usage both as __version__ and in setup.cfg (#430)

Changed

  • Refactoring all bone-related __init__ functions (#426)

v3.1.1

27 Apr 09:58
Compare
Choose a tag to compare

Changed

  • Updated viur-datastore to v1.2.2

Fixed

  • serializing stringBones with languages without prior fromClient call (#421)
  • Fixed seoKeyBone failing to serialize if no languages has been set on the project (#422)

3.1.0

15 Apr 11:02
v3.1.0
417f649
Compare
Choose a tag to compare

Added

  • viur.db.engine config variable to inject different database drivers
  • viur.render.json.downloadUrlExpiration config variable to specifiy the expiration of downloadUrls generated by JSON render
  • Global jinja2 function "translate" for instances where compile-time resolving is not possible
  • Passing getEmptyValue() in the structure definition in json-render
  • Support for srcsets in textBone
  • language paramater in BaseSkeleton.setBoneValue()
  • Support for pypi packaging
  • Re-Added translation() jinja2 function
  • get() function to skeleton
  • Support for overriding the fileName under wich a blob will be downloaded
  • Implement baseSkel for all module prototypes (#378)

Changed

  • Replaced viur.core.db by viur-datastore (#400)
  • selectBone() values accept for list, tuple or callable (#390)
  • Improve SEO url integration: refactoring and redirect from old keys to the current
  • Allow sec-fetch-site=same-site on local development server
  • Set parentnode and parentrepo before fromClient() (#402)

Fixed

  • files embedded in textBones don't expire anymore and get correctly locked
  • Several issues in randomSliceBone
  • Recursive deletion in modules/file.py
  • deleteRecursive function in tree-prototype
  • killSessionByUser function
  • Fixes on the Tree prototype (#381)
  • Fixed deferred calls with _countdown set failing when called from a cronjob (#403)
  • Fixed unique=True on multiple=True relationalBones (#401)
  • setBoneValue works now for multiple and (multiple and language) bones (#410)
  • default defaultValue for multiple and language selectBone
  • randomSliceBone with limit=1 returning no result
  • ratelimit module
  • setBoneValue to allow setting back to empty
  • Adding unique=True to existing skeletons
  • Logins with second factor

Removed

  • conf['viur.debug.traceQueries'] flag. It has to be set on the viur-datastore config (viur.core.db.config["traceQueries"]).
  • the unused skel parameter from singleValueUnserialize

3.0.3

19 Jan 19:48
v3.0.3
98b8cd3
Compare
Choose a tag to compare

Added

  • child-src to addCspRule in securityheaders

Changed

Fixed

  • Running two deferred tasks inside the same request

3.0.2

04 Oct 14:03
v3.0.2
579fc78
Compare
Choose a tag to compare

Added

  • extendCsp function for overriding the CSP-Header on a per-request basis
  • support for nonces and hashes in CSP-Rules
  • Supply version_id in logging entries

Changed

  • Default CSP-Rules needed for login with Google have been narrowed

Fixed

  • Rebuilding file dervies if the file is being referenced in relations
  • Distinct-filters being ignored in datastore queries
  • Queries that return more than 300 entities with active dbaccelerator

3.0.1

17 Sep 13:24
v3.0.1
29205a2
Compare
Choose a tag to compare

Added

  • Added validations to catch invalid recipient addresses early in sendEmail
  • 'connect-src': self and 'upgrade-insecure-requests' CSP directives by default
  • versionHash and appVersion variables to utils and jinja2 render
  • The ability to import blobs that have been copied client-side from the old (non cloud-storage) blobstore
  • Support for custom colorprofiles in thumbnails

Changed

  • [Breaking] srcSetFor function in jinja2 now needs a list with or height instead of deriving from groups
  • Replaced *.ggpht.com and *.googleusercontent.com CSP directives by storage.googleapis.com
  • Migrated Login with Google from Google Sign-In to Identity Services

Fixed

  • AdminInfo for tree modules without a leaf skel
  • Referencing viurCurrentSeoKeys in relationalBones
  • Helptext support in Jinja2 translation extension
  • Bones with different languages can now be tested with {% if skel["bone"] %} as expected
  • Querying by keybones with a list of keys
  • Several bugs regarding importing data from an ViUR2 instance
  • Correctly exclude non-indexed but translated bones from the datastore index
  • Reenabled changelist evaluation in updateRelations
  • Thumbnailer is now ignoring images PIL cannot load (eg SVGs)

Removed

  • Internals resorting of values in selectBone. They will be shown in the order specified

3.0.0

09 Jul 09:36
v3.0.0
ff7d466
Compare
Choose a tag to compare
v3.0.0

Release v3.0.0