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

Delta updates support #311

Closed

Conversation

brandonkelly
Copy link
Contributor

Hey Josh,

Craft 3.4 is adding support for delta element updates (craftcms/cms#5146), meaning that entry, category, and user forms will only submit custom field values that actually changed, giving the back end a chance to optimize the element save process by avoiding saving things that haven’t changed.

Matrix already supports it, and this PR adds support for Super Table as well.

Hoping that you can create a new 2.4 or craft-3.4 branch, swap the PR’s base branch over to that, and then merge this in, so people have a way to start testing.

To get Craft 3.4 running locally, change your craftcms/cms requirement in composer.json to:

"require": {
  "craftcms/cms": "3.4.x-dev",
  "...": "..."
}

Then run composer update.

Let me know if you have any questions!

@brandonkelly brandonkelly changed the title Feature/delta updates Delta updates support Oct 29, 2019
@engram-design
Copy link
Member

Neat! Thanks @brandonkelly

@engram-design
Copy link
Member

@brandonkelly Closing this PR, but added as a new branch https://github.com/verbb/super-table/tree/feature/delta-updates - if I knew a nicer way to handle this in Github, that's be nice, but can't figure out how to create a new branch from a PR.

Anyway, thanks for being awesome!

@brandonkelly
Copy link
Contributor Author

@engram-design FFR you can change the PR’s base branch by clicking the Edit button at the top.

@engram-design
Copy link
Member

@brandonkelly Ohhh, I knew it'd be something like that. Nice one!

@brandonkelly brandonkelly deleted the feature/delta-updates branch May 3, 2023 14:41
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.

2 participants