Releases: gabrielcsapo/sweeney
Releases · gabrielcsapo/sweeney
1.4.1
1.4.0
- add support for parsing of
.sweeney.js
and.sweeney
file paths. - adds a plugin interface
- fix issue with generating unneeded files to disk
1.3.2
- cleans up timing logic
1.3.1
- fixes issue with
development-toast
being hidden behind page text- abstracts
development-toast
styles into serve.css
- abstracts
- makes sure that files that are not html are served as binary assets
- fixes issue with
.woff
and other binary files not being read properly
- fixes issue with
1.3.0
- css files can now be interpreted by the editable plugin when they change their extension to
sy
and set the type tocss
- includes now outputs css styles with proper type tag (type='text/css')
- the editable plugin now allows type color to be passed
- the save action for form submission in serve is now actually async (it wasn't before, sometimes it would write sometimes it wouldn't)
- get and set now support mixed object access forms such as
obj.name
orobj['name']
orobj["name"]
1.2.2
- if you edit something using editable view, it will write the wrong template to disk (this is fixed)
- makes sure that
templateToString
outputs the right content- exports
rawContent
on page when parsed which ensures plugins did not alter the content
- exports
- makes sure that
- makes sure if the user had quotes on a variable in
.sweeney
that same quote / or not quote is persisted if updated.- this ensures if the value was a number it will be properly written
templateToString
does not write type unless it was in options
1.2.1
- removes
makeSearchable
migrates toget
instead - moves
get
,set
andgetEditable
to utils with tests
1.2.0
- plugins don't have to have a parse or render method to be interpreted.
- makes sure content, type and collection is always returned even if no options block is parsed from string
- crawl will inject
outputPath
into all pages that are rendered - inMemory is now an option on Site that doesn't build the site to disk but rather to memory
onBuild
can now be set on Site that will trigger after a build has been finished- reduces the complexity of bin operations. All Site based functionality is done at the top level instead of each function having its own instance, it is shared.
- when the server fails it will throw the stack output not the error.toString()
this is not really helpful
- moves linting to standard
1.1.0
- fixes new command (the path to the example/new project directory was wrong)
- fixes and tests
copyDirectory
to ensure files and sub directories are copied before completed - removes dead code getConfig
- removes getRenderedDepends method as it does nothing.
- fixes and tests renderSubDepends to work with the default behavior of template linking
- removes includes business logic to new
plugins architecture
! - parseString is now async, because plugins can parse async
ms
now truncates milliseconds to the 4th decimal place if displaying milliseconds only
1.0.2
- makes sure if you change
.sweeney
during watch, it will rebuild and uncache the old config. - outputs build metrics per file and its dependencies
before
site built at /Users/gcsapo/Documents/sweeney/docs/example [23.516861ms]
after
site built at /Users/gcsapo/Documents/sweeney/docs/example [23.516861ms]
about.sy [1.446816ms]
- layouts/default.sy [0.970805ms]
index.sy [0.719043ms]
- layouts/default.sy [0.529544ms]
posts/2017-11-20-welcome-to-sweeney.sy [1.450899ms]
- layouts/post.sy [1.315149ms]
- layouts/default.sy [1.197341ms]
posts.sy [0.557258ms]
- layouts/default.sy [0.301331ms]
projects.sy [0.391244ms]
- layouts/default.sy [0.255869ms]