2016-10-08 22:19:35 +13:00
# Change Log
2020-12-01 10:45:54 +13:00
## [Unreleased]
2020-11-02 19:24:13 +13:00
2021-10-16 05:14:27 +02:00
- Update to support axum 0.2
[#303 ](https://github.com/lambda-fairy/maud/pull/303 )
2021-10-29 07:24:34 +02:00
- Add support for `Option<T>` attributes using the `attr=[value]` syntax.
[#306 ](https://github.com/lambda-fairy/maud/pull/306 )
2021-11-01 17:18:48 +11:00
- Update to Rust 2021
[#309 ](https://github.com/lambda-fairy/maud/pull/309 )
2021-11-06 22:44:10 +11:00
- Remove Iron support
[#289 ](https://github.com/lambda-fairy/maud/pull/289 )
2021-10-16 05:14:27 +02:00
2021-09-27 21:55:45 +10:00
## [0.22.3] - 2021-09-27
2021-07-30 05:05:31 -07:00
- Support `no_std` + `alloc` .
[#278 ](https://github.com/lambda-fairy/maud/issues/278 )
2021-08-05 21:22:05 -07:00
- Provide Tide support.
[#280 ](https://github.com/lambda-fairy/maud/pull/280 )
2021-08-17 09:25:07 +00:00
- Provide Axum support.
[#284 ](https://github.com/lambda-fairy/maud/pull/284 )
2021-07-30 05:05:31 -07:00
2021-01-09 18:01:17 +13:00
## [0.22.2] - 2021-01-09
2021-01-26 22:47:49 +13:00
- Don't require `?` suffix for empty attributes. The old syntax is kept for backward compatibility.
2020-11-11 16:47:23 +13:00
[#238 ](https://github.com/lambda-fairy/maud/pull/238 )
2021-01-26 22:47:49 +13:00
- Generalize `impl Into<String> for PreEscaped<T>` to `impl From<PreEscaped<T>> for String` .
2021-01-04 21:45:33 +13:00
[#248 ](https://github.com/lambda-fairy/maud/pull/248 )
2021-01-26 22:47:49 +13:00
- Use `Span::mixed_site` directly from proc-macro2
2021-01-09 17:15:43 +13:00
[#254 ](https://github.com/lambda-fairy/maud/pull/254 )
2020-11-11 16:47:23 +13:00
2020-11-02 19:24:13 +13:00
## [0.22.1] - 2020-11-02
2020-10-11 20:11:44 +11:00
2021-01-26 22:47:49 +13:00
- Stable support 🎉
2020-10-11 20:11:44 +11:00
[#214 ](https://github.com/lambda-fairy/maud/issues/214 )
2021-01-26 22:47:49 +13:00
- Add support for Actix Web 3.0.0. Actix Web 2.0.0 support is retained.
2020-10-11 05:22:19 +01:00
[#228 ](https://github.com/lambda-fairy/maud/pull/228 )
2020-06-20 19:50:19 +10:00
## [0.22.0] - 2020-06-20
2020-10-11 20:11:44 +11:00
2021-01-26 22:47:49 +13:00
- Update Actix to 2.0.0. Actix 1.0.0 is no longer supported.
2020-03-07 13:52:49 +01:00
[#182 ](https://github.com/lambda-fairy/maud/pull/182 )
2018-05-02 20:49:17 +12:00
2019-07-01 21:03:44 +12:00
## [0.21.0] - 2019-07-01
2021-01-26 22:47:49 +13:00
- Default tag name to `div` when a class or ID is provided
2019-09-14 13:48:59 +12:00
[#173 ](https://github.com/lambda-fairy/maud/pull/173 )
2021-01-26 22:47:49 +13:00
- Maud has a new website! Check it out at < https: // maud . lambda . xyz /> .
- Update Actix to 1.0. Pre-release versions of Actix are no longer supported.
2019-09-14 13:48:59 +12:00
[#176 ](https://github.com/lambda-fairy/maud/pull/174 )
2021-01-26 22:47:49 +13:00
- Use absolute imports in generated code
2019-09-14 13:48:59 +12:00
[#170 ](https://github.com/lambda-fairy/maud/issues/170 )
2021-01-26 22:47:49 +13:00
- Use `syn` instead of `literalext`
2019-09-14 13:48:59 +12:00
[#174 ](https://github.com/lambda-fairy/maud/pull/174 )
2019-07-01 21:03:44 +12:00
2019-01-17 16:01:55 +13:00
## [0.20.0] - 2019-01-17
2021-01-26 22:47:49 +13:00
- Rocket 0.4 support
2019-09-14 13:48:59 +12:00
[#162 ](https://github.com/lambda-fairy/maud/pull/162 )
2021-01-26 22:47:49 +13:00
- Set `Content-Type` header for Actix responses
2019-09-14 13:48:59 +12:00
[#160 ](https://github.com/lambda-fairy/maud/pull/160 )
2019-01-17 16:01:55 +13:00
2018-10-20 17:15:57 +13:00
## [0.19.0] - 2018-10-20
2021-01-26 22:47:49 +13:00
- Allow arbitrary syntax in class and ID shorthand
2019-09-14 13:48:59 +12:00
[#128 ](https://github.com/lambda-fairy/maud/issues/128 )
2021-01-26 22:47:49 +13:00
- Actix 0.7 support
2019-09-14 13:48:59 +12:00
[#144 ](https://github.com/lambda-fairy/maud/issues/144 )
2021-01-26 22:47:49 +13:00
- Warn on keywords without a leading `@`
2019-09-14 13:48:59 +12:00
[#91 ](https://github.com/lambda-fairy/maud/issues/91 )
2021-01-26 22:47:49 +13:00
- Disallow elements that mention the same attribute twice
2019-09-14 13:48:59 +12:00
[#129 ](https://github.com/lambda-fairy/maud/issues/129 )
2021-01-26 22:47:49 +13:00
- Dropped support for the `maud_lints` crate
2019-09-14 13:48:59 +12:00
[66ddbca ](https://github.com/lambda-fairy/maud/commit/66ddbcac986f099e309c28491c276de39340068a )
2021-01-26 22:47:49 +13:00
- Update to rustc 1.31.0-nightly (77af31408 2018-10-11)
2018-10-20 17:15:57 +13:00
- The feature flags have changed again! Remove `#![feature(use_extern_macros)]` and `#![feature(proc_macro_non_items)]` , and add `#![feature(proc_macro_hygiene)]` in their place. See the [documentation][getting-started] for a working example.
2018-07-18 20:01:52 +12:00
## [0.18.1] - 2018-07-18
2021-01-26 22:47:49 +13:00
- Update to rustc 1.29.0-nightly (1ecf6929d 2018-07-16)
2018-07-21 21:20:41 +12:00
- The `proc_macro` feature was recently stabilized ([rust-lang/rust#52081 ]). As a result of this change, you may get "unresolved import" errors after updating your Rust compiler. To fix this error, replace any `#![feature(proc_macro)]` in your crate with `#![feature(use_extern_macros)]` . See the [documentation][getting-started] for a working example.
[rust-lang/rust#52081 ]: https://github.com/rust-lang/rust/pull/52081
[getting-started]: https://maud.lambda.xyz/getting_started.html
2018-07-18 20:01:52 +12:00
2018-07-15 21:46:16 +12:00
## [0.18.0] - 2018-07-15
2021-01-26 22:47:49 +13:00
- Support for the Actix web framework
2019-09-14 13:48:59 +12:00
[#135 ](https://github.com/lambda-fairy/maud/issues/135 )
[#136 ](https://github.com/lambda-fairy/maud/pull/136 )
2021-01-26 22:47:49 +13:00
- Require braces around the body of an element
2019-09-14 13:48:59 +12:00
[#137 ](https://github.com/lambda-fairy/maud/pull/137 )
2021-01-26 22:47:49 +13:00
- In a `@match` expression, allow omitting the comma on the last match arm
- Improved the formatting for syntax errors
- Update to rustc 1.28.0-nightly (5bf68db6e 2018-05-28)
2018-07-15 21:46:16 +12:00
2018-05-26 11:57:51 +12:00
## [0.17.5] - 2018-05-26
2021-01-26 22:47:49 +13:00
- Update to rustc 1.27.0-nightly (2f2a11dfc 2018-05-16)
2018-05-26 11:57:51 +12:00
2018-05-02 20:49:17 +12:00
## [0.17.4] - 2018-05-02
2021-01-26 22:47:49 +13:00
- Update to rustc 1.27.0-nightly (686d0ae13 2018-04-27)
2019-09-14 13:48:59 +12:00
[#123 ](https://github.com/lambda-fairy/maud/issues/123 )
[#124 ](https://github.com/lambda-fairy/maud/pull/124 )
[#125 ](https://github.com/lambda-fairy/maud/issues/125 )
[#126 ](https://github.com/lambda-fairy/maud/pull/126 )
2018-05-02 20:49:17 +12:00
2018-04-21 17:20:42 +12:00
## [0.17.3] - 2018-04-21
2021-01-26 22:47:49 +13:00
- Update to rustc 1.27.0-nightly (ac3c2288f 2018-04-18)
2019-09-14 13:48:59 +12:00
[#121 ](https://github.com/lambda-fairy/maud/issues/121 )
[#122 ](https://github.com/lambda-fairy/maud/pull/122 )
2018-04-21 17:20:42 +12:00
## [0.17.2] - 2017-11-19
2017-08-12 16:46:40 +12:00
2021-01-26 22:47:49 +13:00
- Iron 0.6 support
2019-09-14 13:48:59 +12:00
[#107 ](https://github.com/lambda-fairy/maud/pull/107 )
2021-01-26 22:47:49 +13:00
- Implement `Clone` and `Copy` for `PreEscaped`
2019-09-14 13:48:59 +12:00
[#101 ](https://github.com/lambda-fairy/maud/pull/101 )
2021-01-26 22:47:49 +13:00
- Allow braces in the boolean expression for a toggled class
- Update to rustc 1.23.0-nightly (6160040d8 2017-11-18)
2017-08-12 16:46:40 +12:00
2017-08-11 21:15:20 +12:00
## [0.17.1] - 2017-08-11
2017-08-11 19:57:07 +12:00
2021-01-26 22:47:49 +13:00
- "Multiple applicable items in scope" error when using `Render` trait
2019-09-14 13:48:59 +12:00
[#97 ](https://github.com/lambda-fairy/maud/issues/97 )
2017-08-11 19:57:07 +12:00
2017-08-04 22:22:38 +12:00
## [0.17.0] - 2017-08-04
2017-07-14 17:43:29 -07:00
2021-01-26 22:47:49 +13:00
- Allow terminating void elements with semicolons (`;` )
2019-09-14 13:48:59 +12:00
[#96 ](https://github.com/lambda-fairy/maud/pull/96 )
2021-01-26 22:47:49 +13:00
- Update to Rocket 0.3
2019-09-14 13:48:59 +12:00
[#94 ](https://github.com/lambda-fairy/maud/pull/94 )
2021-01-26 22:47:49 +13:00
- Port to new proc macro interface
2019-09-14 13:48:59 +12:00
[#95 ](https://github.com/lambda-fairy/maud/pull/95 )
2021-01-26 22:47:49 +13:00
- Removed the lint plugin for now -- it'll be added back in a later version once some design issues are sorted out.
- Allow braces in the boolean expression for an empty attribute
2017-07-14 17:43:29 -07:00
2017-04-22 20:00:21 +12:00
## [0.16.3] - 2017-04-22
2021-01-26 22:47:49 +13:00
- Update to rustc 1.18.0-nightly (1785bca51 2017-04-21)
2019-09-14 13:48:59 +12:00
[#80 ](https://github.com/lambda-fairy/maud/issues/80 )
2017-04-22 20:00:21 +12:00
2017-03-07 22:02:59 +13:00
## [0.16.2] - 2017-03-07
2021-01-26 22:47:49 +13:00
- Update to rustc 1.17.0-nightly (b1e31766d 2017-03-03)
2019-09-14 13:48:59 +12:00
[#77 ](https://github.com/lambda-fairy/maud/issues/77 )
2017-03-07 22:02:59 +13:00
2017-02-15 22:26:45 +13:00
## [0.16.1] - 2017-02-15
2021-01-26 22:47:49 +13:00
- Rocket 0.2 support
2019-09-14 13:48:59 +12:00
[#74 ](https://github.com/lambda-fairy/maud/pull/74 )
2021-01-26 22:47:49 +13:00
- Don't expose private `PResult` type
2017-02-15 22:26:45 +13:00
2017-02-06 16:12:58 +13:00
## [0.16.0] - 2017-02-06
2021-01-26 22:47:49 +13:00
- Update to Iron 0.5
2019-09-14 13:48:59 +12:00
[#70 ](https://github.com/lambda-fairy/maud/issues/70 )
2021-01-26 22:47:49 +13:00
- Correct typo in `<!doctype html>` lint
2019-09-14 13:48:59 +12:00
[#69 ](https://github.com/lambda-fairy/maud/issues/69 )
2017-02-06 16:12:58 +13:00
2017-01-26 19:59:14 +13:00
## [0.15.0] - 2017-01-26
2016-12-23 20:42:05 +13:00
2021-01-26 22:47:49 +13:00
- Implement `Into<String>` for `Markup`
- Add a lint that suggests using the `maud::DOCTYPE` constant
2019-09-14 13:48:59 +12:00
[#66 ](https://github.com/lambda-fairy/maud/issues/66 )
2016-12-23 20:42:05 +13:00
- [Removed] Remove the `RenderOnce` trait
2019-09-14 13:48:59 +12:00
[#68 ](https://github.com/lambda-fairy/maud/issues/68 )
2021-01-26 22:47:49 +13:00
- Update to latest syntax extension API
2016-12-23 20:42:05 +13:00
2016-11-24 20:34:45 +13:00
## [0.14.0] - 2016-11-24
2021-01-26 22:47:49 +13:00
- Add a pre-defined constant for `<!DOCTYPE html>`
- Toggle a class using a boolean flag
2019-09-14 13:48:59 +12:00
[#44 ](https://github.com/lambda-fairy/maud/issues/44 )
2021-01-26 22:47:49 +13:00
- Let expressions
2019-09-14 13:48:59 +12:00
[#57 ](https://github.com/lambda-fairy/maud/issues/57 )
2021-01-26 22:47:49 +13:00
- Toggled empty attributes now use `foo?[bar]` syntax
2019-09-14 13:48:59 +12:00
[#59 ](https://github.com/lambda-fairy/maud/issues/59 )
2021-01-26 22:47:49 +13:00
- Update to latest syntax extension API
2016-11-24 20:34:45 +13:00
2016-11-03 23:17:34 +13:00
## [0.13.0] - 2016-11-03
2021-01-26 22:47:49 +13:00
- Support `@while` and `@while let`
2019-09-14 13:48:59 +12:00
[#55 ](https://github.com/lambda-fairy/maud/pull/55 )
2021-01-26 22:47:49 +13:00
- Change `PreEscaped` to take `AsRef<str>` instead of `Display`
2019-09-14 13:48:59 +12:00
[#54 ](https://github.com/lambda-fairy/maud/issues/54 )
2021-01-26 22:47:49 +13:00
- Single quotes (`'` ) are no longer escaped
- Update to latest syntax extension API
2016-11-03 23:17:34 +13:00
2016-11-24 20:34:45 +13:00
2016-10-10 09:49:05 +13:00
## [0.12.0] - 2016-10-09
2016-10-08 22:19:35 +13:00
2021-01-26 22:47:49 +13:00
- Change `Render` and `RenderOnce` to return `Markup` instead
2019-09-14 13:48:59 +12:00
[#48 ](https://github.com/lambda-fairy/maud/issues/48 )
2021-01-26 22:47:49 +13:00
- Add a bunch of optimizations from Horrorshow
2019-09-14 13:48:59 +12:00
[#46 ](https://github.com/lambda-fairy/maud/issues/46 )
2016-10-08 22:19:35 +13:00
## [0.11.1] - 2016-09-25
2021-01-26 22:47:49 +13:00
- Various documentation fixes
2016-10-08 22:19:35 +13:00
## [0.11.0] - 2016-09-24
2021-01-26 22:47:49 +13:00
- The `html!` macro now returns a `String` instead of taking a writer argument
- `iron-maud` is obsolete; enable the `"iron"` feature on the `maud` crate instead
- Remove `@call` syntax
2016-10-08 22:19:35 +13:00
2016-10-10 09:49:05 +13:00
## [0.10.0] - 2016-09-20
2021-01-26 22:47:49 +13:00
- Iron support
- Allow namespaces in element and attribute names
2019-09-14 13:48:59 +12:00
[#38 ](https://github.com/lambda-fairy/maud/pull/38 )
2021-01-26 22:47:49 +13:00
- Switch to new splice syntax using parentheses
2019-09-14 13:48:59 +12:00
[#41 ](https://github.com/lambda-fairy/maud/issues/41 )
2021-01-26 22:47:49 +13:00
- Require parentheses around the parameter to `@call`
- All literals must now be quoted, e.g. `"42"` not `42`
2016-10-10 09:49:05 +13:00
2016-10-13 19:28:44 +13:00
## [0.9.2] - 2016-07-10
2021-01-26 22:47:49 +13:00
- Update to latest syntax extension API
2016-10-13 19:28:44 +13:00
## [0.9.1] - 2016-07-03
2021-01-26 22:47:49 +13:00
- Update to latest syntax extension API
- Silence "duplicate loop labels" warnings
2019-09-14 13:48:59 +12:00
[#36 ](https://github.com/lambda-fairy/maud/issues/36 )
2016-10-13 19:28:44 +13:00
## [0.9.0] - 2016-06-12
2021-01-26 22:47:49 +13:00
- Implement ID shorthand syntax, e.g. `div#foo`
2019-09-14 13:48:59 +12:00
[#35 ](https://github.com/lambda-fairy/maud/issues/35 )
2021-01-26 22:47:49 +13:00
- Update to latest syntax extension API
2016-10-13 19:28:44 +13:00
## [0.8.1] - 2016-04-27
2021-01-26 22:47:49 +13:00
- Update to latest syntax extension API
2016-10-13 19:28:44 +13:00
## [0.8.0] - 2016-02-28
2021-01-26 22:47:49 +13:00
- Add shorthand syntax for classes, e.g. `div.foo`
2019-09-14 13:48:59 +12:00
[#28 ](https://github.com/lambda-fairy/maud/pull/28 )
2021-01-26 22:47:49 +13:00
- Add support for `match` expressions
2019-09-14 13:48:59 +12:00
[#30 ](https://github.com/lambda-fairy/maud/pull/30 )
2021-01-26 22:47:49 +13:00
- Allow tuple attribute lookups (`x.0` ) and identifier paths `foo::bar` in splices
2019-09-14 13:48:59 +12:00
[#27 ](https://github.com/lambda-fairy/maud/pull/27 )
[#29 ](https://github.com/lambda-fairy/maud/pull/29 )
2021-01-26 22:47:49 +13:00
- Add a `RenderOnce` trait, for when rendering a value also consumes it
2019-09-14 13:48:59 +12:00
[#31 ](https://github.com/lambda-fairy/maud/pull/31 )
2021-01-26 22:47:49 +13:00
- Change symbol for special forms from `#` → `@`
2019-09-14 13:48:59 +12:00
[#31 ](https://github.com/lambda-fairy/maud/pull/31 )
2021-01-26 22:47:49 +13:00
- Change symbol for splices from `$` → `^`
2019-09-14 13:48:59 +12:00
[#31 ](https://github.com/lambda-fairy/maud/pull/31 )
2021-01-26 22:47:49 +13:00
- Update to latest syntax extension API
2016-10-13 19:28:44 +13:00
2021-09-27 21:55:45 +10:00
[Unreleased]: https://github.com/lambda-fairy/maud/compare/v0.22.3...HEAD
[0.22.3]: https://github.com/lambda-fairy/maud/compare/v0.22.2...v0.22.3
2021-01-09 18:01:17 +13:00
[0.22.2]: https://github.com/lambda-fairy/maud/compare/v0.22.1...v0.22.2
2020-11-02 19:24:13 +13:00
[0.22.1]: https://github.com/lambda-fairy/maud/compare/v0.22.0...v0.22.1
2020-06-20 19:50:19 +10:00
[0.22.0]: https://github.com/lambda-fairy/maud/compare/v0.21.0...v0.22.0
2019-09-14 13:48:59 +12:00
[0.21.0]: https://github.com/lambda-fairy/maud/compare/v0.20.0...v0.21.0
[0.20.0]: https://github.com/lambda-fairy/maud/compare/v0.19.0...v0.20.0
[0.19.0]: https://github.com/lambda-fairy/maud/compare/v0.18.1...v0.19.0
[0.18.1]: https://github.com/lambda-fairy/maud/compare/v0.18.0...v0.18.1
[0.18.0]: https://github.com/lambda-fairy/maud/compare/v0.17.5...v0.18.0
[0.17.5]: https://github.com/lambda-fairy/maud/compare/v0.17.4...v0.17.5
[0.17.4]: https://github.com/lambda-fairy/maud/compare/v0.17.3...v0.17.4
[0.17.3]: https://github.com/lambda-fairy/maud/compare/v0.17.2...v0.17.3
[0.17.2]: https://github.com/lambda-fairy/maud/compare/v0.17.1...v0.17.2
[0.17.1]: https://github.com/lambda-fairy/maud/compare/v0.17.0...v0.17.1
[0.17.0]: https://github.com/lambda-fairy/maud/compare/v0.16.3...v0.17.0
[0.16.3]: https://github.com/lambda-fairy/maud/compare/v0.16.2...v0.16.3
[0.16.2]: https://github.com/lambda-fairy/maud/compare/v0.16.1...v0.16.2
[0.16.1]: https://github.com/lambda-fairy/maud/compare/v0.16.0...v0.16.1
[0.16.0]: https://github.com/lambda-fairy/maud/compare/v0.15.0...v0.16.0
[0.15.0]: https://github.com/lambda-fairy/maud/compare/v0.14.0...v0.15.0
[0.14.0]: https://github.com/lambda-fairy/maud/compare/v0.13.0...v0.14.0
[0.13.0]: https://github.com/lambda-fairy/maud/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/lambda-fairy/maud/compare/v0.11.1...v0.12.0
[0.11.1]: https://github.com/lambda-fairy/maud/compare/v0.11.0...v0.11.1
[0.11.0]: https://github.com/lambda-fairy/maud/compare/v0.10.0...v0.11.0
[0.10.0]: https://github.com/lambda-fairy/maud/compare/v0.9.2...v0.10.0
[0.9.2]: https://github.com/lambda-fairy/maud/compare/v0.9.1...v0.9.2
[0.9.1]: https://github.com/lambda-fairy/maud/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/lambda-fairy/maud/compare/v0.8.1...v0.9.0
[0.8.1]: https://github.com/lambda-fairy/maud/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/lambda-fairy/maud/compare/v0.7.4...v0.8.0