Skip to content

Bump jquery-form from 4.3.0 to 4.5.0 - #74

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/jquery-form-4.5.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/jquery-form-4.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps jquery-form from 4.3.0 to 4.5.0.

Release notes

Sourced from jquery-form's releases.

4.5.0

The plugin's source is now split into modules, and this release fixes a long list of bugs found while pinning down its behavior. No breaking changes are intended. Behavior changes only where the old behavior was a bug or differed from a native form submission, so read the lists below if your code relied on any of them. jQuery 1.7.2 or later is still supported. Every change is tested on jQuery 1.7.2, 3.7.1 and 4.0.0.

New

  • delegation: "<selector>" limits ajaxForm delegation to forms that match a selector (#353). delegation: true is unchanged, but it now logs a warning on jQuery 3 and later, where it binds every form on the page.
  • ajaxFormUnbind() also removes delegated bindings, and ajaxFormUnbind(selector) removes one of them.
  • requestFormat: "json" sends the form as a JSON body (#545). The idea came from #557 by @​zhangciwu.
  • error and complete accept arrays of functions, as in $.ajax.
  • ajaxSubmit on jQuery's slim build throws a clear error (#541) instead of failing later.

Deprecations

These log a warning once per page when $.fn.ajaxSubmit.debug is on, and 5.0 will remove them.

  • clearInputs: use clearFields. $.fn.attr2: use .prop() or .attr().
  • ajaxForm on an empty selection before the DOM is ready, which queues the binding: call it inside $(fn), or use delegation: "<selector>".
  • The iframe transport chosen automatically when the browser has no FormData: set iframe: true.
  • The closeKeepAlive option, a workaround for Safari 3 and 4.
  • jQuery older than 3.5. 5.0 will need jQuery 3.5 or later.

enable and selected are kept.

Fixes: submission and transports

  • Every transport uses the same request method. method wins over type, and it is read after beforeSubmit.
  • A url of false or "" submits to the form's action.
  • A string data option is treated as a query string.
  • this in callbacks is the caller's context object, not a copy of it.
  • success runs when target matches nothing.
  • beforeSend returning false cancels a FormData upload, as it already did on the other transports.
  • uploadProgress keeps a custom xhr factory, and reports position 0 and 0% for a progress event with nothing loaded.
  • A multipart enctype is recognized regardless of case and surrounding spaces.
  • File uploads with GET put file names in the URL, never [object File].

Fixes: iframe uploads

  • Events fire in the same order as $.ajax, and a beforeSend veto ends the global events with ajaxStop.
  • Every upload settles exactly once, including when an exception is thrown. abort() before the delayed post cancels it.
  • Uploads started in the same millisecond use different frames, and an iframeTarget without a name receives the upload.
  • dataType is read case-insensitively.
  • A frame that is not in the document fails with an error instead of opening a new window.
  • The form's attributes are restored exactly after the upload (#380).
  • With closeKeepAlive, controls disabled in beforeSubmit are posted and re-enabled afterwards.

Fixes: serialization, fields and form members

  • Controls named like form members (getAttribute, ownerDocument, tagName, reset, clk and others) no longer break the plugin. A control named parentNode throws a clear error.
  • The contents of a disabled <fieldset> or <optgroup> are not sent. semantic: true sends only controls the form owns. Named fieldset, output and object elements are not sent. A lone CR in a value is sent as CRLF on every jQuery version.
  • ajaxForm sends the browser's SubmitEvent.submitter when no click was captured, for example after pressing Enter or calling requestSubmit(button).

... (truncated)

Commits
  • 4e4a73c Merge pull request #642 from jquery-form/release-4.5.0
  • 43b52e5 docs: record the 4.5.0 release metrics and plan status
  • 5847878 chore: release 4.5.0
  • 10cc5c8 docs: release Phase 12 as 4.5.0 and Phase 13 as 4.6.0
  • f23e10b feat: deprecate the closeKeepAlive option with a debug warning
  • 7e4d738 docs: plan 4.x test hardening as Phase 13 and move 5.0 to Phase 14
  • c6aec7d docs: record the final Phase 12 metrics, deprecations and plan status
  • 57b241b fix: re-enable disabled controls before a closeKeepAlive request
  • 1dad38c fix: cancel a FormData upload when beforeSend returns false
  • c369e04 fix: report position 0 for an upload progress event with loaded 0
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for jquery-form since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jquery-form](https://github.com/jquery-form/form) from 4.3.0 to 4.5.0.
- [Release notes](https://github.com/jquery-form/form/releases)
- [Commits](jquery-form/form@v4.3.0...v4.5.0)

---
updated-dependencies:
- dependency-name: jquery-form
  dependency-version: 4.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants