From 278fddc317cf0cf4d3602d0ec0f24d1dd281fadb Mon Sep 17 00:00:00 2001 From: piegames Date: Sat, 13 Jul 2024 07:55:17 +0200 Subject: libexpr: Deprecate URL literals Closes #437. Change-Id: I9f67fc965bb4a7e7fd849e5067ac1cb3bab064cd --- doc/manual/rl-next/deprecated-features.md | 12 ++++++++++++ doc/manual/src/language/values.md | 6 ------ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 doc/manual/rl-next/deprecated-features.md (limited to 'doc') 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`. - - Number Numbers, which can be *integers* (like `123`) or *floating point* -- cgit v1.2.3