$ the-wire · showcase
File stat functions accept open handles, Keyword.drop aligns its membership check
By RepoJournal · Filed · About Elixir & Phoenix · Composed from the cited sources · methodology
Elixir's File API learns to inspect a file descriptor you already hold, closing a time-of-check to time-of-use gap, while the day's other work stays small and correctness-shaped.
Accept open io_device in File stat and query functions elixir-lang/elixir
File.stat/2, File.stat!/2, File.regular?/2, File.dir?/2, and File.exists?/2 now take an open io_device as well as a path, so you can check the handle in hand instead of re-resolving a path that may have changed underneath you. File.lstat stays path-only, since :file.read_link_info does not accept io devices.
Make `Keyword.drop/2` membership check consistent (#15910) elixir-lang/elixir
Keyword.drop/2 now applies a consistent membership check rather than the previous ad-hoc one, which changes results at the edges where duplicate or non-matching keys were involved. Worth re-running any test that asserts on dropped keyword output.
Clarify ordering in sigil_w elixir-lang/elixir
José Valim clarified the ordering documentation for sigil_w, so the documented guarantee now matches what the sigil actually does with words and whitespace. Documentation-only; no code changes needed.