2018-09-24 20:51:48 +00:00
|
|
|
## Draft 3
|
|
|
|
|
2018-09-24 21:29:24 +00:00
|
|
|
* Limit extensions to affecting only modules transitively used by the module in
|
|
|
|
which the `@extend` appears ([#6][]).
|
|
|
|
|
|
|
|
[#6]: https://github.com/sass/language/issues/6
|
|
|
|
|
2018-09-24 21:03:31 +00:00
|
|
|
* Update the `module-variables()` and `module-functions()` functions to return
|
|
|
|
maps from names to values, rather than just lists of names ([#12][]).
|
|
|
|
|
|
|
|
[#12]: https://github.com/sass/language/issues/12
|
|
|
|
|
|
|
|
* Remove the `module-mixins()` function until Sass supports first-class mixins
|
|
|
|
([#12][]).
|
|
|
|
|
2018-09-24 21:08:50 +00:00
|
|
|
* Initialize modules' variables with the values as declared in those modules
|
|
|
|
([#13][]).
|
|
|
|
|
|
|
|
[#13]: https://github.com/sass/language/issues/13
|
|
|
|
|
2018-09-24 20:51:48 +00:00
|
|
|
* Clarify that `@forward` includes the forwarded module's CSS tree.
|
|
|
|
|
2018-09-24 22:43:44 +00:00
|
|
|
* Explicitly indicate that extensions are dynamically scoped ([#7][]).
|
|
|
|
|
|
|
|
[#7]: https://github.com/sass/language/issues/7
|
|
|
|
|
2018-09-24 21:09:08 +00:00
|
|
|
* Explicitly indicate which parts of a module are immutable.
|
|
|
|
|
2018-09-22 05:51:13 +00:00
|
|
|
## Draft 2.1
|
|
|
|
|
2018-09-24 17:58:46 +00:00
|
|
|
* Make sure nested `@import`s preserve the parent selector/at-rule context of
|
|
|
|
the current stylesheet.
|
|
|
|
|
2018-09-22 05:51:13 +00:00
|
|
|
* Removed the low-level "using CSS files" goal, since this is now covered by
|
|
|
|
[the CSS Imports proposal][].
|
|
|
|
|
|
|
|
[the CSS Imports proposal]: ../accepted/css-imports.md
|
|
|
|
|
2018-09-24 17:14:07 +00:00
|
|
|
* Add "Context-independent modules" and "Increased strictness" as non-goals.
|
2018-09-24 13:56:39 +00:00
|
|
|
|
2018-09-24 16:56:17 +00:00
|
|
|
* Add a couple FAQs.
|
|
|
|
|
2018-09-22 05:51:13 +00:00
|
|
|
* Made the requirements for valid module URLs more explicit.
|
|
|
|
|
|
|
|
* Merged the "Using Modules" section into the "Loading Modules" algorithm.
|
|
|
|
|
|
|
|
* Added a separate section for "Determining Prefixes".
|
|
|
|
|
2018-09-24 17:45:47 +00:00
|
|
|
* Make the import context mandatory everywhere, to simplify logic.
|
|
|
|
Implementations are still free to allocate them lazily, though.
|
|
|
|
|
2018-09-22 05:51:13 +00:00
|
|
|
* Consistently put non-normative asides in block quotes.
|
|
|
|
|
2018-09-22 19:07:49 +00:00
|
|
|
* Refer to "namespaces" rather than "prefixes".
|
|
|
|
|
2018-09-22 05:51:13 +00:00
|
|
|
* Refer to "URLs" rather than "URIs", per [the URL spec][].
|
|
|
|
|
|
|
|
[the URL spec]: https://url.spec.whatwg.org/#goals
|
|
|
|
|
|
|
|
* Refer to "at-rules" rather than "directives".
|
|
|
|
|
|
|
|
* Refer to "style rules" rather than "CSS rules".
|
|
|
|
|
|
|
|
* Format and structure algorithms consistently with more recent proposals.
|
|
|
|
|
|
|
|
* Other small non-semantic changes.
|
|
|
|
|
2016-02-12 21:51:49 +00:00
|
|
|
## Draft 2
|
|
|
|
|
|
|
|
* The namespace separator is now a period rather than a hyphen.
|
|
|
|
|
|
|
|
* Placeholder selectors are no longer considered members of modules. They are
|
|
|
|
still allowed to be marked private, however.
|
|
|
|
|
2016-02-13 00:54:44 +00:00
|
|
|
* Be explicit about how URIs are canonicalized and thus compared.
|
|
|
|
|
2016-02-13 00:57:30 +00:00
|
|
|
* Allow `@forward` and `@use` to be intermingled.
|
|
|
|
|
2016-03-04 23:53:21 +00:00
|
|
|
* Allow `@extend` to affect downstream modules as well as upstream ones.
|
|
|
|
Downstream modules inherently share the same semantics for selector names, and
|
|
|
|
extensions are an aspect of those semantics.
|
|
|
|
|
2016-03-04 23:57:46 +00:00
|
|
|
* Don't allow module mixin arguments to be passed by position.
|
|
|
|
|
2016-03-05 00:04:27 +00:00
|
|
|
* To `@forward` a module mixin, use the module's prefix rather than its URI.
|
|
|
|
|
2016-03-05 00:19:12 +00:00
|
|
|
* Modules now export *all* variables that have global definitions, even if those
|
|
|
|
definitions weren't executed. This preserves the invariant that modules'
|
|
|
|
member sets are statically knowable.
|
|
|
|
|
2016-03-05 00:24:51 +00:00
|
|
|
* Add new functions for module introspection.
|
|
|
|
|
2016-03-05 00:32:13 +00:00
|
|
|
* Add a `$module` parameter to `global-variable-exists()`, `function-exists()`,
|
|
|
|
and `mixin-exists()`.
|
|
|
|
|
2016-02-12 21:51:49 +00:00
|
|
|
## Draft 1
|
|
|
|
|
|
|
|
* Initial draft.
|