Mercurial > genshi > genshi-test
annotate UPGRADE.txt @ 341:f5ba52840cc9 experimental-inline
inline branch: Merged [418], and take advantage of it in the inlining code.
author | cmlenz |
---|---|
date | Thu, 09 Nov 2006 16:43:21 +0000 |
parents | 5f2c7782cd8a |
children | 4ff2338e89cd |
rev | line source |
---|---|
233
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
1 Upgrading Genshi |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
2 ================ |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
3 |
336
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
4 Upgrading from Genshi 0.3.x to 0.4.x |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
5 ------------------------------------ |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
6 |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
7 The `genshi.template` module has been refactored into a package with |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
8 multiple modules. While code using the normal templating APIs should |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
9 continue to work without problems, you should make sure to remove any |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
10 leftover traces of the `template.py` file on the installation path. |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
11 This is not necessary when Genshi was installed as a Python egg. |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
12 |
5f2c7782cd8a
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents:
233
diff
changeset
|
13 |
233
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
14 Upgrading from Markup |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
15 --------------------- |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
16 |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
17 Prior to version 0.3, the name of the Genshi project was "Markup". The |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
18 name change means that you will have to adjust your import statements |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
19 and the namespace URI of XML templates, among other things: |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
20 |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
21 * The package name was changed from "markup" to "genshi". Please |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
22 adjust any import statements referring to the old package name. |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
23 * The namespace URI for directives in Genshi XML templates has changed |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
24 from http://markup.edgewall.org/ to http://genshi.edgewall.org/. |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
25 Please update the xmlns:py declaration in your template files |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
26 accordingly. |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
27 |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
28 Furthermore, due to the inclusion of a text-based template language, |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
29 the class: |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
30 |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
31 `markup.template.Template` |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
32 |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
33 has been renamed to: |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
34 |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
35 `markup.template.MarkupTemplate` |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
36 |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
37 If you've been using the Template class directly, you'll need to |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
38 update your code (a simple find/replace should do--the API itself |
7a426ab6407a
* Added implementation of a simple text-based template engine. Closes #47.
cmlenz
parents:
diff
changeset
|
39 did not change). |