Hussien Liban
f83b4e4e84
Update design-anti-patterns.md ( #13210 )
...
Not setting an option returns just the integer
2024-01-08 20:39:08 +09:00
Adebisi Adeyeye and Adebisi Adeyeye
4de331597a
Fix typo in docs: initial_valye -> initial_value ( #13211 )
...
Co-authored-by: Adebisi Adeyeye <adebisi.adeyeye@proebb.com >
2024-01-08 20:39:08 +09:00
Tomás Grüner
6e295998ef
Fix typo in docs: Keywoird -> Keyword ( #13205 )
2024-01-08 20:39:08 +09:00
Will Douglas and Will Douglas
f2dae095f8
Fix typo in docs: for -> force ( #13215 )
...
Co-authored-by: Will Douglas <will.cavalcanti@vmtecnologia.io >
2024-01-08 20:39:08 +09:00
Jean Klingler
6f5715fc30
Replace single quotes in charlist in doc ( #13233 )
2024-01-08 20:39:08 +09:00
José Valim
1ece71a831
Handle Windows separators on mix test ( #13232 )
...
Closes #13225 .
2024-01-07 23:07:20 +01:00
Ryan B. Harvey
197351dd73
Fix a comment typo in the Code Anti-Patterns doc page ( #13219 )
2024-01-02 18:03:37 +01:00
José Valim
0d671dafea
Improve anti-pattern titles
2024-01-02 16:42:17 +01:00
José Valim
9ae7c39125
Update CHANGELOG, closes #13217
2023-12-31 18:20:20 +01:00
José Valim
ba8fb4dff1
Improve yecc/leex warnings, closes #13213
2023-12-28 17:12:51 +01:00
José Valim
194661197e
Add more examples to app config anti-pattern ( #13204 )
2023-12-26 09:57:32 +01:00
Travis Vander Hoop
298acd1cdb
Fix typos and tweak language in anti-pattern docs ( #13208 )
2023-12-26 09:57:32 +01:00
Artem Solomatin
97c608c346
Fix typo in design-anti-patterns doc ( #13207 )
2023-12-26 09:57:32 +01:00
José Valim
f84bc19bf2
Additional clarity on long list of parameters anti-patterns
2023-12-24 14:54:45 +01:00
Alex Martsinovich
91375778cb
Fix example in non-assertive map access antipattern ( #13201 )
2023-12-23 10:31:57 +01:00
José Valim
38ddc98fef
Release v1.16.0
v1.16.0
2023-12-22 17:45:12 +01:00
José Valim
1b7c73273d
Last pass over anti-patterns
2023-12-22 14:31:44 +01:00
José Valim
5bd5e75c3b
Extract snippet in elixir_errors to simplify exception handling
2023-12-21 21:14:55 +01:00
José Valim
1cba584ac8
Fix column precision in test
2023-12-21 19:48:44 +01:00
José Valim
dfafea092e
Consider column in snippets, closes #13199
2023-12-21 19:30:15 +01:00
José Valim
0ae4bfb222
Preserve diagnostics based on source field, closes #13142
2023-12-21 17:22:43 +01:00
José Valim
7db4413476
Add source field to diagnostics
2023-12-21 17:22:43 +01:00
José Valim
4d52d18ef7
Do not reset column state in tests
2023-12-21 17:22:43 +01:00
José Valim
39ff86c551
Indent lists
2023-12-21 15:47:59 +01:00
Tobias Pfeiffer
12fdd8ea9b
Document the process anti pattern of sending large data ( #13194 )
...
Follow up to/extension of #13173
2023-12-21 15:47:59 +01:00
José Valim
28f8eba9a2
Improve docs for URI.encode/2
2023-12-17 13:05:48 +01:00
José Valim
b3b14202d9
Normalize exception handling in diagnostics
2023-12-17 11:40:49 +01:00
José Valim
ffa3ef1ccf
Remove unused function
2023-12-14 17:19:58 +01:00
José Valim
d13f4155af
Do not warn unused imports twice, closes #13178
2023-12-14 17:19:58 +01:00
José Valim
d23e42e27f
Normalize token missing and mismatched delimiter exceptions
...
Closes #13183 .
Closes #13185 .
Closes #13186 .
Closes #13187 .
2023-12-14 17:07:44 +01:00
José Valim
872efb180d
Document diagnostic span
2023-12-14 12:07:20 +01:00
José Valim
2e61f32b6d
Update CHANGELOG
2023-12-14 11:23:56 +01:00
José Valim
7abb3bdddc
Unify position handling and improve docs
...
See #13179 .
See #13184 .
2023-12-14 11:15:05 +01:00
Vinícius Müller
67fd9824cc
Improve diagnostics for unclosed heredocs ( #13182 )
2023-12-14 09:24:59 +01:00
José Valim
1878e30bdb
Improve docs and support column in IO.warn, closes #13179
2023-12-13 23:31:49 +01:00
Vinícius Müller
88bbffd614
Add info about unclosed delimiters diagnostic to 1.16 changelog ( #13180 )
2023-12-13 23:31:38 +01:00
Maarten van Vliet
a50a2fd983
Fix typo ( #13181 )
2023-12-14 07:17:11 +09:00
Tobias Pfeiffer
c950a57a3e
Fix top level functions changelog (enabled --> disabled) ( #13177 )
2023-12-13 22:56:19 +09:00
Tobias Pfeiffer
80404da8f6
Mention the fixed regression ( #13176 )
...
As best as I learned this was introduced in #11420 and fixed in aabe465
It shouldn't affect almost anyone except for scripting usage of
elixir and (probably most notably) benchee benchmarks that don't
call functions in a module.
2023-12-13 14:36:33 +01:00
José Valim
010d516b11
Fix indentation in mix release
2023-12-13 11:56:41 +01:00
José Valim
fb42733873
Improve anonymous functions guide
2023-12-13 06:43:20 +01:00
Tobias Pfeiffer
1070b2f434
Mention dangers around Task and sending a lot of data along ( #13173 )
...
The `Task` module is one of the coolest modules in elixir and
is probably the first contact and experience of a lot of
beginners with parallelism in elixir. I hence find it worthwhile
to warn about the memory copying and its impacts here as it might
easily lead to unwelcome results, so it's worth pointing out.
2023-12-12 16:45:00 +01:00
Wojtek Mach
9675e2285a
elixir.bat: Quote file paths ( #13172 )
2023-12-12 14:32:06 +01:00
José Valim
a09ddbb0a6
Fix typo in CHANGELOG
2023-12-12 12:43:34 +01:00
José Valim
81a12b7774
Release v1.16.0-rc.1
v1.16.0-rc.1
2023-12-12 12:36:20 +01:00
José Valim
88ba7766e0
Use Macro.Env in more warnings
2023-12-11 11:13:39 +01:00
José Valim
6475917b3f
Use Macro.Env to record attribute warnings
...
Closes #13162 .
Closes #13164 .
2023-12-11 07:34:16 +01:00
José Valim
5b6e04cb4d
Clean up failed deletion warning
2023-12-10 09:03:54 +01:00
Daven
2bfb14751f
Add warning when deps clean fails ( #13161 )
2023-12-10 09:03:54 +01:00
José Valim
b1998960bb
Disable compiler optimizations only in module body
2023-12-09 20:49:40 +11:00