Skip to content

Version 2.6#2359

Open
rolandgeider wants to merge 128 commits into
masterfrom
feature/version-2.6
Open

Version 2.6#2359
rolandgeider wants to merge 128 commits into
masterfrom
feature/version-2.6

Conversation

@rolandgeider
Copy link
Copy Markdown
Member

Dieterbe and others added 30 commits August 2, 2024 22:14
This is needed since the move to vite on the react side
This wasn't working well with when used over the API
This still needs to be clean up (specially the key generation, at the moment we
use a new dependency, but all this can be also done with the library we currently
use)
most convenient and should be just fine
This is only needed because powersync can't handle joins
- move create publication to core
- use ivm entries for the nutrition publications
# Conflicts:
#	wger/core/static/react/main.js
This is needed in the flutter app to properly be able to set IDs on device, since
the regular IDs can only be set by postgres.
# Conflicts:
#	extras/docker/development/Dockerfile
#	extras/docker/production/settings.py
#	requirements.txt
#	wger/core/api/views.py
#	wger/nutrition/models/plan.py
#	wger/urls.py
# Conflicts:
#	extras/docker/production/settings.py
#	pyproject.toml
#	uv.lock
#	wger/weight/models.py
We don't need the ivm extension
Comment thread wger/core/api/views.py
result = handler.dispatch(http_verb, payload=payload, user_id=user_id)
except Exception as e:
logger.exception(f'Error processing PowerSync data for table {table}')
return JsonResponse({'error': str(e)}, status=200)
Using the full ingredient table for powersync created a spike during the
first sync, e.g. the WAL was bloating up to 25GB before returning to a normal
size. While this is temporary it would place too big of hard disk requirements
for self hoster for basically no gains.
The license author is now non-nullable
We were firing DB queries, which was making the test flaky
@rolandgeider rolandgeider force-pushed the feature/version-2.6 branch from b80efdc to caf2fd8 Compare June 2, 2026 18:46
This writes the new values in chunks instead of having to touch every row
Powersync may send a delete or put request several times because of retries,
checkpoint replays etc, so the backend must be able to handle this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants