Because XML external entity (XXE) attacks can be used to disclose local files using file schemes or relative paths in the system identifier, clojure.xml/parse now disables external entity processing by default.
If you rely on these features, modify your calls to clojure.xml/parse to explicitly
supply startparse-sax function as the final argument:
(clojure.xml/parse the-string clojure.xml/startparse-sax)
This modification also works on prior Clojure versions.
CLJ-2611 clojure.xml now disables XXE processing by default
2.1 Keyword argument functions take a trailing map
Keyword arguments are optional trailing variadic arguments of the form akey aval bkey bval....
In Clojure 1.11, functions taking keyword arguments can now be passed a map instead of or in addition
to and following the key/value pairs. When a lone map is passed, it is used for destructuring, else
a trailing map is added to the key/value pair map by conj.
CLJ-2603 Clojure keyword argument functions now also accept a map
2.2 :as-alias in require
Spec (and other libs) rely on qualified keywords as spec names.
Namespace aliasing in ns makes long names shorter but required namespaces to be loadable.
This change adds :as-alias to require, which is like :as but does not require the namespace to load.
CLJ-2123 Add :as-alias option to require like :as but not load
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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 clojure from 1.10.3 to 1.11.0.
Changelog
Sourced from clojure's changelog.
... (truncated)
Commits
f376cf6
[maven-release-plugin] prepare release clojure-1.11.09af0d1d
[maven-release-plugin] prepare for next development iteration0971ce2
[maven-release-plugin] prepare release clojure-1.11.0-rc17b102d8
CLJ-2695: parse-double test does not test out-of range values3fbdffa
Changelog updates for 1.118481165
[maven-release-plugin] prepare for next development iteration16c91f2
[maven-release-plugin] prepare release clojure-1.11.0-beta1658693f
CLJ-1973: sort proxy methods for reproducibility8957a93
CLJ-1180 Resolve classname for tag metadata on defprotocolfc98f92
CLJ-2620: io-prepl now calls valf on exeception data in the case where an exc...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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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)