diff options
author | piegames <git@piegames.de> | 2024-07-13 07:55:17 +0200 |
---|---|---|
committer | piegames <git@piegames.de> | 2024-08-17 20:31:57 +0200 |
commit | 278fddc317cf0cf4d3602d0ec0f24d1dd281fadb (patch) | |
tree | 002c63288018f70755e2a60f9af554fe5cbca85b /doc | |
parent | 49d61b2e4bf338042364c85d3c2ead0b33963e65 (diff) |
libexpr: Deprecate URL literals
Closes #437.
Change-Id: I9f67fc965bb4a7e7fd849e5067ac1cb3bab064cd
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/rl-next/deprecated-features.md | 12 | ||||
-rw-r--r-- | doc/manual/src/language/values.md | 6 |
2 files changed, 12 insertions, 6 deletions
diff --git a/doc/manual/rl-next/deprecated-features.md b/doc/manual/rl-next/deprecated-features.md new file mode 100644 index 000000000..d800ac248 --- /dev/null +++ b/doc/manual/rl-next/deprecated-features.md @@ -0,0 +1,12 @@ +--- +synopsis: Deprecated URL literals +issues: [fj#437] +cls: [1736, 1735, 1744] +category: Breaking Changes +credits: [piegames, horrors] +--- + +URL literals have long been obsolete and discouraged of use, and now they are officially deprecated. +This means that all URLs must be properly put within quotes like all other strings. + +To ease migration, they can still be enabled with `--extra-deprecated-features url-literals` for now. diff --git a/doc/manual/src/language/values.md b/doc/manual/src/language/values.md index aa5455ae2..30d2169ca 100644 --- a/doc/manual/src/language/values.md +++ b/doc/manual/src/language/values.md @@ -77,12 +77,6 @@ } ``` - Finally, as a convenience, *URIs* as defined in appendix B of - [RFC 2396](http://www.ietf.org/rfc/rfc2396.txt) can be written *as - is*, without quotes. For instance, the string - `"http://example.org/foo.tar.bz2"` can also be written as - `http://example.org/foo.tar.bz2`. - - <a id="type-number" href="#type-number">Number</a> Numbers, which can be *integers* (like `123`) or *floating point* |