Add property separator
in sails.config.slugs
to specify separator to use in slugs.
- Replace slug by slugg
- Indicate code coverage
Add property blacklist
in sails.config.slugs
and model attributes to exclude names from slugs.
- Replace node-uuid by uuid
- Remove require-all and Lodash dependencies
- Replace JSCS + JSHint linters by ESLint
When a slug already exists, a dash is added between the slug and the UUID (thanks @thibaultboursier).
Add configuration in sails.config.slugs
:
lowercase
(boolean
) to lowercase slugs (defaults totrue
)
Slugs are lowercased and not capitalized anymore by default.
- Add
.npmignore
- Fix missing dependencies
- Fix an issue with attribute property
from
Resolve slug conflicts by adding a UUID after a new slug if already exists
Initial version
- Slug generation
- Base configuration