Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Disable all compatibility flags by default #1413

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/viur/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -800,12 +800,12 @@

# FIXME VIUR4: REMOVE ALL COMPATIBILITY MODES!
compatibility: Multiple[str] = [
"json.bone.structure.camelcasenames", # use camelCase attribute names (see #637 for details)
"json.bone.structure.keytuples", # use classic structure notation: `"structure = [["key", {...}] ...]` (#649)
"json.bone.structure.inlists", # dump skeleton structure with every JSON list response (#774 for details)
"tasks.periodic.useminutes", # Interpret int/float values for @PeriodicTask as minutes
# instead of seconds (#1133 for details)
"bone.select.structure.values.keytuple", # render old-style tuple-list in SelectBone's values structure (#1203)
# "json.bone.structure.camelcasenames", # use camelCase attribute names (see #637 for details)
# "json.bone.structure.keytuples", # use classic structure notation: `"structure = [["key", {...}] ...]` (#649)
# "json.bone.structure.inlists", # dump skeleton structure with every JSON list response (#774 for details)
# "tasks.periodic.useminutes", # Interpret int/float values for @PeriodicTask as minutes
# # instead of seconds (#1133 for details)
# "bone.select.structure.values.keytuple", # render old-style tuple-list in SelectBone's values structure (#1203)

Check failure on line 808 in src/viur/core/config.py

View workflow job for this annotation

GitHub Actions / linter (3.12)

E501: line too long (122 > 120 characters)
]
"""Backward compatibility flags; Remove to enforce new style."""

Expand Down
Loading