Skip to content

Commit

Permalink
πŸ“¦ v2.5.1
Browse files Browse the repository at this point in the history
- πŸ“¦ Update dependencies
- πŸ‘¨β€πŸ”¬ Update [test app](https://github.com/veliovgroup/files-gridfs-autoform-example)
  • Loading branch information
dr-dimitru committed Jun 29, 2022
1 parent 26060c7 commit 4524a99
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .versions
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ [email protected]
[email protected]
[email protected]
[email protected]
ostrio:[email protected].0
ostrio:[email protected].1
ostrio:[email protected]
ostrio:files@2.1.1
ostrio:files@2.2.0
[email protected]
[email protected]
[email protected]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Schemas.Posts = new SimpleSchema({

The accept values works makes use of the native HTML `accept` attribute. Read more at the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Unique_file_type_specifiers).

Please read the section on **custom upload templates** and how to integrate configs like *accept* to your custom template.
Please read the section on __custom upload templates__ and how to integrate configs like *accept* to your custom template.

## Multiple images

Expand Down Expand Up @@ -274,9 +274,9 @@ Your custom file upload template data context will be:
</template>
```

### Note on upload configs:
### Note on upload configs:

If you pass any config, like `accept` your upload data won't be falsey anymore,
If you pass any config, like `accept` your upload data won't be falsy anymore,
so you should update your template to the example above and check for each of the given properties.
This is however backwards-compatible and will not break your older templates if you don't need any of the upload config
introduced in > 2.1.4 releases.
Expand Down
4 changes: 2 additions & 2 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package.describe({
name: 'ostrio:autoform-files',
summary: 'File upload for AutoForm using ostrio:files',
description: 'File upload for AutoForm using ostrio:files',
version: '2.5.0',
version: '2.5.1',
git: 'https://github.com/veliovgroup/meteor-autoform-file.git'
});

Expand All @@ -16,7 +16,7 @@ Package.onUse((api) => {
'reactive-var',
'[email protected]',
'aldeed:[email protected]',
'ostrio:files@2.1.1'
'ostrio:files@2.2.0'
], 'client');

api.addFiles([
Expand Down

0 comments on commit 4524a99

Please sign in to comment.