Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 07964c4

Browse files
committed
chore(release): 1.0.0
1 parent 00f11fe commit 07964c4

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
<a name="1.0.0"></a>
6+
# [1.0.0](https://github.com/webpack-contrib/val-loader/compare/v0.5.1...v1.0.0) (2017-03-16)
7+
8+
9+
### Features
10+
11+
* change expected module API ([caf2aab](https://github.com/webpack-contrib/val-loader/commit/caf2aab))
12+
13+
14+
### BREAKING CHANGES
15+
16+
* This commit introduces a major refactoring of the loader.
17+
18+
- Remove node 0.10 and node 0.12 support
19+
- The loaded module must now export a function
20+
- This function will be called with the loader options
21+
- This function must return an object with this structure
22+
23+
Property | Type | Description
24+
:--------|:-----|:-----------
25+
`code` | `string|Buffer` | **Required**. The code that is passed to the next loader or to webpack.
26+
`sourceMap` | [`SourceMap`](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit) | **Optional**. Will be pased to the next loader or to webpack.
27+
`ast` | `any` | **Optional**. An [Abstract Syntax Tree](https://en.wikipedia.org/wiki/Abstract_syntax_tree) that will be passed to the next loader. Useful to speed up the build time if the next loader uses the same AST.
28+
`dependencies` | `Array<string>` | **Default: `[]`**. An array of absolute, native paths to file dependencies that need to be watched for changes.
29+
`cacheable` | `boolean` | **Default: `false`**. Flag whether the code can be re-used in watch mode if none of the `dependencies` have changed.
30+
31+
- The function may also return a promise for async results
32+
- Switch tooling to webpack-defaults
33+
34+
#11
35+
36+
37+
138
# Change Log
239

340
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "val-loader",
3-
"version": "0.5.1",
3+
"version": "1.0.0",
44
"author": "Tobias Koppers @sokra",
55
"description": "val loader module for webpack",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)