···2626 friendlier.
2727 ([Ameen Radwan](https://github.com/Acepie))
28282929+- The `gleam.toml` format is now consistent. The two sausage-case fields
3030+ (`dev-dependencies` and `tag-prefix`) have been replaced by snake_case
3131+ versions. Files using the old names will continue to work.
3232+ ([Louis Pilfold](https://github.com/lpil))
3333+2934### Language server
30353136- The language server now allows extracting the start of a pipeline into a
···12061206- The deprecated rebar3 integration has been removed.
12071207- Fixed a bug where `gleam format` would output an unwanted newline at the top
12081208 of documents that only contain simple `//` comments.
12091209-- No longer add `dev-dependencies` to generated `.app` Erlang files unless
12091209+- No longer add `dev_dependencies` to generated `.app` Erlang files unless
12101210 we're compiling the root project (#1569).
12111211- Fixed a bug where the formatter could render a syntax error with lists on long
12121212 unbreakable lines.
···341341 ownership of existing packages.
342342 ([Giacomo Cavalieri](https://github.com/giacomocavalieri))
343343344344-- `gleam add` now adds `dependencies` and `dev-dependencies` as tables instead
344344+- `gleam add` now adds `dependencies` and `dev_dependencies` as tables instead
345345 of inline tables if they are missing.
346346 ([Andrey Kozhev](https://github.com/ankddev))
347347
···249249 #[error("Dependency resolution failed: {0}")]
250250 DependencyResolutionError(String),
251251252252- #[error("The package {0} is listed in dependencies and dev-dependencies")]
252252+ #[error("The package {0} is listed in dependencies and dev_dependencies")]
253253 DuplicateDependency(EcoString),
254254255255 #[error("Expected package {expected} at path {path} but found {found} instead")]
···44224422 Error::DuplicateDependency(name) => {
44234423 let text = format!(
44244424 "The package `{name}` is specified in both the dependencies and
44254425-dev-dependencies sections of the gleam.toml file."
44254425+dev_dependencies sections of the gleam.toml file."
44264426 );
44274427 vec![Diagnostic {
44284428 title: "Dependency duplicated".into(),
···6677- Downloading packages
88 - Specified in config.dependencies
99- - Specified in config.dev-dependencies
99+ - Specified in config.dev_dependencies
1010- Importing packages
1111 - Specified in config.dependencies
1212- - Specified in config.dev-dependencies
1212+ - Specified in config.dev_dependencies
1313- Compilation of Gleam code
1414 - in src
1515 - in test
···1313# This is a mix dep that uses files in ./priv
1414countries = "~> 1.6"
15151616-[dev-dependencies]
1616+[dev_dependencies]
1717gleeunit = "~> 1.0"
···1616These features are not tested yet
17171818- Downloading packages
1919- - Specified in config.dev-dependencies
1919+ - Specified in config.dev_dependencies
2020- Importing packages
2121- - Specified in config.dev-dependencies
2121+ - Specified in config.dev_dependencies
2222- Compilation of locally defined JavaScript modules
2323 - in src
2424 - in test
···11name = "project_d"
22version = "1.0.0"
3344-[dev-dependencies]
44+[dev_dependencies]
55# This dependency is not used by any of the other packages in this project, and
66# it is is only used by this package in dev mode, so it will not be in the other
77# packages at all.