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

move cookies and cgi to graveyard #10604

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,19 @@

- `osproc.execProcess` now also takes a `workingDir` parameter.

- `options.UnpackError` is no longer a ref type and inherits from `system.Defect` instead of `system.ValueError`.
- `options.UnpackError` is no longer a ref type and inherits from `system.Defect`
instead of `system.ValueError`.

- `system.ValueError` now inherits from `system.CatchableError` instead of `system.Defect`.

- The procs `parseutils.parseBiggsetInt`, `parseutils.parseInt`, `parseutils.parseBiggestUInt` and `parseutils.parseUInt` now raise a `ValueError` when the parsed integer is outside of the valid range. Previously they sometimes raised a `OverflowError` and sometimes returned `0`.
- The procs `parseutils.parseBiggsetInt`, `parseutils.parseInt`, `parseutils.parseBiggestUInt`
and `parseutils.parseUInt` now raise a `ValueError` when the parsed integer is
outside of the valid range. Previously they sometimes raised a `OverflowError`
and sometimes returned `0`.

- `streams.StreamObject` now restricts its fields to only raise `system.Defect`, `system.IOError` and `system.OSError`. This change only affects custom stream implementations.
- `streams.StreamObject` now restricts its fields to only raise `system.Defect`,
`system.IOError` and `system.OSError`. This change only affects custom stream
implementations.

- nre's `RegexMatch.{captureBounds,captures}[]` no longer return `Option` or
`nil`/`""`, respectivly. Use the newly added `n in p.captures` method to
Expand All @@ -61,13 +67,16 @@

- splitFile now correctly handles edge cases, see #10047

- `isNil` is no longer false for undefined in the JavaScript backend: now it's true for both nil and undefined. Use `isNull` or `isUndefined` if you need exact equallity: `isNil` is consistent with `===`, `isNull` and `isUndefined` with `==`.
- `isNil` is no longer false for undefined in the JavaScript backend: now it's
true for both nil and undefined. Use `isNull` or `isUndefined` if you need
exact equallity: `isNil` is consistent with `===`, `isNull` and `isUndefined`
with `==`.

- several deprecated modules were removed: `ssl`, `matchers`, `httpserver`,
`unsigned`, `actors`, `parseurl`

- two poorly documented and not used modules (`subexes`, `scgi`) were moved to
graveyard (they are available as Nimble packages)
- four poorly documented and not used modules (`subexes`, `cgi`, `scgi`, `cookies`)
were moved to graveyard (they are available as Nimble packages)



Expand Down
2 changes: 1 addition & 1 deletion compiler/docgen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import
ast, strutils, strtabs, options, msgs, os, ropes, idents,
wordrecg, syntaxes, renderer, lexer, packages/docutils/rstast,
packages/docutils/rst, packages/docutils/rstgen,
packages/docutils/highlite, sempass2, json, xmltree, cgi,
packages/docutils/highlite, sempass2, json, xmltree, uri,
typesrenderer, astalgo, modulepaths, lineinfos, sequtils, intsets,
pathutils

Expand Down
6 changes: 0 additions & 6 deletions doc/lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,6 @@ Math libraries
Internet Protocols and Support
------------------------------

* `cgi <cgi.html>`_
This module implements helpers for CGI applications.

* `browsers <browsers.html>`_
This module implements procs for opening URLs with the user's default
browser.
Expand All @@ -268,9 +265,6 @@ Internet Protocols and Support
* `smtp <smtp.html>`_
This module implement a simple SMTP client.

* `cookies <cookies.html>`_
This module contains helper procs for parsing and generating cookies.

* `mimetypes <mimetypes.html>`_
This module implements a mimetypes database.

Expand Down
Loading