CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 0
Releases: albrow/scribble
Version 0.4.0
Compare
This release fixes a few bugs and introduces a new feature: you can now use the jade templating language for html templates and layouts! This is a great alternative for anyone not already familiar with go's templating package as it is easier to learn and has a larger following. See the README for more information about how to use jade.
There is just one backwards incompatible change. It is no longer required to specify the layout in the frontmatter of go html template pages. In fact, doing so will have no effect. Instead, you should render the layout directly with the following line of code:
{{ template "base.tmpl" }}
This change is more intuitive, more idiomatic, and less magical. See the Html Templates section of the README for a more complete example.
Full Changelog:
- Add a jade compiler and allow the use of jade for html templates and layouts.
- Fix a bug where adding new empty files while watching was causing scribble to crash in some cases.
- Layout can no longer be defined in the frontmatter for html pages.
- Add LICENSE and copyright notices
- Improve README
Assets 3
Version 0.3.2
Compare
This release features several important bug fixes, and doesn't introduce any new features. It is 100% backwards compatible.
Full Changelog:
- Correctly recompile and update the blog when unmatched files are changed (i.e. those that don't match a specific compiler, like js, css, or html files).
- Fix a bug where adding empty directories was causing scribble to crash
- Don't stop watching if there is an error (compilation error or otherwise).
Assets 3
Version 0.3.1
Compare
This release just adds installation instructions to the README. There are no code changes.
I've also included a pkg installer in place of the binary. Just download and run it to install scribble.
Assets 3
Version 0.3.0
Compare
This release is 100% backwards compatible. It introduces some minor bug fixes, and two bigger changes:
- When running
scribble serve
, 404 errors and a helpful error message will be returned if you try and visit a page that doesn't exist. - All output has been refactored. Pretty much everything goes through a custom logger and includes a timestamp.
I've also written a Quickstart Guide and some detailed instructions in the README. There are much better documentation and guides coming before scribble hits v1.0, but what I've written so far is hopefully enough to get started.
At the time of release, I had included a binary file below, but it wasn't working. Instead, use the pkg installer for the latest version to install scribble.
Assets 2
Version 0.2.0
Compare
This version fixes some bugs and adds a watch feature! Each compiler watches for changes in the types of files it cares about and recompiles all its files whenever there is a change. The watch feature can be invoked in one of two ways:
- Run
scribble compile -w
. The-w
flag tells scribble to watch for changes and automatically recompile whenever files are changed. - Run
scribble serve
. Here, you don't need to provide the-w
flag. Scribble will automatically watch for changes while also serving the contents of config.DestDir.
Full Changelog:
- Implement watching via the watch flag or compile command.
- Add some new helpful functions to utils/files.go.
- Fix a bug where ignored and hidden files where being copied over to config.DestDir directly.
- Fix a bug where empty files and directories would cause scribble to crash.
- Remove warning about watch not working yet.
TODO:
- Build a logger that outputs the time for all messages.
- Return 404 errors when serving for files that are not found.
- Add a
--trace
flag to print a full stack trace when there is an error. - Use a more reliable method of getting line numbers when recovering from panics.
- Don't crash when recovering inside goroutines.
- Add links fro post.next and post.prev.
- Improve README and godoc comments. Add LICENSE and CONTRIBUTING files. Write guides.
- Create Compressor interface and provide some default compressors.
- Create Deployer interface and provide some default deployers and a deploy command.
- Add commands for generating skeletons/templates: make an entirely new blog, create a new page, and create a new post.
- Release Version 1.0!!
Assets 2
Version 0.1.0
Compare
This release marks the first step in the long (though probably not quite as long as some of my other projects) path to version 1.0.
This release introduces major code reorganization. There's now a Compiler interface, which each compiler must implement. There are three compilers as of now: one for posts, one for sass, and one for other html pages. I suspect this is all I'm going to include for version 1.0, but I've made it easy to add new compilers in case I or someone else wants to.
I've also switched from ace templates to standard go html templates. Ace was nice, but got confusing and hard to debug at times (probably mostly due to my lack of understanding of what was going on under the hood). With the goal of getting to a solid MVP asap, I'm going to stick with standard html templates for now, but might come back to ace as an alternative option later on.
Currently, watching is disabled. I'll work on fixing it in the next release. For now, the compile
and serve
commands both work fine.
Guides, documentation, and examples are obviously lacking. I promise there will be some great stuff in this department soon, most definitely before version 1.0.