You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22-1
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,24 @@
1
+
# 2.0.0-b1
2
+
3
+
2014-10-19
4
+
5
+
- Public Beta / Release Candidate - Feedback welcome
6
+
For a guide to breaking changes see [the v2 upgrade guide](lesscss.org/usage/#v2-upgrade-guide)
7
+
- no longer including old versions of less in the repo or npm
8
+
- not including test less and gradle files in npm
9
+
- colours now output in the format they are added unless compressing, so yellow will output yellow, not its hex counterpart
10
+
- better parsing - better comment support and comments in brackets can now contain comments including quotes.
11
+
- Removal of dependency on clean-css - install less-plugin-clean-css and use --clean-css to reference plugin
12
+
- Environment Support - less is now separate from its node and browser environment implementations and adding support for another javascript environment should be straight forward.
13
+
- Plugin Support - it is now straight forward to add AST manipulations (see less-plugin-inline-images), file managers (see less-plugin-npm-import) and post processors (see less-plugin-clean-css and less-plugin-autoprefix).
14
+
- We now recommend using less.render and using the parser directly is not in the same way as in v2. It is possible but it would require changes and we do not guarantee it will not be broken in minor version releases.
15
+
- In the browser, less.pageLoadFinished will be a promise, resolved when less has finished its initial processing. less.refresh and less.modifyVars also return promises.
16
+
- In the browser, as before less is used as options, however this is now copied to less.options if you need to access after less has run
17
+
- In the browser, the cache can be overwritten by setting less.cache before less loads. After load less.cache will be the default implementation.
18
+
- less.js now uses browserify to generate its browser side component
19
+
- default values for the sourcemap options have been re-done and improved to hopefully mean creating sourcemaps is easier
20
+
- Many smaller bugfixes and API changes. Please let us know if something you relied on has disappeared or an area should be better documented.
21
+
1
22
# 1.7.5
2
23
3
24
2014-09-03
@@ -31,7 +52,7 @@
31
52
- Do not round the results of color functions, like lightness, hue, luma etc.
32
53
- Support cover and contain keywords in background definitions
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
# Contributing to Less.js
2
2
3
-
> We welcome feature requests and bug reports. Please read these guidelines before submitting one.
3
+
> We welcome feature requests and bug reports. Please read these guidelines before submitting one.
4
4
5
5
6
6
<spanclass="warning">**Words that begin with the at sign (`@`) must be wrapped in backticks!** </span>. As a courtesy to avoid sending notifications to any user that might have the `@username` being referenced, please remember that GitHub usernames also start with the at sign. If you don't wrap them in backticks, users will get unintended notifications from you.
7
7
8
-
GitHub has other great markdown features as well, [go here to learn more about them](https://help.github.com/articles/github-flavored-markdown).
8
+
GitHub has other great markdown features as well, [go here to learn more about them](https://help.github.com/articles/github-flavored-markdown).
9
9
10
10
11
11
## Reporting Issues
12
12
13
-
We only accept issues that are bug reports or feature requests. Bugs must be isolated and reproducible problems that we can fix within the Less.js core. Please read the following guidelines before opening any issue.
13
+
We only accept issues that are bug reports or feature requests. Bugs must be isolated and reproducible problems that we can fix within the Less.js core. Please read the following guidelines before opening any issue.
14
14
15
15
1.**Search for existing issues.** We get a lot of duplicate issues, and you'd help us out a lot by first checking if someone else has reported the same issue. Moreover, the issue may have already been resolved with a fix available.
16
16
2.**Create an isolated and reproducible test case.** Be sure the problem exists in Less.js's code with [reduced test cases](http://css-tricks.com/reduced-test-cases/) that should be included in each bug report.
17
-
3.**Test with the latest version**. We get a lot of issues that could be resolved by updating your version of Less.js.
17
+
3.**Test with the latest version**. We get a lot of issues that could be resolved by updating your version of Less.js.
18
18
3.**Include an example with source.** E.g. You can use [less2css.org](http://less2css.org/) to create a short test case.
19
19
4.**Share as much information as possible.** Include operating system and version. Describe how you use Less. If you use it in the browser, please include browser and version, and the version of Less.js you're using. Let us know if you're using the command line (`lessc`) or an external tool. And try to include steps to reproduce the bug.
20
20
5. If you have a solution or suggestion for how to fix the bug you're reporting, please include it, or make a pull request - don't assume the maintainers know how to fix it just because you do.
* Start by adding a feature request to get feedback and see how your idea is received.
35
+
* Start by adding a feature request to get feedback and see how your idea is received.
36
36
* If your pull request solves an existing issue, but it's different in some way, _please create a new issue_ and make sure to discuss it with the core contributors. Otherwise you risk your hard work being rejected.
37
37
* Do not change the **./dist/** folder, we do this when releasing
38
-
*_Please add tests_ for your work. Tests are invoked using `grunt test` command. It will run both node.js tests and browser ([PhantomJS](http://phantomjs.org/)) tests.
38
+
*_Please add tests_ for your work. Tests are invoked using `grunt test` command. It will run both node.js tests and browser ([PhantomJS](http://phantomjs.org/)) tests.
0 commit comments